diff options
Diffstat (limited to 'noatun/library/pluginmodule.cpp')
-rw-r--r-- | noatun/library/pluginmodule.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/noatun/library/pluginmodule.cpp b/noatun/library/pluginmodule.cpp index 0cd47d6d..fb57f39b 100644 --- a/noatun/library/pluginmodule.cpp +++ b/noatun/library/pluginmodule.cpp @@ -230,7 +230,7 @@ void Plugins::reopen() if(tqparent) { - PluginListItem *item = new PluginListItem(exclusive, loaded.tqcontains(*i), *i, tqparent); + PluginListItem *item = new PluginListItem(exclusive, loaded.contains(*i), *i, tqparent); item->setText(0, (*i).name); item->setText(1, (*i).comment); item->setText(2, (*i).author); @@ -257,9 +257,9 @@ void Plugins::addPlugin(const NoatunLibraryInfo &info) if(item) item->setOn(true); } - if(mDeleted.tqcontains(info.specfile)) + if(mDeleted.contains(info.specfile)) mDeleted.remove(info.specfile); - else if(!mAdded.tqcontains(info.specfile)) + else if(!mAdded.contains(info.specfile)) mAdded.append(info.specfile); } @@ -291,9 +291,9 @@ void Plugins::removePlugin(const NoatunLibraryInfo &info) } } - if (mAdded.tqcontains(info.specfile)) + if (mAdded.contains(info.specfile)) mAdded.remove(info.specfile); - else if(!mDeleted.tqcontains(info.specfile)) + else if(!mDeleted.contains(info.specfile)) mDeleted.append(info.specfile); } @@ -382,7 +382,7 @@ void Plugins::save() TQValueList<NoatunLibraryInfo> loaded = loader.loaded(); for(TQValueList<NoatunLibraryInfo>::Iterator i = loaded.begin(); i != loaded.end(); ++i) { - if(!specList.tqcontains((*i).specfile) && loader.isLoaded((*i).specfile)) + if(!specList.contains((*i).specfile) && loader.isLoaded((*i).specfile)) specList += (*i).specfile; } |