Replace slots with Q_SLOTS
This commit is contained in:
@@ -64,7 +64,7 @@ class OSDBase : public QObject {
|
||||
|
||||
QString app_name() { return app_name_; }
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void ReloadSettings();
|
||||
|
||||
void SongChanged(const Song &song);
|
||||
@@ -91,7 +91,7 @@ class OSDBase : public QObject {
|
||||
QString ReplaceMessage(const MessageType type, const QString &message, const Song &song);
|
||||
virtual void ShowMessageNative(const QString &summary, const QString &message, const QString &icon = QString(), const QImage &image = QImage());
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void AlbumCoverLoaded(const Song &song, const QUrl &cover_url, const QImage &image);
|
||||
|
||||
private:
|
||||
|
||||
@@ -58,7 +58,7 @@ class OSDDBus : public OSDBase {
|
||||
void Init();
|
||||
void ShowMessageNative(const QString &summary, const QString &message, const QString &icon = QString(), const QImage &image = QImage()) override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void CallFinished(QDBusPendingCallWatcher *watcher);
|
||||
|
||||
private:
|
||||
|
||||
@@ -109,7 +109,7 @@ class OSDPretty : public QWidget {
|
||||
Q_SIGNALS:
|
||||
void PositionChanged();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void ReloadSettings();
|
||||
|
||||
protected:
|
||||
@@ -131,7 +131,7 @@ class OSDPretty : public QWidget {
|
||||
|
||||
QRect BoxBorder() const;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void FaderValueChanged(const qreal value);
|
||||
void FaderFinished();
|
||||
void ScreenAdded(QScreen *screen);
|
||||
|
||||
Reference in New Issue
Block a user