summaryrefslogtreecommitdiffstats
path: root/noatun/library/pluginloader.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
commitb1057f437bf65300831a0ccb45b920787c6b318d (patch)
treef8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /noatun/library/pluginloader.cpp
parent4ddfca384ced9ad654213aef9dc2c3973720b980 (diff)
downloadtdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz
tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/library/pluginloader.cpp')
-rw-r--r--noatun/library/pluginloader.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/noatun/library/pluginloader.cpp b/noatun/library/pluginloader.cpp
index 0897e76d..032761a0 100644
--- a/noatun/library/pluginloader.cpp
+++ b/noatun/library/pluginloader.cpp
@@ -81,7 +81,7 @@ bool LibraryLoader::loadAll(const TQStringList &modules)
for(TQStringList::ConstIterator i=modules.begin(); i!=modules.end(); ++i)
{
NoatunLibraryInfo info=getInfo(*i);
- if (!info.type.contains("sm"))
+ if (!info.type.tqcontains("sm"))
continue;
loadSO(*i);
}
@@ -90,7 +90,7 @@ bool LibraryLoader::loadAll(const TQStringList &modules)
for(TQStringList::ConstIterator i=modules.begin(); i!=modules.end(); ++i)
{
NoatunLibraryInfo info=getInfo(*i);
- if (!info.type.contains("playlist"))
+ if (!info.type.tqcontains("playlist"))
continue;
loadSO(*i);
}
@@ -106,7 +106,7 @@ bool LibraryLoader::loadAll(const TQStringList &modules)
for(TQStringList::ConstIterator i=modules.begin(); i!=modules.end(); ++i)
{
NoatunLibraryInfo info=getInfo(*i);
- if (!info.type.contains("userinterface"))
+ if (!info.type.tqcontains("userinterface"))
continue;
loadSO(*i);
}
@@ -121,9 +121,9 @@ bool LibraryLoader::loadAll(const TQStringList &modules)
for(TQStringList::ConstIterator i=modules.begin(); i!=modules.end(); ++i)
{
NoatunLibraryInfo info=getInfo(*i);
- if((!info.type.contains("playlist"))
- && (!info.type.contains("userinterface"))
- && (!info.type.contains("sm")))
+ if((!info.type.tqcontains("playlist"))
+ && (!info.type.tqcontains("userinterface"))
+ && (!info.type.tqcontains("sm")))
{
loadSO(*i);
}
@@ -139,7 +139,7 @@ NoatunLibraryInfo LibraryLoader::getInfo(const TQString &spec) const
if (!TQFile::exists(specPath))
return info;
KSimpleConfig file(specPath);
- if (spec.find('/')>=0)
+ if (spec.tqfind('/')>=0)
info.specfile=KURL(spec).fileName();
else
info.specfile=spec;
@@ -197,7 +197,7 @@ bool LibraryLoader::loadSO(const TQString &spec)
plugInStart=(Plugin* (*)()) create;
listitem->plugin=plugInStart();
- if (info.type.contains("playlist"))
+ if (info.type.tqcontains("playlist"))
{
//kdDebug(66666) << k_funcinfo << "Assigning mPlaylist to " << info.name << endl;
mPlaylist=listitem->plugin->playlist();
@@ -329,7 +329,7 @@ TQValueList<NoatunLibraryInfo> LibraryLoader::loadedByType(const TQString &type)
if (isLoaded(i.currentKey()))
{
NoatunLibraryInfo info = getInfo(i.currentKey());
- if (info.type.contains(type))
+ if (info.type.tqcontains(type))
items.append(info);
}
}