Replace slots with Q_SLOTS

This commit is contained in:
Jonas Kvinge
2024-08-12 01:06:15 +02:00
parent f624b7a331
commit cbce9892d5
209 changed files with 277 additions and 277 deletions

View File

@@ -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:

View File

@@ -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:

View File

@@ -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);