diff options
Diffstat (limited to 'noatun/library/pluginmodule.cpp')
-rw-r--r-- | noatun/library/pluginmodule.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/noatun/library/pluginmodule.cpp b/noatun/library/pluginmodule.cpp index 77047471..0cd47d6d 100644 --- a/noatun/library/pluginmodule.cpp +++ b/noatun/library/pluginmodule.cpp @@ -203,34 +203,34 @@ void Plugins::reopen() for(TQValueList<NoatunLibraryInfo>::Iterator i = available.begin(); i != available.end(); ++i) { - PluginListView *parent; + PluginListView *tqparent; bool exclusive = false; if((*i).type == "userinterface") { - parent = interfaceList; + tqparent = interfaceList; } else if((*i).type == "playlist") { - parent = playlistList; + tqparent = playlistList; exclusive = true; } else if((*i).type == "sm" || (*i).type=="hidden") { - parent = 0; + tqparent = 0; } else if ((*i).type == "visualization") { - parent = visList; + tqparent = visList; } else { - parent = otherList; + tqparent = otherList; } - if(parent) + if(tqparent) { - PluginListItem *item = new PluginListItem(exclusive, loaded.contains(*i), *i, parent); + PluginListItem *item = new PluginListItem(exclusive, loaded.tqcontains(*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.contains(info.specfile)) + if(mDeleted.tqcontains(info.specfile)) mDeleted.remove(info.specfile); - else if(!mAdded.contains(info.specfile)) + else if(!mAdded.tqcontains(info.specfile)) mAdded.append(info.specfile); } @@ -291,9 +291,9 @@ void Plugins::removePlugin(const NoatunLibraryInfo &info) } } - if (mAdded.contains(info.specfile)) + if (mAdded.tqcontains(info.specfile)) mAdded.remove(info.specfile); - else if(!mDeleted.contains(info.specfile)) + else if(!mDeleted.tqcontains(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.contains((*i).specfile) && loader.isLoaded((*i).specfile)) + if(!specList.tqcontains((*i).specfile) && loader.isLoaded((*i).specfile)) specList += (*i).specfile; } @@ -398,7 +398,7 @@ void Plugins::showEvent(TQShowEvent *e) if(!shown) { shown = true; - KMessageBox::information(this, i18n("<qt>Changing your playlist plugin will stop playback. Different playlists may use different methods of storing information, so after changing playlists you may have to recreate your playlist.</qt>"), TQString::null, "Plugin warning"); + KMessageBox::information(this, i18n("<qt>Changing your playlist plugin will stop playback. Different playlists may use different methods of storing information, so after changing playlists you may have to recreate your playlist.</qt>"), TQString(), "Plugin warning"); } CModule::showEvent(e); } |