forked from qt-creator/qt-creator
Unify handling of category labels
Change-Id: I3d06035e066aa249f5dcc06aa787c3480bbde74b Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -69,13 +69,6 @@ int PixmapCacheModel::categories() const
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
QStringList PixmapCacheModel::categoryTitles() const
|
|
||||||
{
|
|
||||||
QStringList retString;
|
|
||||||
retString << categoryLabel(0);
|
|
||||||
return retString;
|
|
||||||
}
|
|
||||||
|
|
||||||
QString PixmapCacheModel::name() const
|
QString PixmapCacheModel::name() const
|
||||||
{
|
{
|
||||||
return QLatin1String("PixmapCacheTimeLineModel");
|
return QLatin1String("PixmapCacheTimeLineModel");
|
||||||
|
@@ -61,7 +61,6 @@ public:
|
|||||||
// void setModelManager(QmlProfiler::Internal::QmlProfilerModelManager *modelManager);
|
// void setModelManager(QmlProfiler::Internal::QmlProfilerModelManager *modelManager);
|
||||||
|
|
||||||
int categories() const;
|
int categories() const;
|
||||||
QStringList categoryTitles() const;
|
|
||||||
QString name() const;
|
QString name() const;
|
||||||
int count() const;
|
int count() const;
|
||||||
|
|
||||||
|
@@ -77,13 +77,6 @@ int SceneGraphTimelineModel::categories() const
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
QStringList SceneGraphTimelineModel::categoryTitles() const
|
|
||||||
{
|
|
||||||
QStringList retString;
|
|
||||||
retString << categoryLabel(0);
|
|
||||||
return retString;
|
|
||||||
}
|
|
||||||
|
|
||||||
QString SceneGraphTimelineModel::name() const
|
QString SceneGraphTimelineModel::name() const
|
||||||
{
|
{
|
||||||
return QLatin1String("SceneGraphTimeLineModel");
|
return QLatin1String("SceneGraphTimeLineModel");
|
||||||
|
@@ -49,7 +49,6 @@ public:
|
|||||||
// void setModelManager(QmlProfiler::Internal::QmlProfilerModelManager *modelManager);
|
// void setModelManager(QmlProfiler::Internal::QmlProfilerModelManager *modelManager);
|
||||||
|
|
||||||
int categories() const;
|
int categories() const;
|
||||||
QStringList categoryTitles() const;
|
|
||||||
QString name() const;
|
QString name() const;
|
||||||
int count() const;
|
int count() const;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user