diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-12-14 14:39:02 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-12-14 14:39:02 +0000 |
| commit | 7f928395e907e0095e44da0a0998347dd689205f (patch) | |
| tree | 6f1703dd0fea4ccc52484cedb59e7108c74970d6 /src/qmmpui | |
| parent | fc9caa4c02a9b0a2f2dea075f8dad80d4c4d2797 (diff) | |
| download | qmmp-7f928395e907e0095e44da0a0998347dd689205f.tar.gz qmmp-7f928395e907e0095e44da0a0998347dd689205f.tar.bz2 qmmp-7f928395e907e0095e44da0a0998347dd689205f.zip | |
better mpris support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@683 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui')
| -rw-r--r-- | src/qmmpui/mediaplayer.cpp | 5 | ||||
| -rw-r--r-- | src/qmmpui/mediaplayer.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/qmmpui/mediaplayer.cpp b/src/qmmpui/mediaplayer.cpp index d317473e8..311b195b9 100644 --- a/src/qmmpui/mediaplayer.cpp +++ b/src/qmmpui/mediaplayer.cpp @@ -56,6 +56,11 @@ void MediaPlayer::initialize(SoundCore *core, PlayListModel *model) connect(m_core, SIGNAL(finished()), SLOT(next())); } +PlayListModel *MediaPlayer::playListModel() +{ + return m_model; +} + void MediaPlayer::play() { m_model->doCurrentVisibleRequest(); diff --git a/src/qmmpui/mediaplayer.h b/src/qmmpui/mediaplayer.h index f1717360b..fefc42978 100644 --- a/src/qmmpui/mediaplayer.h +++ b/src/qmmpui/mediaplayer.h @@ -39,6 +39,7 @@ public: static MediaPlayer* instance(); void initialize(SoundCore *core, PlayListModel *model); + PlayListModel *playListModel(); public slots: void play(); |
