Replace signals with Q_SIGNALS
This commit is contained in:
@@ -49,7 +49,7 @@ class QobuzFavoriteRequest : public QobuzBaseRequest {
|
||||
Songs
|
||||
};
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void ArtistsAdded(const SongList &songs);
|
||||
void AlbumsAdded(const SongList &songs);
|
||||
void SongsAdded(const SongList &songs);
|
||||
|
||||
@@ -98,7 +98,7 @@ class QobuzRequest : public QobuzBaseRequest {
|
||||
QString filename;
|
||||
};
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void LoginSuccess();
|
||||
void LoginFailure(const QString &failure_reason);
|
||||
void Results(const int id, const SongMap &songs, const QString &error);
|
||||
|
||||
@@ -53,7 +53,7 @@ class QobuzStreamURLRequest : public QobuzBaseRequest {
|
||||
int song_id() const { return song_id_; }
|
||||
bool need_login() const { return need_login_; }
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void TryLogin();
|
||||
void StreamURLFailure(const uint id, const QUrl &media_url, const QString &error);
|
||||
void StreamURLSuccess(const uint id, const QUrl &media_url, const QUrl &stream_url, const Song::FileType filetype, const int samplerate, const int bit_depth, const qint64 duration);
|
||||
|
||||
Reference in New Issue
Block a user