Replace slots with Q_SLOTS
This commit is contained in:
@@ -72,7 +72,7 @@ class StreamingCollectionView : public AutoExpandingTreeView {
|
||||
int TotalArtists() const;
|
||||
int TotalAlbums() const;
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void TotalSongCountUpdated(int count);
|
||||
void TotalArtistCountUpdated(int count);
|
||||
void TotalAlbumCountUpdated(int count);
|
||||
@@ -97,7 +97,7 @@ class StreamingCollectionView : public AutoExpandingTreeView {
|
||||
void mouseReleaseEvent(QMouseEvent *e) override;
|
||||
void contextMenuEvent(QContextMenuEvent *e) override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void Load();
|
||||
void AddToPlaylist();
|
||||
void AddToPlaylistEnqueue();
|
||||
|
||||
@@ -58,7 +58,7 @@ class StreamingCollectionViewContainer : public QWidget {
|
||||
QLabel *status() const { return ui_->status; }
|
||||
QProgressBar *progressbar() const { return ui_->progressbar; }
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void contextMenuEvent(QContextMenuEvent *e) override;
|
||||
|
||||
private:
|
||||
|
||||
@@ -78,7 +78,7 @@ class StreamingSearchModel : public QStandardItemModel {
|
||||
// The implementation creates a SongMimeData with one Song for each Result.
|
||||
MimeData *LoadTracks(const StreamingSearchView::ResultList &results) const;
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void AddResults(const StreamingSearchView::ResultList &results);
|
||||
|
||||
private:
|
||||
|
||||
@@ -142,7 +142,7 @@ class StreamingSearchView : public QWidget {
|
||||
void AddAlbumsSignal(const SongList &songs);
|
||||
void AddSongsSignal(const SongList &songs);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void SwapModels();
|
||||
void TextEdited(const QString &text);
|
||||
void StartSearch(const QString &query);
|
||||
@@ -173,7 +173,7 @@ class StreamingSearchView : public QWidget {
|
||||
|
||||
void AlbumCoverLoaded(const quint64 id, const AlbumCoverLoaderResult &albumcover_result);
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void ReloadSettings();
|
||||
|
||||
private:
|
||||
|
||||
@@ -73,7 +73,7 @@ class StreamingService : public QObject {
|
||||
virtual CollectionFilter *albums_collection_filter_model() { return nullptr; }
|
||||
virtual CollectionFilter *songs_collection_filter_model() { return nullptr; }
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
virtual void ShowConfig() {}
|
||||
virtual void GetArtists() {}
|
||||
virtual void GetAlbums() {}
|
||||
|
||||
@@ -58,7 +58,7 @@ class StreamingServices : public QObject {
|
||||
Q_SIGNALS:
|
||||
void ExitFinished();
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void ExitReceived();
|
||||
|
||||
private:
|
||||
|
||||
@@ -52,7 +52,7 @@ class StreamingSongsView : public QWidget {
|
||||
bool SearchFieldHasFocus() const { return ui_->filter_widget->SearchFieldHasFocus(); }
|
||||
void FocusSearchField() { ui_->filter_widget->FocusSearchField(); }
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void OpenSettingsDialog();
|
||||
void GetSongs();
|
||||
void AbortGetSongs();
|
||||
|
||||
@@ -57,7 +57,7 @@ class StreamingTabsView : public QWidget {
|
||||
bool SearchFieldHasFocus() const;
|
||||
void FocusSearchField();
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void OpenSettingsDialog();
|
||||
void GetArtists();
|
||||
void GetAlbums();
|
||||
|
||||
Reference in New Issue
Block a user