diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-05-01 16:27:15 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-05-01 16:27:15 +0000 |
| commit | 504ed66d956af915494254620170efb3323e287b (patch) | |
| tree | 6443da0d2ec66089bb47be3c3832a74050863ccb /src/plugins/General/history/historywindow.h | |
| parent | 5164118f6dfe46b6e5d5479a4b582f1f007a36a3 (diff) | |
| download | qmmp-504ed66d956af915494254620170efb3323e287b.tar.gz qmmp-504ed66d956af915494254620170efb3323e287b.tar.bz2 qmmp-504ed66d956af915494254620170efb3323e287b.zip | |
history: play song on double click (#993)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8821 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/history/historywindow.h')
| -rw-r--r-- | src/plugins/General/history/historywindow.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/General/history/historywindow.h b/src/plugins/General/history/historywindow.h index c1097884f..b922b1f12 100644 --- a/src/plugins/General/history/historywindow.h +++ b/src/plugins/General/history/historywindow.h @@ -31,6 +31,8 @@ namespace Ui { class HistoryWindow; } +class QTreeWidgetItem; + class HistoryWindow : public QWidget { Q_OBJECT @@ -44,7 +46,13 @@ private slots: void on_lastMonthButton_clicked(); void on_fromButton_clicked(); void on_toButton_clicked(); + void on_historyTreeWidget_itemDoubleClicked(QTreeWidgetItem *item, int); + void on_topSongsTreeWidget_itemDoubleClicked(QTreeWidgetItem *item, int); void onSortIndicatorChanged(int index, Qt::SortOrder order); + void playTrack(PlayListTrack *item); + void disconnectPl(); + + private: void loadHistory(); |
