QmlProfiler: Integrate QmlProfilerDataModel into model manager

There is no need to keep them separate as the data model is not
accessed from the outside anymore. This removes a lot of indirection.

Change-Id: I91da4dfa816295300c8cfcca22430d5c5b3298c0
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Ulf Hermann
2016-12-29 15:02:06 +01:00
parent 78daf47a25
commit c84f650fb2
6 changed files with 192 additions and 413 deletions

View File

@@ -115,7 +115,7 @@ public:
void addEventType(const QmlEventType &type);
const QVector<QmlEventType> &eventTypes() const;
bool replayEvents(qint64 startTime, qint64 endTime, EventLoader loader) const;
bool replayEvents(qint64 rangeStart, qint64 rangeEnd, EventLoader loader) const;
quint64 availableFeatures() const;
quint64 visibleFeatures() const;
@@ -155,6 +155,7 @@ public slots:
private:
void setState(State state);
void detailsChanged(int typeId, const QString &newString);
private:
class QmlProfilerModelManagerPrivate;