Replace slots with Q_SLOTS
This commit is contained in:
@@ -79,7 +79,7 @@ class SpotifyBaseRequest : public QObject {
|
||||
|
||||
bool authenticated() const { return service_->authenticated(); }
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void HandleSSLErrors(const QList<QSslError> &ssl_errors);
|
||||
|
||||
private:
|
||||
|
||||
@@ -57,11 +57,11 @@ class SpotifyFavoriteRequest : public SpotifyBaseRequest {
|
||||
void AlbumsRemoved(SongList);
|
||||
void SongsRemoved(SongList);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void AddFavoritesReply(QNetworkReply *reply, const SpotifyFavoriteRequest::FavoriteType type, const SongList &songs);
|
||||
void RemoveFavoritesReply(QNetworkReply *reply, const SpotifyFavoriteRequest::FavoriteType type, const SongList &songs);
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void AddArtists(const SongList &songs);
|
||||
void AddAlbums(const SongList &songs);
|
||||
void AddSongs(const SongList &songs);
|
||||
|
||||
@@ -99,7 +99,7 @@ class SpotifyRequest : public SpotifyBaseRequest {
|
||||
void UpdateProgress(int id, int max);
|
||||
void StreamURLFinished(QUrl original_url, QUrl url, Song::FileType, QString error = QString());
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void FlushRequests();
|
||||
|
||||
void ArtistsReplyReceived(QNetworkReply *reply, const int limit_requested, const int offset_requested);
|
||||
|
||||
@@ -95,7 +95,7 @@ class SpotifyService : public StreamingService {
|
||||
CollectionFilter *albums_collection_filter_model() override { return albums_collection_model_->filter(); }
|
||||
CollectionFilter *songs_collection_filter_model() override { return songs_collection_model_->filter(); }
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void ShowConfig() override;
|
||||
void Authenticate();
|
||||
void Deauthenticate();
|
||||
@@ -106,7 +106,7 @@ class SpotifyService : public StreamingService {
|
||||
void ResetAlbumsRequest() override;
|
||||
void ResetSongsRequest() override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void ExitReceived();
|
||||
void RedirectArrived();
|
||||
void RequestNewAccessToken() { RequestAccessToken(); }
|
||||
|
||||
Reference in New Issue
Block a user