Correct some whitespace issues

This commit is contained in:
Nicolas Fella
2020-11-04 19:43:56 +01:00
parent fd19e0f27d
commit 00b6908f25
14 changed files with 15 additions and 15 deletions

View File

@@ -130,7 +130,7 @@ private:
private Q_SLOTS: private Q_SLOTS:
void invokeLogin(); void invokeLogin();
Q_SIGNALS: Q_SIGNALS:
void busyChanged(); void busyChanged();
void errorOccured(QString error, QString detail); void errorOccured(QString error, QString detail);
void syncDone(); void syncDone();

View File

@@ -70,7 +70,7 @@ public:
Q_INVOKABLE QVariantList history(); Q_INVOKABLE QVariantList history();
Q_INVOKABLE QVariantList filterModel(const QString &filter); Q_INVOKABLE QVariantList filterModel(const QString &filter);
Q_SIGNALS: Q_SIGNALS:
void historyChanged(); void historyChanged();
public Q_SLOTS: public Q_SLOTS:

View File

@@ -27,7 +27,7 @@ public:
private: private:
QClipboard *m_clipboard; QClipboard *m_clipboard;
Q_SIGNALS: Q_SIGNALS:
void imageChanged(); void imageChanged();
}; };

View File

@@ -3,6 +3,7 @@
* *
* SPDX-LicenseIdentifier: GPL-3.0-only * SPDX-LicenseIdentifier: GPL-3.0-only
*/ */
#include <QCommandLineParser>
#include <QFontDatabase> #include <QFontDatabase>
#include <QGuiApplication> #include <QGuiApplication>
#include <QNetworkProxy> #include <QNetworkProxy>
@@ -10,11 +11,10 @@
#include <QQmlApplicationEngine> #include <QQmlApplicationEngine>
#include <QQmlContext> #include <QQmlContext>
#include <QQuickStyle> #include <QQuickStyle>
#include <QCommandLineParser>
#include <KAboutData>
#include <KLocalizedContext> #include <KLocalizedContext>
#include <KLocalizedString> #include <KLocalizedString>
#include <KAboutData>
#include "neochat-version.h" #include "neochat-version.h"

View File

@@ -68,7 +68,7 @@ public:
Q_EMIT connectionChanged(); Q_EMIT connectionChanged();
} }
Q_SIGNALS: Q_SIGNALS:
void connectionChanged(); void connectionChanged();
private: private:

View File

@@ -80,7 +80,7 @@ private:
void refreshEventRoles(int row, const QVector<int> &roles = {}); void refreshEventRoles(int row, const QVector<int> &roles = {});
int refreshEventRoles(const QString &eventId, const QVector<int> &roles = {}); int refreshEventRoles(const QString &eventId, const QVector<int> &roles = {});
Q_SIGNALS: Q_SIGNALS:
void roomChanged(); void roomChanged();
}; };

View File

@@ -20,6 +20,6 @@ void NotificationsManager::postNotification(const QString &roomid, const QString
notification->setText(text); notification->setText(text);
notification->setPixmap(img); notification->setPixmap(img);
notification->sendEvent(); notification->sendEvent();
m_notifications.insert(roomid, notification); m_notifications.insert(roomid, notification);
} }

View File

@@ -10,7 +10,7 @@
class NotificationsManager : public QObject class NotificationsManager : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:
NotificationsManager(QObject *parent = nullptr); NotificationsManager(QObject *parent = nullptr);

View File

@@ -71,7 +71,7 @@ private:
QueryPublicRoomsJob *job = nullptr; QueryPublicRoomsJob *job = nullptr;
Q_SIGNALS: Q_SIGNALS:
void connectionChanged(); void connectionChanged();
void serverChanged(); void serverChanged();
void keywordChanged(); void keywordChanged();

View File

@@ -84,7 +84,7 @@ private:
void connectRoomSignals(SpectralRoom *room); void connectRoomSignals(SpectralRoom *room);
Q_SIGNALS: Q_SIGNALS:
void connectionChanged(); void connectionChanged();
void notificationCountChanged(); void notificationCountChanged();

View File

@@ -98,7 +98,7 @@ private:
private Q_SLOTS: private Q_SLOTS:
void countChanged(); void countChanged();
Q_SIGNALS: Q_SIGNALS:
void cachedInputChanged(); void cachedInputChanged();
void busyChanged(); void busyChanged();
void hasFileUploadingChanged(); void hasFileUploadingChanged();

View File

@@ -56,7 +56,7 @@ public:
} }
void setIsOnline(bool online); void setIsOnline(bool online);
Q_SIGNALS: Q_SIGNALS:
void notificationCountChanged(); void notificationCountChanged();
void iconSourceChanged(); void iconSourceChanged();
void isOnlineChanged(); void isOnlineChanged();

View File

@@ -61,7 +61,7 @@ private:
SearchUserDirectoryJob *job = nullptr; SearchUserDirectoryJob *job = nullptr;
Q_SIGNALS: Q_SIGNALS:
void connectionChanged(); void connectionChanged();
void keywordChanged(); void keywordChanged();
void limitedChanged(); void limitedChanged();

View File

@@ -55,7 +55,7 @@ public:
QHash<int, QByteArray> roleNames() const override; QHash<int, QByteArray> roleNames() const override;
Q_SIGNALS: Q_SIGNALS:
void roomChanged(); void roomChanged();
private Q_SLOTS: private Q_SLOTS: