diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2021-01-16 15:52:48 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2021-01-16 15:52:48 +0000 |
| commit | 886f9be488970798b2725ad2e9ddf26b5cadee07 (patch) | |
| tree | ed8c11574352818cafb69139f111c65110f2763b /src/plugins/General/library/librarymodel.h | |
| parent | e336a9c15821384f6a45c3ef76bc133c133e35e5 (diff) | |
| download | qmmp-886f9be488970798b2725ad2e9ddf26b5cadee07.tar.gz qmmp-886f9be488970798b2725ad2e9ddf26b5cadee07.tar.bz2 qmmp-886f9be488970798b2725ad2e9ddf26b5cadee07.zip | |
library: add context menu
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9639 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/library/librarymodel.h')
| -rw-r--r-- | src/plugins/General/library/librarymodel.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/General/library/librarymodel.h b/src/plugins/General/library/librarymodel.h index f1d604b38..5ba99d936 100644 --- a/src/plugins/General/library/librarymodel.h +++ b/src/plugins/General/library/librarymodel.h @@ -26,6 +26,7 @@ #include <QUrl> #include <QAbstractItemModel> +class QWidget; class QSqlDatabase; class LibraryTreeItem; class PlayListTrack; @@ -50,7 +51,8 @@ public: int rowCount(const QModelIndex &parent = QModelIndex()) const override; void setFilter(const QString &filter); void refresh(); - + void add(const QModelIndexList &indexes); + void showInformation(const QModelIndexList &indexes, QWidget *parent); private: QList<PlayListTrack *> getTracks(const QModelIndex &index) const; |
