forked from qt-creator/qt-creator
QmlDebug: Add some missing override
Change-Id: I742cbeedff43e1e33b30150fec60f843698f05e8 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -80,8 +80,8 @@ signals:
|
||||
void result(quint32 queryId, const QVariant &result, const QByteArray &type);
|
||||
|
||||
protected:
|
||||
virtual void stateChanged(State status);
|
||||
virtual void messageReceived(const QByteArray &);
|
||||
virtual void stateChanged(State status) override;
|
||||
virtual void messageReceived(const QByteArray &) override;
|
||||
|
||||
quint32 getId() { return m_nextId++; }
|
||||
|
||||
|
@@ -59,7 +59,7 @@ signals:
|
||||
void logActivity(QString client, QString message);
|
||||
|
||||
protected:
|
||||
void stateChanged(State status);
|
||||
void stateChanged(State status) override;
|
||||
|
||||
void recurseObjectIdList(const ObjectReference &ref,
|
||||
QList<int> &debugIds, QList<QString> &objectIds);
|
||||
|
@@ -40,13 +40,13 @@ public:
|
||||
quint32 setBindingForObject(int objectDebugId, const QString &propertyName,
|
||||
const QVariant &bindingExpression,
|
||||
bool isLiteralValue,
|
||||
QString source, int line);
|
||||
quint32 resetBindingForObject(int objectDebugId, const QString &propertyName);
|
||||
QString source, int line) override;
|
||||
quint32 resetBindingForObject(int objectDebugId, const QString &propertyName) override;
|
||||
quint32 setMethodBody(int objectDebugId, const QString &methodName,
|
||||
const QString &methodBody);
|
||||
const QString &methodBody) override;
|
||||
|
||||
protected:
|
||||
void messageReceived(const QByteArray &data);
|
||||
void messageReceived(const QByteArray &data) override;
|
||||
};
|
||||
|
||||
} // namespace QmlDebug
|
||||
|
@@ -35,17 +35,17 @@ class QMLDEBUG_EXPORT DeclarativeToolsClient : public BaseToolsClient
|
||||
public:
|
||||
DeclarativeToolsClient(QmlDebugConnection *client);
|
||||
|
||||
void setDesignModeBehavior(bool inDesignMode);
|
||||
void changeToSelectTool();
|
||||
void changeToSelectMarqueeTool();
|
||||
void changeToZoomTool();
|
||||
void showAppOnTop(bool showOnTop);
|
||||
void setDesignModeBehavior(bool inDesignMode) override;
|
||||
void changeToSelectTool() override;
|
||||
void changeToSelectMarqueeTool() override;
|
||||
void changeToZoomTool() override;
|
||||
void showAppOnTop(bool showOnTop) override;
|
||||
|
||||
// ### Qt 4.8: remove if we can have access to qdeclarativecontextdata or id's
|
||||
void setObjectIdList(const QList<ObjectReference> &objectRoots);
|
||||
void setObjectIdList(const QList<ObjectReference> &objectRoots) override;
|
||||
|
||||
protected:
|
||||
void messageReceived(const QByteArray &);
|
||||
void messageReceived(const QByteArray &) override;
|
||||
|
||||
private:
|
||||
void log(LogDirection direction,
|
||||
|
@@ -47,8 +47,8 @@ public:
|
||||
explicit QDebugMessageClient(QmlDebugConnection *client);
|
||||
|
||||
protected:
|
||||
virtual void stateChanged(State state);
|
||||
virtual void messageReceived(const QByteArray &);
|
||||
virtual void stateChanged(State state) override;
|
||||
virtual void messageReceived(const QByteArray &) override;
|
||||
|
||||
signals:
|
||||
void newState(QmlDebug::QmlDebugClient::State);
|
||||
|
@@ -59,7 +59,7 @@ signals:
|
||||
void engineRemoved(int engineId, const QString &name);
|
||||
|
||||
protected:
|
||||
void messageReceived(const QByteArray &);
|
||||
void messageReceived(const QByteArray &) override;
|
||||
void sendCommand(CommandType command, int engineId);
|
||||
|
||||
struct EngineState {
|
||||
|
@@ -35,17 +35,17 @@ class QMLDEBUG_EXPORT QmlToolsClient : public BaseToolsClient
|
||||
public:
|
||||
explicit QmlToolsClient(QmlDebugConnection *client);
|
||||
|
||||
void setDesignModeBehavior(bool inDesignMode);
|
||||
void changeToSelectTool();
|
||||
void changeToSelectMarqueeTool();
|
||||
void changeToZoomTool();
|
||||
void showAppOnTop(bool showOnTop);
|
||||
void setDesignModeBehavior(bool inDesignMode) override;
|
||||
void changeToSelectTool() override;
|
||||
void changeToSelectMarqueeTool() override;
|
||||
void changeToZoomTool() override;
|
||||
void showAppOnTop(bool showOnTop) override;
|
||||
|
||||
// ### Qt 4.8: remove if we can have access to qdeclarativecontextdata or id's
|
||||
void setObjectIdList(const QList<ObjectReference> &objectRoots);
|
||||
void setObjectIdList(const QList<ObjectReference> &objectRoots) override;
|
||||
|
||||
protected:
|
||||
void messageReceived(const QByteArray &);
|
||||
void messageReceived(const QByteArray &) override;
|
||||
|
||||
private:
|
||||
void log(LogDirection direction,
|
||||
|
@@ -69,8 +69,8 @@ signals:
|
||||
void cleared();
|
||||
|
||||
protected:
|
||||
virtual void stateChanged(State status);
|
||||
virtual void messageReceived(const QByteArray &);
|
||||
virtual void stateChanged(State status) override;
|
||||
virtual void messageReceived(const QByteArray &) override;
|
||||
|
||||
private:
|
||||
class QmlProfilerTraceClientPrivate *d;
|
||||
|
Reference in New Issue
Block a user