diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-12-04 09:05:25 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-12-04 09:05:25 +0000 |
| commit | 03082b6a3b6190a14e17459a420a373f2fc1c3b5 (patch) | |
| tree | cdedd7803880b256a13fcc93927bb2dcb17ccb2b /src/qmmpui/playlistmodel.h | |
| parent | aa3f57c0236c77f2fd90415fc1f3062a93b25b93 (diff) | |
| download | qmmp-03082b6a3b6190a14e17459a420a373f2fc1c3b5.tar.gz qmmp-03082b6a3b6190a14e17459a420a373f2fc1c3b5.tar.bz2 qmmp-03082b6a3b6190a14e17459a420a373f2fc1c3b5.zip | |
mpris 2.0 support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1992 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistmodel.h')
| -rw-r--r-- | src/qmmpui/playlistmodel.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h index b44270758..3e4c1219d 100644 --- a/src/qmmpui/playlistmodel.h +++ b/src/qmmpui/playlistmodel.h @@ -152,6 +152,11 @@ public: */ bool setCurrent (int row); /*! + * Sets current item to \b item. + * Returns \b true if success, otherwise returns \b false + */ + bool setCurrent(PlayListItem *item); + /*! * Returns \b true if \b row is selected, otherwise returns \b false */ bool isSelected(int row); @@ -263,6 +268,10 @@ public: */ bool isShuffle() const; /*! + * Returns \b true if the file loader thread is active; otherwise returns \b false. + */ + bool isLoaderRunning() const; + /*! * Returns \b true if the playlist contains an item with URL \b url; otherwise returns \b false. */ bool contains(const QString &url); @@ -290,9 +299,10 @@ signals: */ void currentChanged(); /*! - * Emitted when first item has added. + * Emitted when new item has added. + * @param name New playlist item pointer. */ - void firstAdded(); + void itemAdded(PlayListItem *item); /*! * Emitted when playlist name has chanded. * @param name New playlist name. |
