From 1484a13bf2f2398236d51f33bb8311db9b9920c5 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 4 Mar 2014 11:40:07 +0000 Subject: fixed 'eject' button function git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4118 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/uihelper.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/qmmpui/uihelper.h') 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 * @@ -94,6 +94,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 @@ -167,6 +174,8 @@ signals: private slots: void removeAction(QObject *action); + void playSelectedFiles(const QStringList &files); + void disconnectPl(); private: QMap m_generals; @@ -176,6 +185,7 @@ private: QPointer m_playlistMenu; QString m_lastDir; QPointer m_jumpDialog; + PlayListModel *m_model; static UiHelper* m_instance; }; -- cgit v1.2.3-13-gbd6f