summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2014-09-09 18:22:58 +0200
committerUlf Hermann <ulf.hermann@digia.com>2014-09-15 09:15:24 +0200
commit6d58de0bad462ab4599428bb18d64d0cb0c7828d (patch)
tree7c274b60e0d69640019df2a3f4ebf4a03d409540 /src/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.h
parent7290c43da14c1f416c8de0654d8f335a3b271989 (diff)
downloadqt-creator-6d58de0bad462ab4599428bb18d64d0cb0c7828d.tar.gz
QmlProfiler: Allow preselection of events to be recorded
This allows us to reduce the amount of data we need to handle if the user isn't interested in certain categories. Task-number: QTBUG-41118 Change-Id: Ieaac12fb1dec29d6035642f433bc1a1d49e545c2 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.h')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.h b/src/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.h
index ca49943e7a..9c6f71a588 100644
--- a/src/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.h
+++ b/src/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.h
@@ -72,7 +72,8 @@ public:
// QML interface
int rowCount() const;
- static QString categoryLabel(int categoryIndex);
+ static QString categoryLabel(QmlDebug::RangeType categoryIndex);
+ quint64 features() const;
int row(int index) const;
int eventId(int index) const;