Don't use lower-case Qt macros
This commit is contained in:
parent
395a3503d7
commit
bcb2b49b72
|
@ -43,7 +43,7 @@ public:
|
|||
|
||||
int exec(int argc, const char *const *argv);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void handleStatusChanged(Data::SyncthingStatus newStatus);
|
||||
void handleResponse();
|
||||
void handleError(
|
||||
|
|
|
@ -9,7 +9,7 @@ class JSConsole : public QObject
|
|||
public:
|
||||
explicit JSConsole(QObject *parent = nullptr);
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void log(const QString &msg) const;
|
||||
};
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ public:
|
|||
TrayIcon(const QString &connectionConfig = QString(), QObject *parent = nullptr);
|
||||
TrayMenu &trayMenu();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void showInternalError(const QString &errorMessage, Data::SyncthingErrorCategory category, int networkError, const QNetworkRequest &request,
|
||||
const QByteArray &response);
|
||||
void showLauncherError(const QString &errorMessage, const QString &additionalInfo);
|
||||
|
@ -41,7 +41,7 @@ public slots:
|
|||
void showNewDev(const QString &devId, const QString &message);
|
||||
void showNewDir(const QString &devId, const QString &dirId, const QString &message);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void handleActivated(QSystemTrayIcon::ActivationReason reason);
|
||||
void handleMessageClicked();
|
||||
void showDisconnected();
|
||||
|
|
|
@ -19,7 +19,7 @@ public:
|
|||
const TrayWidget &widget() const;
|
||||
TrayIcon *icon();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void showUsingPositioningSettings();
|
||||
|
||||
private:
|
||||
|
|
|
@ -55,7 +55,7 @@ public:
|
|||
QMenu *connectionsMenu();
|
||||
static const std::vector<TrayWidget *> &instances();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void showSettingsDialog();
|
||||
void showAboutDialog();
|
||||
void showWebUi();
|
||||
|
@ -72,7 +72,7 @@ public slots:
|
|||
void quitTray();
|
||||
void applySettings(const QString &connectionConfig = QString());
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void handleStatusChanged(Data::SyncthingStatus status);
|
||||
#ifdef SYNCTHINGTRAY_UNIFY_TRAY_MENUS
|
||||
void handleErrorsCleared();
|
||||
|
|
|
@ -109,7 +109,7 @@ public:
|
|||
bool apply() override;
|
||||
void reset() override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void handleSyncthingLaunched(bool running);
|
||||
void handleSyncthingReadyRead();
|
||||
void handleSyncthingOutputAvailable(const QByteArray &output);
|
||||
|
|
|
@ -39,7 +39,7 @@ protected:
|
|||
void javaScriptConsoleMessage(const QString &message, int lineNumber, const QString &sourceID) override;
|
||||
#endif
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void delegateNewWindowToExternalBrowser(const QUrl &url);
|
||||
void supplyCredentials(const QUrl &requestUrl, QAuthenticator *authenticator);
|
||||
void supplyCredentials(QNetworkReply *reply, QAuthenticator *authenticator);
|
||||
|
|
|
@ -23,7 +23,7 @@ public:
|
|||
WebViewDialog(QWidget *parent = nullptr);
|
||||
~WebViewDialog() override;
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void applySettings(const Data::SyncthingConnectionSettings &connectionSettings, bool aboutToShow);
|
||||
const Data::SyncthingConnectionSettings &connectionSettings() const;
|
||||
#if defined(SYNCTHINGWIDGETS_USE_WEBKIT)
|
||||
|
|
Loading…
Reference in New Issue