diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-03-04 11:40:07 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-03-04 11:40:07 +0000 |
| commit | 1484a13bf2f2398236d51f33bb8311db9b9920c5 (patch) | |
| tree | 5644efc460ef00790b83e52148e49a1cd32adc30 /src/qmmpui/uihelper.h | |
| parent | c3972ebea91d079c1effd76788143011841d9e46 (diff) | |
| download | qmmp-1484a13bf2f2398236d51f33bb8311db9b9920c5.tar.gz qmmp-1484a13bf2f2398236d51f33bb8311db9b9920c5.tar.bz2 qmmp-1484a13bf2f2398236d51f33bb8311db9b9920c5.zip | |
fixed 'eject' button function
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4118 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/uihelper.h')
| -rw-r--r-- | src/qmmpui/uihelper.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/qmmpui/uihelper.h b/src/qmmpui/uihelper.h index f3fc2c2a9..bec1f4a10 100644 --- a/src/qmmpui/uihelper.h +++ b/src/qmmpui/uihelper.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2012 by Ilya Kotov * + * Copyright (C) 2008-2014 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -95,6 +95,13 @@ public: void addFile(QWidget *parent = qApp->activeWindow(), PlayListModel *model = PlayListManager::instance()->selectedPlayList()); /*! + * Opens 'Play Files' dialog + * @param parent Parent widget + * @param model Destination playlist model + */ + void playFiles(QWidget *parent = qApp->activeWindow(), + PlayListModel *model = PlayListManager::instance()->selectedPlayList()); + /*! * Opens 'Add Directory' dialog * @param parent Parent widget * @param model Destination playlist model @@ -167,6 +174,8 @@ signals: private slots: void removeAction(QObject *action); + void playSelectedFiles(const QStringList &files); + void disconnectPl(); private: QMap <GeneralFactory*, General*> m_generals; @@ -176,6 +185,7 @@ private: QPointer<QMenu> m_playlistMenu; QString m_lastDir; QPointer <JumpToTrackDialog> m_jumpDialog; + PlayListModel *m_model; static UiHelper* m_instance; }; |
