Replace slots with Q_SLOTS
This commit is contained in:
@@ -70,7 +70,7 @@ class SubsonicBaseRequest : public QObject {
|
||||
bool verify_certificate() const { return service_->verify_certificate(); }
|
||||
bool download_album_covers() const { return service_->download_album_covers(); }
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void HandleSSLErrors(const QList<QSslError> &ssl_errors);
|
||||
|
||||
private:
|
||||
|
||||
@@ -83,7 +83,7 @@ class SubsonicRequest : public SubsonicBaseRequest {
|
||||
void ProgressSetMaximum(const int max);
|
||||
void UpdateProgress(const int progress);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void AlbumsReplyReceived(QNetworkReply *reply, const int offset_requested, const int size_requested);
|
||||
void AlbumSongsReplyReceived(QNetworkReply *reply, const QString &artist_id, const QString &album_id, const QString &album_artist);
|
||||
void AlbumCoverReceived(QNetworkReply *reply, const AlbumCoverRequest &request);
|
||||
|
||||
@@ -49,7 +49,7 @@ class SubsonicScrobbleRequest : public SubsonicBaseRequest {
|
||||
|
||||
void CreateScrobbleRequest(const QString &song_id, const bool submission, const QDateTime &start_time);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void ScrobbleReplyReceived(QNetworkReply *reply);
|
||||
|
||||
private:
|
||||
|
||||
@@ -87,7 +87,7 @@ class SubsonicService : public StreamingService {
|
||||
void CheckConfiguration();
|
||||
void Scrobble(const QString &song_id, const bool submission, const QDateTime &time);
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void ShowConfig() override;
|
||||
void SendPing();
|
||||
void SendPingWithCredentials(QUrl url, const QString &username, const QString &password, const SubsonicSettingsPage::AuthMethod auth_method, const bool redirect = false);
|
||||
@@ -95,7 +95,7 @@ class SubsonicService : public StreamingService {
|
||||
void DeleteSongs();
|
||||
void ResetSongsRequest() override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void HandlePingSSLErrors(const QList<QSslError> &ssl_errors);
|
||||
void HandlePingReply(QNetworkReply *reply, const QUrl &url, const QString &username, const QString &password, const SubsonicSettingsPage::AuthMethod auth_method);
|
||||
void SongsResultsReceived(const SongMap &songs, const QString &error);
|
||||
|
||||
Reference in New Issue
Block a user