summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprofiler/qmlprofilerrangemodel.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2014-10-28 14:26:57 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2014-11-21 10:54:24 +0100
commit307d45ecaa3d263441bf3c07adcf437771407d87 (patch)
tree480d598a8b90e73be79ed178cee77d81b1880ddf /src/plugins/qmlprofiler/qmlprofilerrangemodel.h
parent4ec75995f8e99a585f79453f23d4508a72830745 (diff)
downloadqt-creator-307d45ecaa3d263441bf3c07adcf437771407d87.tar.gz
QmlProfiler: switch storage for typeId and selectionId
The selectionIds are an integral part of the timeline and have to be given for each event. The typeIds are optional. Thus it makes more sense to store the selectionIds in the basic Range classes and have the derived models handle the typeIds instead of doing it the other way around. Change-Id: I824224b6f58e8d45311134887482586283fbff41 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerrangemodel.h')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilerrangemodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerrangemodel.h b/src/plugins/qmlprofiler/qmlprofilerrangemodel.h
index 3cd9cfc58e..a6859041c4 100644
--- a/src/plugins/qmlprofiler/qmlprofilerrangemodel.h
+++ b/src/plugins/qmlprofiler/qmlprofilerrangemodel.h
@@ -74,7 +74,7 @@ public:
QVariantMap details(int index) const;
QVariantMap location(int index) const;
- bool handlesTypeId(int typeIndex) const;
+ int typeId(int index) const;
int selectionIdForLocation(const QString &filename, int line, int column) const;
protected: