QmlProfiler: rename relative height of timeline items to "relativeHeight"

This clarifies that the item height is not absolute but relative to the
row height, and it reduces the ambiguity of the various "height" methods.

Change-Id: I391441147c88b47a14e539fc3853702bb517d27b
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Ulf Hermann
2014-09-02 12:19:33 +02:00
parent 9e52d0c6d4
commit 2677e33782
9 changed files with 11 additions and 11 deletions

View File

@@ -224,9 +224,9 @@ QColor TimelineModelAggregator::color(int modelIndex, int index) const
return d->modelList[modelIndex]->color(index);
}
float TimelineModelAggregator::height(int modelIndex, int index) const
float TimelineModelAggregator::relativeHeight(int modelIndex, int index) const
{
return d->modelList[modelIndex]->height(index);
return d->modelList[modelIndex]->relativeHeight(index);
}
QVariantList TimelineModelAggregator::labels(int modelIndex) const