From 38f4d6a5f26b6c9ad532dba295ff10d8873a019e Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Fri, 29 Aug 2014 16:32:42 +0200 Subject: 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 --- src/plugins/qmlprofiler/qv8profilerdatamodel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/qmlprofiler/qv8profilerdatamodel.h') 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 parentHash; QHash childrenHash; - int eventId; + int typeId; QV8EventData &operator=(const QV8EventData &ref); }; @@ -81,7 +81,7 @@ public: void clear(); bool isEmpty() const; QList getV8Events() const; - QV8EventData *v8EventDescription(int eventId) const; + QV8EventData *v8EventDescription(int typeId) const; qint64 v8MeasuredTime() const; -- cgit v1.2.1