aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/qmlprofilerextension/pixmapcachemodel.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2014-11-17 13:30:53 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2014-12-05 15:16:28 +0200
commitff45f1c1560cf169432ed88255fd38a49ee86e1f (patch)
tree3d3ce4f5bd8987d4dd76cdd83a48b71521371c31 /plugins/qmlprofilerextension/pixmapcachemodel.h
parent848336251a1b51838e6a5e5f3336dc57468f046e (diff)
Define separate methods for getting collapsed and expanded rows
Change-Id: I3449e163dd00283a04fd5147d81034d2f68a961f Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'plugins/qmlprofilerextension/pixmapcachemodel.h')
-rw-r--r--plugins/qmlprofilerextension/pixmapcachemodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/qmlprofilerextension/pixmapcachemodel.h b/plugins/qmlprofilerextension/pixmapcachemodel.h
index 49a7fb5a46..19181384f6 100644
--- a/plugins/qmlprofilerextension/pixmapcachemodel.h
+++ b/plugins/qmlprofilerextension/pixmapcachemodel.h
@@ -89,7 +89,8 @@ public:
int rowMaxValue(int rowNumber) const;
- int row(int index) const;
+ int expandedRow(int index) const;
+ int collapsedRow(int index) const;
int typeId(int index) const;
QColor color(int index) const;
float relativeHeight(int index) const;