Eliminate redundant isEmpty() methods.

Change-Id: I7cdde38a389e077875199a0b34c8b527691aa96e
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Ulf Hermann
2014-02-14 13:36:22 +01:00
parent ff75cbda02
commit f70e8c6464
4 changed files with 0 additions and 14 deletions

View File

@@ -70,11 +70,6 @@ int PixmapCacheModel::count() const
return d->count();
}
bool PixmapCacheModel::isEmpty() const
{
return d->count() == 0;
}
bool PixmapCacheModel::eventAccepted(const QmlProfilerSimpleModel::QmlEventData &event) const
{
return (event.eventType == QmlDebug::PixmapCacheEvent);

View File

@@ -62,8 +62,6 @@ public:
int count() const;
bool isEmpty() const;
bool eventAccepted(const QmlProfiler::QmlProfilerSimpleModel::QmlEventData &event) const;
Q_INVOKABLE qint64 lastTimeMark() const;

View File

@@ -78,11 +78,6 @@ int SceneGraphTimelineModel::count() const
return d->count();
}
bool SceneGraphTimelineModel::isEmpty() const
{
return d->count() == 0;
}
bool SceneGraphTimelineModel::eventAccepted(const QmlProfiler::QmlProfilerSimpleModel::QmlEventData &event) const
{
return (event.eventType == QmlDebug::SceneGraphFrameEvent);

View File

@@ -50,8 +50,6 @@ public:
int count() const;
bool isEmpty() const;
bool eventAccepted(const QmlProfiler::QmlProfilerSimpleModel::QmlEventData &event) const;
Q_INVOKABLE qint64 lastTimeMark() const;