s/slots/Q_SLOTS and s/signals/Q_SIGNALS
This commit is contained in:
@@ -35,7 +35,7 @@ private:
|
||||
Controller *m_controller = nullptr;
|
||||
QVector<Connection *> m_connections;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void controllerChanged();
|
||||
};
|
||||
|
||||
|
||||
@@ -113,10 +113,10 @@ private:
|
||||
void loadSettings();
|
||||
void saveSettings() const;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void invokeLogin();
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void busyChanged();
|
||||
void errorOccured(QString error, QString detail);
|
||||
void syncDone();
|
||||
@@ -129,7 +129,7 @@ signals:
|
||||
void connectionChanged();
|
||||
void isOnlineChanged();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void logout(Connection *conn);
|
||||
void joinRoom(Connection *c, const QString &alias);
|
||||
void createRoom(Connection *c, const QString &name, const QString &topic);
|
||||
|
||||
@@ -70,10 +70,10 @@ public:
|
||||
Q_INVOKABLE QVariantList history();
|
||||
Q_INVOKABLE QVariantList filterModel(const QString &filter);
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void historyChanged();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void emojiUsed(QVariant modelData);
|
||||
|
||||
private:
|
||||
|
||||
@@ -27,7 +27,7 @@ public:
|
||||
private:
|
||||
QClipboard *m_clipboard;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void imageChanged();
|
||||
};
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ public:
|
||||
ThumbnailResponse(Quotient::Connection *c, QString mediaId, const QSize &requestedSize);
|
||||
~ThumbnailResponse() override = default;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void startRequest();
|
||||
void prepareResult();
|
||||
void doCancel();
|
||||
@@ -68,7 +68,7 @@ public:
|
||||
Q_EMIT connectionChanged();
|
||||
}
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void connectionChanged();
|
||||
|
||||
private:
|
||||
|
||||
@@ -62,7 +62,7 @@ public:
|
||||
|
||||
Q_INVOKABLE int eventIDToIndex(const QString &eventID) const;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
int refreshEvent(const QString &eventId);
|
||||
void refreshRow(int row);
|
||||
|
||||
@@ -80,7 +80,7 @@ private:
|
||||
void refreshEventRoles(int row, const QVector<int> &roles = {});
|
||||
int refreshEventRoles(const QString &eventId, const QVector<int> &roles = {});
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void roomChanged();
|
||||
};
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ private:
|
||||
|
||||
QueryPublicRoomsJob *job = nullptr;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void connectionChanged();
|
||||
void serverChanged();
|
||||
void keywordChanged();
|
||||
|
||||
@@ -69,7 +69,7 @@ public:
|
||||
return m_notificationCount;
|
||||
}
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void doAddRoom(Room *room);
|
||||
void updateRoom(Room *room, Room *prev);
|
||||
void deleteRoom(Room *room);
|
||||
@@ -84,7 +84,7 @@ private:
|
||||
|
||||
void connectRoomSignals(SpectralRoom *room);
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void connectionChanged();
|
||||
void notificationCountChanged();
|
||||
|
||||
|
||||
@@ -95,17 +95,17 @@ private:
|
||||
|
||||
static QString markdownToHTML(const QString &plaintext);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void countChanged();
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void cachedInputChanged();
|
||||
void busyChanged();
|
||||
void hasFileUploadingChanged();
|
||||
void fileUploadingProgressChanged();
|
||||
void backgroundChanged();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void uploadFile(const QUrl &url, const QString &body = "");
|
||||
void acceptInvitation();
|
||||
void forget();
|
||||
|
||||
@@ -56,7 +56,7 @@ public:
|
||||
}
|
||||
void setIsOnline(bool online);
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void notificationCountChanged();
|
||||
void iconSourceChanged();
|
||||
void isOnlineChanged();
|
||||
|
||||
@@ -61,7 +61,7 @@ private:
|
||||
|
||||
SearchUserDirectoryJob *job = nullptr;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void connectionChanged();
|
||||
void keywordChanged();
|
||||
void limitedChanged();
|
||||
|
||||
@@ -55,10 +55,10 @@ public:
|
||||
|
||||
QHash<int, QByteArray> roleNames() const override;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void roomChanged();
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void userAdded(Quotient::User *user);
|
||||
void userRemoved(Quotient::User *user);
|
||||
void refresh(Quotient::User *user, QVector<int> roles = {});
|
||||
|
||||
Reference in New Issue
Block a user