From d81c20b116d580f3ecfd4b0bf9e806250653fddb Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Tue, 26 Mar 2024 09:36:46 +0100 Subject: [PATCH] partial fix for compilation with QT_NO_KEYWORDS need to replace signals by Q_SIGNALS and so on Signed-off-by: Matthieu Gallien --- src/gui/logbrowser.h | 2 +- src/gui/wizard/flow2authcredspage.h | 2 +- src/gui/wizard/flow2authwidget.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/logbrowser.h b/src/gui/logbrowser.h index b1bb547ad8938..0c7e717c3971d 100644 --- a/src/gui/logbrowser.h +++ b/src/gui/logbrowser.h @@ -43,7 +43,7 @@ class LogBrowser : public QDialog protected: void closeEvent(QCloseEvent *) override; -protected slots: +protected Q_SLOTS: void togglePermanentLogging(bool enabled); }; diff --git a/src/gui/wizard/flow2authcredspage.h b/src/gui/wizard/flow2authcredspage.h index 1a87137689710..fc9485971aacd 100644 --- a/src/gui/wizard/flow2authcredspage.h +++ b/src/gui/wizard/flow2authcredspage.h @@ -51,7 +51,7 @@ public Q_SLOTS: void slotPollNow(); void slotStyleChanged(); -signals: +Q_SIGNALS: void connectToOCUrl(const QString &); void pollNow(); void styleChanged(); diff --git a/src/gui/wizard/flow2authwidget.h b/src/gui/wizard/flow2authwidget.h index a90fcbf495775..2660ff0b76209 100644 --- a/src/gui/wizard/flow2authwidget.h +++ b/src/gui/wizard/flow2authwidget.h @@ -43,7 +43,7 @@ public Q_SLOTS: void slotStatusChanged(Flow2Auth::PollStatus status, int secondsLeft); void slotStyleChanged(); -signals: +Q_SIGNALS: void authResult(Flow2Auth::Result, const QString &errorString, const QString &user, const QString &appPassword); void pollNow(); @@ -52,7 +52,7 @@ public Q_SLOTS: QScopedPointer _asyncAuth; Ui_Flow2AuthWidget _ui{}; -protected slots: +protected Q_SLOTS: void slotOpenBrowser(); void slotCopyLinkToClipboard();