summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprofiler/qv8profilerdatamodel.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2014-08-29 16:32:42 +0200
committerUlf Hermann <ulf.hermann@digia.com>2014-09-29 13:06:45 +0200
commit38f4d6a5f26b6c9ad532dba295ff10d8873a019e (patch)
tree3dc30ea9fc4a6fa491c89768fbf2cf5a15f52343 /src/plugins/qmlprofiler/qv8profilerdatamodel.h
parent3af3878ace09fedb98c495f9bda550f7aa0df39c (diff)
downloadqt-creator-38f4d6a5f26b6c9ad532dba295ff10d8873a019e.tar.gz
QmlProfiler: rename "eventId" fields to "typeId" and "selectionId"
The convention is now that selections are the rows in the expanded timeline, "types" are the types in the QmlProfilerDataModel, and events are the single boxes in the timeline. Thus, the event view shows only types and for consistency the V8 view does so, too. Having eventId as synonym for "type index" and "event index" as actual index into the list of events is confusing. Change-Id: I6b7c4c3f1ab0a8b71c511de52ab296a2e91cf5f0 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qv8profilerdatamodel.h')
-rw-r--r--src/plugins/qmlprofiler/qv8profilerdatamodel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/qv8profilerdatamodel.h b/src/plugins/qmlprofiler/qv8profilerdatamodel.h
index 26755295eb..0c71018c19 100644
--- a/src/plugins/qmlprofiler/qv8profilerdatamodel.h
+++ b/src/plugins/qmlprofiler/qv8profilerdatamodel.h
@@ -63,7 +63,7 @@ public:
double SelfTimeInPercent;
QHash <QString, QV8EventSub *> parentHash;
QHash <QString, QV8EventSub *> childrenHash;
- int eventId;
+ int typeId;
QV8EventData &operator=(const QV8EventData &ref);
};
@@ -81,7 +81,7 @@ public:
void clear();
bool isEmpty() const;
QList<QV8EventData *> getV8Events() const;
- QV8EventData *v8EventDescription(int eventId) const;
+ QV8EventData *v8EventDescription(int typeId) const;
qint64 v8MeasuredTime() const;