aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilermodelmanager.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-05-07 13:26:05 +0200
committerUlf Hermann <ulf.hermann@qt.io>2018-05-08 16:26:55 +0000
commit916883e70f121ded7fedf54c0d8732f828542895 (patch)
treea6af25d70d782967092c9cd680f4e3bd6318615d /src/plugins/qmlprofiler/qmlprofilermodelmanager.h
parente6d583913e95888f337d698757ed9f7d48a0cb55 (diff)
Tracing: Move event storage out of trace manager
This is a step toward making the trace manager non-virtual. It should just juggle the storages for types and events, and manage the threads to access them. It doesn't need to know what exactly it stores. Change-Id: I45093c60d8ae921e68aeb09bd48d24d5877ce306 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilermodelmanager.h')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilermodelmanager.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilermodelmanager.h b/src/plugins/qmlprofiler/qmlprofilermodelmanager.h
index 8b4350f80b4..a14c37042ce 100644
--- a/src/plugins/qmlprofiler/qmlprofilermodelmanager.h
+++ b/src/plugins/qmlprofiler/qmlprofilermodelmanager.h
@@ -61,7 +61,6 @@ public:
Initializer initializer = nullptr, Finalizer finalizer = nullptr,
Clearer clearer = nullptr);
- void addEvents(const QVector<QmlEvent> &events);
const QmlEventType &eventType(int typeId) const;
void replayQmlEvents(QmlEventLoader loader, Initializer initializer, Finalizer finalizer,
@@ -76,7 +75,7 @@ public:
int appendEventType(QmlEventType &&type);
void setEventType(int typeId, QmlEventType &&type);
- void addEvent(const QmlEvent &event);
+ void appendEvent(QmlEvent &&event);
void restrictToRange(qint64 start, qint64 end);
bool isRestrictedToRange() const;
@@ -91,8 +90,6 @@ private:
void detailsChanged(int typeId, const QString &newString);
void restrictByFilter(QmlEventFilter filter);
- void clearEventStorage() override;
-
Timeline::TimelineTraceFile *createTraceFile() override;
void replayEvents(TraceEventLoader loader, Initializer initializer, Finalizer finalizer,
ErrorHandler errorHandler, QFutureInterface<void> &future) const override;