Remove Qt keywords from all headers
It's good practice to do so. Change-Id: I72435ff99aaee942c1d3b488ec5dedd7e82d1047 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
parent
f756c201c5
commit
781714aefb
|
@ -288,7 +288,7 @@ public:
|
|||
if (m_editDelegate == newEditDelegate)
|
||||
return;
|
||||
m_editDelegate = newEditDelegate;
|
||||
emit editDelegateChanged();
|
||||
Q_EMIT editDelegateChanged();
|
||||
}
|
||||
|
||||
Q_SIGNALS:
|
||||
|
|
|
@ -27,16 +27,16 @@ public:
|
|||
if (a==m_container)
|
||||
return;
|
||||
m_container = a;
|
||||
emit containerChanged();
|
||||
Q_EMIT containerChanged();
|
||||
}
|
||||
void setItemType(const QString &a) {
|
||||
if (a==m_itemType)
|
||||
return;
|
||||
m_itemType = a;
|
||||
emit itemTypeChanged();
|
||||
Q_EMIT itemTypeChanged();
|
||||
}
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void containerChanged();
|
||||
void itemTypeChanged();
|
||||
|
||||
|
|
|
@ -19,9 +19,7 @@ public:
|
|||
|
||||
void showQuickView();
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void textEditTextChanged();
|
||||
void importData(int result);
|
||||
|
||||
|
|
|
@ -28,11 +28,7 @@ public:
|
|||
invalidate();
|
||||
}
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void c1Updated();
|
||||
void c2Updated();
|
||||
void pUpdated();
|
||||
|
|
|
@ -39,12 +39,12 @@ public:
|
|||
//update();
|
||||
}
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void easingCurveChanged();
|
||||
void easingCurveCodeChanged(const QString &code);
|
||||
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void setEasingCurve(const QEasingCurve &easingCurve);
|
||||
void setPreset(const QString &name);
|
||||
void setEasingCurve(const QString &code);
|
||||
|
|
|
@ -71,9 +71,9 @@ public:
|
|||
const QLspSpecification::InitializeParams &clientInfo() const;
|
||||
const QLspSpecification::InitializeResult &serverInfo() const;
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void receiveData(const QByteArray &d);
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void runStatusChanged(RunStatus);
|
||||
void clientInitialized(QLanguageServer *server);
|
||||
void shutdown();
|
||||
|
|
|
@ -35,7 +35,7 @@ public:
|
|||
void registerHandlers(QLanguageServer *server, QLanguageServerProtocol *protocol) override;
|
||||
void setupCapabilities(const QLspSpecification::InitializeParams &clientInfo,
|
||||
QLspSpecification::InitializeResult &) override;
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void updatedSnapshot(const QByteArray &uri);
|
||||
|
||||
private:
|
||||
|
|
|
@ -23,7 +23,7 @@ public:
|
|||
QmlLintSuggestions(QLanguageServer *server, QmlLsp::QQmlCodeModel *codeModel);
|
||||
|
||||
QString name() const override { return QLatin1StringView("QmlLint Suggestions"); }
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void diagnose(const QByteArray &uri);
|
||||
void registerHandlers(QLanguageServer *server, QLanguageServerProtocol *protocol) override;
|
||||
void setupCapabilities(const QLspSpecification::InitializeParams &clientInfo,
|
||||
|
|
|
@ -88,7 +88,7 @@ public:
|
|||
void setBuildPathsForRootUrl(QByteArray url, const QStringList &paths);
|
||||
void removeRootUrls(const QList<QByteArray> &urls);
|
||||
QQmlToolingSettings *settings();
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void updatedSnapshot(const QByteArray &url);
|
||||
private:
|
||||
void indexDirectory(const QString &path, int depthLeft);
|
||||
|
|
|
@ -47,7 +47,7 @@ public:
|
|||
QmlLintSuggestions *lint();
|
||||
WorkspaceHandlers *worspace();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void exit();
|
||||
void errorExit();
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ public:
|
|||
void setupCapabilities(const QLspSpecification::InitializeParams &clientInfo,
|
||||
QLspSpecification::InitializeResult &) override;
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void didOpenTextDocument(const QLspSpecification::DidOpenTextDocumentParams ¶ms);
|
||||
void didDidChangeTextDocument(const QLspSpecification::DidChangeTextDocumentParams ¶ms);
|
||||
void didCloseTextDocument(const QLspSpecification::DidCloseTextDocumentParams ¶ms);
|
||||
|
|
|
@ -19,7 +19,7 @@ public:
|
|||
void registerHandlers(QLanguageServer *server, QLanguageServerProtocol *protocol) override;
|
||||
void setupCapabilities(const QLspSpecification::InitializeParams &clientInfo,
|
||||
QLspSpecification::InitializeResult &) override;
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void clientInitialized(QLanguageServer *);
|
||||
|
||||
private:
|
||||
|
|
|
@ -23,7 +23,7 @@ public:
|
|||
void removeDirectory(const QString &file);
|
||||
bool watchesDirectory(const QString &file) const;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void fileChanged(const QString &path);
|
||||
void directoryChanged(const QString &path);
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ class CommandListener : public QObject {
|
|||
public:
|
||||
void readCommand();
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void command(const QString &command);
|
||||
};
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ public:
|
|||
void notifyTraceStarted();
|
||||
void outputData();
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void readyForCommand();
|
||||
|
||||
private:
|
||||
|
|
|
@ -18,7 +18,7 @@ class QmlProfilerClient : public QQmlProfilerClient
|
|||
public:
|
||||
QmlProfilerClient(QQmlDebugConnection *connection, QmlProfilerData *data);
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void enabledChanged(bool enabled);
|
||||
void error(const QString &error);
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
void complete();
|
||||
bool save(const QString &filename);
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void error(QString);
|
||||
void stateChanged();
|
||||
void dataReady();
|
||||
|
|
Loading…
Reference in New Issue