diff --git a/src/controller.h b/src/controller.h index 3109679e2..ab2460e56 100644 --- a/src/controller.h +++ b/src/controller.h @@ -130,7 +130,7 @@ private: private Q_SLOTS: void invokeLogin(); -Q_SIGNALS: +Q_SIGNALS: void busyChanged(); void errorOccured(QString error, QString detail); void syncDone(); diff --git a/src/emojimodel.h b/src/emojimodel.h index edc757ba1..4f5470f62 100644 --- a/src/emojimodel.h +++ b/src/emojimodel.h @@ -70,7 +70,7 @@ public: Q_INVOKABLE QVariantList history(); Q_INVOKABLE QVariantList filterModel(const QString &filter); -Q_SIGNALS: +Q_SIGNALS: void historyChanged(); public Q_SLOTS: diff --git a/src/imageclipboard.h b/src/imageclipboard.h index 3d929481b..87f8532d0 100644 --- a/src/imageclipboard.h +++ b/src/imageclipboard.h @@ -27,7 +27,7 @@ public: private: QClipboard *m_clipboard; -Q_SIGNALS: +Q_SIGNALS: void imageChanged(); }; diff --git a/src/main.cpp b/src/main.cpp index befe30970..8807969ca 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3,6 +3,7 @@ * * SPDX-LicenseIdentifier: GPL-3.0-only */ +#include #include #include #include @@ -10,11 +11,10 @@ #include #include #include -#include +#include #include #include -#include #include "neochat-version.h" diff --git a/src/matriximageprovider.h b/src/matriximageprovider.h index b004482c9..5b183d927 100644 --- a/src/matriximageprovider.h +++ b/src/matriximageprovider.h @@ -68,7 +68,7 @@ public: Q_EMIT connectionChanged(); } -Q_SIGNALS: +Q_SIGNALS: void connectionChanged(); private: diff --git a/src/messageeventmodel.h b/src/messageeventmodel.h index 604f05760..b0f5a6d0a 100644 --- a/src/messageeventmodel.h +++ b/src/messageeventmodel.h @@ -80,7 +80,7 @@ private: void refreshEventRoles(int row, const QVector &roles = {}); int refreshEventRoles(const QString &eventId, const QVector &roles = {}); -Q_SIGNALS: +Q_SIGNALS: void roomChanged(); }; diff --git a/src/notificationsmanager.cpp b/src/notificationsmanager.cpp index dff8ae9fc..9a4a695ab 100644 --- a/src/notificationsmanager.cpp +++ b/src/notificationsmanager.cpp @@ -20,6 +20,6 @@ void NotificationsManager::postNotification(const QString &roomid, const QString notification->setText(text); notification->setPixmap(img); notification->sendEvent(); - + m_notifications.insert(roomid, notification); } diff --git a/src/notificationsmanager.h b/src/notificationsmanager.h index 8f581bb48..f88955f9d 100644 --- a/src/notificationsmanager.h +++ b/src/notificationsmanager.h @@ -10,7 +10,7 @@ class NotificationsManager : public QObject { Q_OBJECT - + public: NotificationsManager(QObject *parent = nullptr); diff --git a/src/publicroomlistmodel.h b/src/publicroomlistmodel.h index 0a8446e7b..235c04c2e 100644 --- a/src/publicroomlistmodel.h +++ b/src/publicroomlistmodel.h @@ -71,7 +71,7 @@ private: QueryPublicRoomsJob *job = nullptr; -Q_SIGNALS: +Q_SIGNALS: void connectionChanged(); void serverChanged(); void keywordChanged(); diff --git a/src/roomlistmodel.h b/src/roomlistmodel.h index 35034e253..7bfcff5d0 100644 --- a/src/roomlistmodel.h +++ b/src/roomlistmodel.h @@ -84,7 +84,7 @@ private: void connectRoomSignals(SpectralRoom *room); -Q_SIGNALS: +Q_SIGNALS: void connectionChanged(); void notificationCountChanged(); diff --git a/src/spectralroom.h b/src/spectralroom.h index 36e7a7b7b..3862dea2c 100644 --- a/src/spectralroom.h +++ b/src/spectralroom.h @@ -98,7 +98,7 @@ private: private Q_SLOTS: void countChanged(); -Q_SIGNALS: +Q_SIGNALS: void cachedInputChanged(); void busyChanged(); void hasFileUploadingChanged(); diff --git a/src/trayicon.h b/src/trayicon.h index 59d06ade6..1f97f4acf 100644 --- a/src/trayicon.h +++ b/src/trayicon.h @@ -56,7 +56,7 @@ public: } void setIsOnline(bool online); -Q_SIGNALS: +Q_SIGNALS: void notificationCountChanged(); void iconSourceChanged(); void isOnlineChanged(); diff --git a/src/userdirectorylistmodel.h b/src/userdirectorylistmodel.h index 8c3b6ae47..d78dcca3e 100644 --- a/src/userdirectorylistmodel.h +++ b/src/userdirectorylistmodel.h @@ -61,7 +61,7 @@ private: SearchUserDirectoryJob *job = nullptr; -Q_SIGNALS: +Q_SIGNALS: void connectionChanged(); void keywordChanged(); void limitedChanged(); diff --git a/src/userlistmodel.h b/src/userlistmodel.h index cc45f047e..8ba9e015f 100644 --- a/src/userlistmodel.h +++ b/src/userlistmodel.h @@ -55,7 +55,7 @@ public: QHash roleNames() const override; -Q_SIGNALS: +Q_SIGNALS: void roomChanged(); private Q_SLOTS: