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