Replace signals with Q_SIGNALS
This commit is contained in:
@@ -85,7 +85,7 @@ class AudioScrobbler : public QObject {
|
||||
void Love();
|
||||
void WriteCache();
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void ErrorMessage(const QString &error);
|
||||
|
||||
private:
|
||||
|
||||
@@ -80,7 +80,7 @@ class LastFMImport : public QObject {
|
||||
|
||||
void FinishCheck();
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void UpdatePlayCount(const QString&, const QString&, const int, const bool = false);
|
||||
void UpdateLastPlayed(const QString&, const QString&, const QString&, const qint64);
|
||||
void UpdateTotal(const int, const int);
|
||||
|
||||
@@ -77,7 +77,7 @@ class ListenBrainzScrobbler : public ScrobblerService {
|
||||
APIError
|
||||
};
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void AuthenticationComplete(const bool success, const QString &error = QString());
|
||||
|
||||
public slots:
|
||||
|
||||
@@ -70,7 +70,7 @@ class ScrobblerService : public QObject {
|
||||
virtual void Submit() = 0;
|
||||
virtual void WriteCache() = 0;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void ErrorMessage(const QString &error);
|
||||
|
||||
protected:
|
||||
|
||||
@@ -57,7 +57,7 @@ class ScrobblerSettings : public QObject {
|
||||
void ToggleOffline();
|
||||
void ErrorReceived(const QString &error);
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void ErrorMessage(const QString &error);
|
||||
void ScrobblingEnabledChanged(const bool value);
|
||||
void ScrobblingOfflineChanged(const bool value);
|
||||
|
||||
@@ -68,7 +68,7 @@ class ScrobblingAPI20 : public ScrobblerService {
|
||||
void Submit() override;
|
||||
void Love() override;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void AuthenticationComplete(const bool success, const QString &error = QString());
|
||||
|
||||
public slots:
|
||||
|
||||
Reference in New Issue
Block a user