diff options
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/baseexternallibraryfeature.h | 6 | ||||
-rw-r--r-- | src/library/baseplaylistfeature.h | 8 | ||||
-rw-r--r-- | src/library/recording/recordingfeature.h | 6 | ||||
-rw-r--r-- | src/library/rekordbox/rekordboxfeature.h | 8 | ||||
-rw-r--r-- | src/library/traktor/traktorfeature.h | 8 |
5 files changed, 18 insertions, 18 deletions
diff --git a/src/library/baseexternallibraryfeature.h b/src/library/baseexternallibraryfeature.h index c8a09ac461..8b944e1fa0 100644 --- a/src/library/baseexternallibraryfeature.h +++ b/src/library/baseexternallibraryfeature.h @@ -20,9 +20,9 @@ class BaseExternalLibraryFeature : public LibraryFeature { ~BaseExternalLibraryFeature() override; public slots: - virtual void bindSidebarWidget(WLibrarySidebar* pSidebarWidget); - virtual void onRightClick(const QPoint& globalPos); - virtual void onRightClickChild(const QPoint& globalPos, QModelIndex index); + virtual void bindSidebarWidget(WLibrarySidebar* pSidebarWidget) override; + virtual void onRightClick(const QPoint& globalPos) override; + virtual void onRightClickChild(const QPoint& globalPos, QModelIndex index) override; protected: // Must be implemented by external Libraries copied to Mixxx DB diff --git a/src/library/baseplaylistfeature.h b/src/library/baseplaylistfeature.h index 415f45e7b5..5915eb25ee 100644 --- a/src/library/baseplaylistfeature.h +++ b/src/library/baseplaylistfeature.h @@ -29,18 +29,18 @@ class BasePlaylistFeature : public LibraryFeature { const QString& rootViewName); ~BasePlaylistFeature() override = default; - TreeItemModel* getChildModel(); + TreeItemModel* getChildModel() override; void bindLibraryWidget(WLibrary* libraryWidget, - KeyboardEventFilter* keyboard); + KeyboardEventFilter* keyboard) override; signals: void showPage(const QUrl& page); void analyzeTracks(QList<TrackId>); public slots: - virtual void activate(); - virtual void activateChild(const QModelIndex& index); + virtual void activate() override; + virtual void activateChild(const QModelIndex& index) override; virtual void activatePlaylist(int playlistId); virtual void htmlLinkClicked(const QUrl& link); diff --git a/src/library/recording/recordingfeature.h b/src/library/recording/recordingfeature.h index 732f0664c5..2fb8234f73 100644 --- a/src/library/recording/recordingfeature.h +++ b/src/library/recording/recordingfeature.h @@ -27,12 +27,12 @@ class RecordingFeature final : public LibraryFeature { QIcon getIcon() override; void bindLibraryWidget(WLibrary* libraryWidget, - KeyboardEventFilter* keyboard); + KeyboardEventFilter* keyboard) override; - TreeItemModel* getChildModel(); + TreeItemModel* getChildModel() override; public slots: - void activate(); + void activate() override; signals: void setRootIndex(const QModelIndex&); diff --git a/src/library/rekordbox/rekordboxfeature.h b/src/library/rekordbox/rekordboxfeature.h index c56a4b2b03..bd08b24d23 100644 --- a/src/library/rekordbox/rekordboxfeature.h +++ b/src/library/rekordbox/rekordboxfeature.h @@ -52,7 +52,7 @@ class RekordboxPlaylistModel : public BaseExternalPlaylistModel { bool isColumnHiddenByDefault(int column) override; protected: - virtual void initSortColumnMapping(); + virtual void initSortColumnMapping() override; }; class RekordboxFeature : public BaseExternalLibraryFeature { @@ -67,11 +67,11 @@ class RekordboxFeature : public BaseExternalLibraryFeature { void bindLibraryWidget(WLibrary* libraryWidget, KeyboardEventFilter* keyboard) override; - TreeItemModel* getChildModel(); + TreeItemModel* getChildModel() override; public slots: - void activate(); - void activateChild(const QModelIndex& index); + void activate() override; + void activateChild(const QModelIndex& index) override; void refreshLibraryModels(); void onRekordboxDevicesFound(); void onTracksFound(); diff --git a/src/library/traktor/traktorfeature.h b/src/library/traktor/traktorfeature.h index d4ee70d61e..081e1847fd 100644 --- a/src/library/traktor/traktorfeature.h +++ b/src/library/traktor/traktorfeature.h @@ -42,16 +42,16 @@ class TraktorFeature : public BaseExternalLibraryFeature { QIcon getIcon() override; static bool isSupported(); - TreeItemModel* getChildModel(); + TreeItemModel* getChildModel() override; public slots: - void activate(); - void activateChild(const QModelIndex& index); + void activate() override; + void activateChild(const QModelIndex& index) override; void refreshLibraryModels(); void onTrackCollectionLoaded(); private: - virtual BaseSqlTableModel* getPlaylistModelForPlaylist(QString playlist); + virtual BaseSqlTableModel* getPlaylistModelForPlaylist(QString playlist) override; TreeItem* importLibrary(QString file); // parses a track in the music collection void parseTrack(QXmlStreamReader &xml, QSqlQuery &query); |