diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-12-29 14:26:29 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-02-24 11:55:45 +0000 |
commit | 78daf47a257a498cffc67cbff6820b5b93dba92e (patch) | |
tree | 9046eb6f5aab074ace515f8accf2e50e100ebb94 /src/plugins/qmlprofiler/qmlprofilermodelmanager.h | |
parent | 2b75df21393911faf6a2e2f24eb1eb29a149f603 (diff) |
QmlProfiler: Remove references to QmlProfilerDataModel
We keep it private to QmlProfilerModelManager and proxy the last few
methods that were directly called on the model. This enables us to
remove the QmlProfilerDataModel class by integrating what is left of it
into QmlProfilerModelManagerPrivate in a next step.
Change-Id: Ie9b4e03fb286e5a0040374d00b7b26f810426278
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilermodelmanager.h')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilermodelmanager.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilermodelmanager.h b/src/plugins/qmlprofiler/qmlprofilermodelmanager.h index fa618f437d4..d1ea5a01a4b 100644 --- a/src/plugins/qmlprofiler/qmlprofilermodelmanager.h +++ b/src/plugins/qmlprofiler/qmlprofilermodelmanager.h @@ -39,7 +39,6 @@ namespace QmlProfiler { class QmlProfilerModelManager; -class QmlProfilerDataModel; class QmlProfilerNotesModel; namespace Internal { @@ -96,7 +95,6 @@ public: State state() const; QmlProfilerTraceTime *traceTime() const; - QmlProfilerDataModel *qmlModel() const; QmlProfilerNotesModel *notesModel() const; QmlProfilerTextMarkModel *textMarkModel() const; @@ -115,6 +113,9 @@ public: void addEventTypes(const QVector<QmlEventType> &types); void addEventType(const QmlEventType &type); + const QVector<QmlEventType> &eventTypes() const; + + bool replayEvents(qint64 startTime, qint64 endTime, EventLoader loader) const; quint64 availableFeatures() const; quint64 visibleFeatures() const; @@ -127,6 +128,9 @@ public: void acquiringDone(); void processingDone(); + void populateFileFinder(const ProjectExplorer::RunConfiguration *runConfiguration = nullptr); + QString findLocalFile(const QString &remoteFile); + static const char *featureName(ProfileFeature feature); signals: |