diff options
Diffstat (limited to 'noatun/modules/splitplaylist/view.cpp')
-rw-r--r-- | noatun/modules/splitplaylist/view.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/noatun/modules/splitplaylist/view.cpp b/noatun/modules/splitplaylist/view.cpp index f1874f3a..97ccca20 100644 --- a/noatun/modules/splitplaylist/view.cpp +++ b/noatun/modules/splitplaylist/view.cpp @@ -288,7 +288,7 @@ void SafeListViewItem::stateChange(bool s) TQPtrList<TQListViewItem> list=SPL->view->listView()->selectedItems(); // but not if I'm not selected - if (list.tqcontainsRef(this)) + if (list.containsRef(this)) for (TQListViewItem *i=list.first(); i != 0; i=list.next()) static_cast<TQCheckListItem*>(i)->setOn(s); else @@ -647,7 +647,7 @@ View::View(SplitPlaylist *) mDelete=new KAction(i18n("Delete"), "editdelete", Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(deleteSelected()), actionCollection(), "delete"); mClose=KStdAction::close(TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection()); - mFind=KStdAction::find(TQT_TQOBJECT(this), TQT_SLOT(tqfind()), actionCollection()); + mFind=KStdAction::find(TQT_TQOBJECT(this), TQT_SLOT(find()), actionCollection()); (void) KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(configureToolBars()), actionCollection()); mOpenNew=KStdAction::openNew(TQT_TQOBJECT(this), TQT_SLOT(openNew()), actionCollection()); @@ -666,7 +666,7 @@ View::View(SplitPlaylist *) list->setFocus(); } -void View::tqfind() +void View::find() { mFinder->show(); connect(mFinder, TQT_SIGNAL(search(Finder*)), TQT_SLOT(findIt(Finder*))); @@ -675,15 +675,15 @@ void View::tqfind() static bool testWord(TQListViewItem *i, const TQString &finder) { PlaylistItemData *item=static_cast<SafeListViewItem*>(i); - if (item->title().tqfind(finder, 0, false) >=0) + if (item->title().find(finder, 0, false) >=0) return true; - if (item->file().tqfind(finder, 0, false) >=0) + if (item->file().find(finder, 0, false) >=0) return true; - if (item->url().path().tqfind(finder.local8Bit().data(), 0, false) >=0) + if (item->url().path().find(finder.local8Bit().data(), 0, false) >=0) return true; - if (item->lengthString().tqfind(finder, 0, false) >=0) + if (item->lengthString().find(finder, 0, false) >=0) return true; - if (item->mimetype().tqfind(finder.local8Bit().data(), 0, false) >=0) + if (item->mimetype().find(finder.local8Bit().data(), 0, false) >=0) return true; return false; } @@ -691,15 +691,15 @@ static bool testWord(TQListViewItem *i, const TQString &finder) static bool testWord(TQListViewItem *i, const TQRegExp &finder) { PlaylistItemData *item=static_cast<SafeListViewItem*>(i); - if (item->title().tqfind(finder) >=0) + if (item->title().find(finder) >=0) return true; - if (item->file().tqfind(finder) >=0) + if (item->file().find(finder) >=0) return true; - if (item->url().path().tqfind(finder) >=0) + if (item->url().path().find(finder) >=0) return true; - if (item->lengthString().tqfind(finder) >=0) + if (item->lengthString().find(finder) >=0) return true; - if (item->mimetype().tqfind(finder) >=0) + if (item->mimetype().find(finder) >=0) return true; return false; } |