summaryrefslogtreecommitdiffstats
path: root/kded/kbuildimageiofactory.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 /kded/kbuildimageiofactory.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 'kded/kbuildimageiofactory.cpp')
-rw-r--r--kded/kbuildimageiofactory.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kded/kbuildimageiofactory.cpp b/kded/kbuildimageiofactory.cpp
index 933ac338a..a0a3ce76e 100644
--- a/kded/kbuildimageiofactory.cpp
+++ b/kded/kbuildimageiofactory.cpp
@@ -38,9 +38,9 @@ KBuildImageIOFactory::KBuildImageIOFactory() :
// return all service types for this factory
// i.e. first arguments to m_resourceList->add() above
-QStringList KBuildImageIOFactory::resourceTypes()
+TQStringList KBuildImageIOFactory::resourceTypes()
{
- return QStringList() << "services";
+ return TQStringList() << "services";
}
KBuildImageIOFactory::~KBuildImageIOFactory()
@@ -49,9 +49,9 @@ KBuildImageIOFactory::~KBuildImageIOFactory()
}
KSycocaEntry *
-KBuildImageIOFactory::createEntry( const QString& file, const char *resource )
+KBuildImageIOFactory::createEntry( const TQString& file, const char *resource )
{
- QString fullPath = locate( resource, file);
+ TQString fullPath = locate( resource, file);
KImageIOFormat *format = new KImageIOFormat(fullPath);
return format;
@@ -87,7 +87,7 @@ KBuildImageIOFactory::addEntry(KSycocaEntry *newEntry, const char *resource)
void
-KBuildImageIOFactory::saveHeader(QDataStream &str)
+KBuildImageIOFactory::saveHeader(TQDataStream &str)
{
KSycocaFactory::saveHeader(str);
@@ -95,15 +95,15 @@ KBuildImageIOFactory::saveHeader(QDataStream &str)
}
void
-KBuildImageIOFactory::save(QDataStream &str)
+KBuildImageIOFactory::save(TQDataStream &str)
{
rPath.sort();
// Remove duplicates from rPath:
- QString last;
- for(QStringList::Iterator it = rPath.begin();
+ TQString last;
+ for(TQStringList::Iterator it = rPath.begin();
it != rPath.end(); )
{
- QStringList::Iterator it2 = it++;
+ TQStringList::Iterator it2 = it++;
if (*it2 == last)
{
// remove duplicate