diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-05-23 16:03:09 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-05-25 13:52:33 +0000 |
commit | ebd6d269c2b3657032f95972d84459979a9dca36 (patch) | |
tree | 36f8d3d8f16195b9b995830b4f08c6a6a9e27c28 /src/plugins/qmlprofiler/qmlprofilertraceclient.h | |
parent | cf02bf971c37bf399f13516fbefec0b2d4e30a0a (diff) | |
download | qt-creator-ebd6d269c2b3657032f95972d84459979a9dca36.tar.gz |
QmlProfiler: Directly pass events from client to model
Running them through the model manager via signals doesn't make much
sense anymore.
Change-Id: I6103d281dd640493f28acd7e787ea49712ebd8df
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilertraceclient.h')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilertraceclient.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertraceclient.h b/src/plugins/qmlprofiler/qmlprofilertraceclient.h index 3864a38081..b22d2fd52e 100644 --- a/src/plugins/qmlprofiler/qmlprofilertraceclient.h +++ b/src/plugins/qmlprofiler/qmlprofilertraceclient.h @@ -37,13 +37,15 @@ namespace QmlProfiler { +class QmlProfilerDataModel; class QmlProfilerTraceClient : public QmlDebug::QmlDebugClient { Q_OBJECT Q_PROPERTY(bool recording READ isRecording WRITE setRecording NOTIFY recordingChanged) public: - QmlProfilerTraceClient(QmlDebug::QmlDebugConnection *client, quint64 features); + QmlProfilerTraceClient(QmlDebug::QmlDebugConnection *client, QmlProfilerDataModel *model, + quint64 features); ~QmlProfilerTraceClient(); bool isRecording() const; @@ -61,8 +63,6 @@ signals: void traceFinished(qint64 timestamp, const QList<int> &engineIds); void traceStarted(qint64 timestamp, const QList<int> &engineIds); - void qmlEvent(const QmlEvent &event, const QmlEventType &type); - void recordingChanged(bool arg); void recordedFeaturesChanged(quint64 features); void newEngine(int engineId); |