From 43bf74b188eec00b88435e68567da94e14cb3f5e Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 27 Jul 2009 13:24:37 +0000 Subject: added 'remove invalid files' action' git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1084 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/playlistmodel.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/qmmpui/playlistmodel.h') diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h index b8a095a69..6b838f9c1 100644 --- a/src/qmmpui/playlistmodel.h +++ b/src/qmmpui/playlistmodel.h @@ -310,6 +310,10 @@ public slots: * Removes items with \b i index. */ void removeAt (int i); + /*! + * Removes item \b item from playlist + */ + void removeItem (PlayListItem *item); /*! * Inverts selection (selects unselected items and unselects selected items) */ @@ -417,6 +421,10 @@ public slots: * "%g" - genre, "%f" - file name, "%F" - full path, "%y" - year) */ void setFormat(const QString &format); + /*! + * Removes invalid items from playlist + */ + void clearInvalidItems(); private: /*! -- cgit v1.2.3-13-gbd6f