summaryrefslogtreecommitdiffstats
path: root/kdecore/kmimesourcefactory.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdecore/kmimesourcefactory.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kmimesourcefactory.cpp')
-rw-r--r--kdecore/kmimesourcefactory.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kdecore/kmimesourcefactory.cpp b/kdecore/kmimesourcefactory.cpp
index a74d69fc8..37745d398 100644
--- a/kdecore/kmimesourcefactory.cpp
+++ b/kdecore/kmimesourcefactory.cpp
@@ -45,7 +45,7 @@ public:
};
KMimeSourceFactory::KMimeSourceFactory (KIconLoader* loader)
- : QMimeSourceFactory (),
+ : TQMimeSourceFactory (),
d (new KMimeSourceFactoryPrivate (loader))
{
}
@@ -55,10 +55,10 @@ KMimeSourceFactory::~KMimeSourceFactory()
delete d;
}
-QString KMimeSourceFactory::makeAbsolute (const QString& absOrRelName, const QString& context) const
+TQString KMimeSourceFactory::makeAbsolute (const TQString& absOrRelName, const TQString& context) const
{
- QString myName;
- QString myContext;
+ TQString myName;
+ TQString myContext;
const int pos = absOrRelName.find ('|');
if (pos > -1)
@@ -67,7 +67,7 @@ QString KMimeSourceFactory::makeAbsolute (const QString& absOrRelName, const QSt
myName = absOrRelName.right (absOrRelName.length() - myContext.length() - 1);
}
- QString result;
+ TQString result;
if (myContext == "desktop")
{
@@ -91,7 +91,7 @@ QString KMimeSourceFactory::makeAbsolute (const QString& absOrRelName, const QSt
}
if (result.isEmpty())
- result = QMimeSourceFactory::makeAbsolute (absOrRelName, context);
+ result = TQMimeSourceFactory::makeAbsolute (absOrRelName, context);
return result;
}