forked from qt-creator/qt-creator
Eliminate redundant categories() method in favor of categoryCount()
Change-Id: Iaab6c1bc30208abe018a1534c2197166f673cf81 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -64,11 +64,6 @@ PixmapCacheModel::~PixmapCacheModel()
|
||||
{
|
||||
}
|
||||
|
||||
int PixmapCacheModel::categories() const
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
QString PixmapCacheModel::name() const
|
||||
{
|
||||
return QLatin1String("PixmapCacheTimeLineModel");
|
||||
|
@@ -60,7 +60,6 @@ public:
|
||||
|
||||
// void setModelManager(QmlProfiler::Internal::QmlProfilerModelManager *modelManager);
|
||||
|
||||
int categories() const;
|
||||
QString name() const;
|
||||
int count() const;
|
||||
|
||||
|
@@ -72,11 +72,6 @@ SceneGraphTimelineModel::~SceneGraphTimelineModel()
|
||||
{
|
||||
}
|
||||
|
||||
int SceneGraphTimelineModel::categories() const
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
QString SceneGraphTimelineModel::name() const
|
||||
{
|
||||
return QLatin1String("SceneGraphTimeLineModel");
|
||||
|
@@ -48,7 +48,6 @@ public:
|
||||
|
||||
// void setModelManager(QmlProfiler::Internal::QmlProfilerModelManager *modelManager);
|
||||
|
||||
int categories() const;
|
||||
QString name() const;
|
||||
int count() const;
|
||||
|
||||
|
Reference in New Issue
Block a user