summaryrefslogtreecommitdiffstats
path: root/src/library/playlisttablemodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/playlisttablemodel.h')
-rw-r--r--src/library/playlisttablemodel.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/library/playlisttablemodel.h b/src/library/playlisttablemodel.h
index 18fa3320be..89ec344d19 100644
--- a/src/library/playlisttablemodel.h
+++ b/src/library/playlisttablemodel.h
@@ -2,14 +2,13 @@
#define PLAYLISTTABLEMODEL_H
#include "library/basesqltablemodel.h"
-#include "library/dao/playlistdao.h"
class PlaylistTableModel : public BaseSqlTableModel {
Q_OBJECT
public:
- PlaylistTableModel(QObject* parent, TrackCollection* pTrackCollection,
+ PlaylistTableModel(QObject* parent, TrackCollectionManager* pTrackCollectionManager,
const char* settingsNamespace, bool showAll = false);
- ~PlaylistTableModel() final;
+ ~PlaylistTableModel() final = default;
void setTableModel(int playlistId = -1);
int getPlaylist() const {
@@ -18,7 +17,7 @@ class PlaylistTableModel : public BaseSqlTableModel {
bool appendTrack(TrackId trackId);
void moveTrack(const QModelIndex& sourceIndex,
- const QModelIndex& destIndex);
+ const QModelIndex& destIndex) override;
void removeTrack(const QModelIndex& index);
void shuffleTracks(const QModelIndexList& shuffle, const QModelIndex& exclude);