From 7ed5723fd9d1826bf50e941e3e4f98da35af0d8a Mon Sep 17 00:00:00 2001 From: Martchus Date: Mon, 9 Mar 2020 18:46:08 +0100 Subject: [PATCH] Use Q_SIGNALS instead of signals --- dbquery/dbquery.h | 2 +- gui/notificationmodel.h | 2 +- gui/picturepreviewselection.h | 2 +- gui/tagedit.h | 2 +- gui/tageditorwidget.h | 2 +- gui/tagfieldedit.h | 2 +- renamingutility/renamingengine.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dbquery/dbquery.h b/dbquery/dbquery.h index c0684a9..8cd657b 100644 --- a/dbquery/dbquery.h +++ b/dbquery/dbquery.h @@ -74,7 +74,7 @@ public: virtual void abort(); virtual QUrl webUrl(const QModelIndex &index); -signals: +Q_SIGNALS: void resultsAvailable(); void coverAvailable(const QModelIndex &index); void lyricsAvailable(const QModelIndex &index); diff --git a/gui/notificationmodel.h b/gui/notificationmodel.h index 9cb531d..8932cc2 100644 --- a/gui/notificationmodel.h +++ b/gui/notificationmodel.h @@ -26,7 +26,7 @@ public: static const QIcon &errorIcon(); static const QIcon &debugIcon(); -signals: +Q_SIGNALS: public Q_SLOTS: diff --git a/gui/picturepreviewselection.h b/gui/picturepreviewselection.h index d2fa9c6..831af05 100644 --- a/gui/picturepreviewselection.h +++ b/gui/picturepreviewselection.h @@ -64,7 +64,7 @@ public Q_SLOTS: void convertSelected(); void setCoverButtonsHidden(bool hideCoverButtons); -signals: +Q_SIGNALS: void pictureChanged(); protected: diff --git a/gui/tagedit.h b/gui/tagedit.h index 0ec0047..b9b947a 100644 --- a/gui/tagedit.h +++ b/gui/tagedit.h @@ -55,7 +55,7 @@ public Q_SLOTS: void invalidate(); void setCoverButtonsHidden(bool hideCoverButtons); -signals: +Q_SIGNALS: void returnPressed(); private: diff --git a/gui/tageditorwidget.h b/gui/tageditorwidget.h index ab82000..c0c952d 100644 --- a/gui/tageditorwidget.h +++ b/gui/tageditorwidget.h @@ -79,7 +79,7 @@ public Q_SLOTS: void applySettingsFromDialog(); void addParsingNotificationLine(const QString &line); -signals: +Q_SIGNALS: /// \brief Emitted when loading the next file has been triggered. void nextFileSelected(); /// \brief Emitted to show a status message. diff --git a/gui/tagfieldedit.h b/gui/tagfieldedit.h index 617d75a..c29d988 100644 --- a/gui/tagfieldedit.h +++ b/gui/tagfieldedit.h @@ -59,7 +59,7 @@ public Q_SLOTS: void restore(); void setCoverButtonsHidden(bool hideCoverButtons); -signals: +Q_SIGNALS: void returnPressed(); protected: diff --git a/renamingutility/renamingengine.h b/renamingutility/renamingengine.h index e0d0c38..8bd5269 100644 --- a/renamingutility/renamingengine.h +++ b/renamingutility/renamingengine.h @@ -77,7 +77,7 @@ public Q_SLOTS: bool applyChangings(); void abort(); -signals: +Q_SIGNALS: void previewGenerated(); void changingsApplied(); void progress(int itemsProcessed, int errorsOccured);