Eliminate redundant categories() method in favor of categoryCount()

Change-Id: Iaab6c1bc30208abe018a1534c2197166f673cf81
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Ulf Hermann
2014-02-14 13:12:53 +01:00
parent f3b2752410
commit 79ea5d26a6
4 changed files with 0 additions and 12 deletions

View File

@@ -64,11 +64,6 @@ PixmapCacheModel::~PixmapCacheModel()
{ {
} }
int PixmapCacheModel::categories() const
{
return 1;
}
QString PixmapCacheModel::name() const QString PixmapCacheModel::name() const
{ {
return QLatin1String("PixmapCacheTimeLineModel"); return QLatin1String("PixmapCacheTimeLineModel");

View File

@@ -60,7 +60,6 @@ public:
// void setModelManager(QmlProfiler::Internal::QmlProfilerModelManager *modelManager); // void setModelManager(QmlProfiler::Internal::QmlProfilerModelManager *modelManager);
int categories() const;
QString name() const; QString name() const;
int count() const; int count() const;

View File

@@ -72,11 +72,6 @@ SceneGraphTimelineModel::~SceneGraphTimelineModel()
{ {
} }
int SceneGraphTimelineModel::categories() const
{
return 1;
}
QString SceneGraphTimelineModel::name() const QString SceneGraphTimelineModel::name() const
{ {
return QLatin1String("SceneGraphTimeLineModel"); return QLatin1String("SceneGraphTimeLineModel");

View File

@@ -48,7 +48,6 @@ public:
// void setModelManager(QmlProfiler::Internal::QmlProfilerModelManager *modelManager); // void setModelManager(QmlProfiler::Internal::QmlProfilerModelManager *modelManager);
int categories() const;
QString name() const; QString name() const;
int count() const; int count() const;