Commit e6a910bb authored by Tobias Hunger's avatar Tobias Hunger

QmlProfiler: Fix warnings about inconsistent use of overrides

Change-Id: I325b5d4371fb662c13a131963b382c77976fc803
Reviewed-by: Ulf Hermann's avatarUlf Hermann <ulf.hermann@qt.io>
parent ab800691
......@@ -35,7 +35,7 @@ class InputEventsModel : public QmlProfilerTimelineModel
Q_OBJECT
protected:
bool accepted(const QmlEventType &event) const;
bool accepted(const QmlEventType &event) const override;
void loadEvent(const QmlEvent &event, const QmlEventType &type) override;
void finalize() override;
void clear() override;
......@@ -50,12 +50,12 @@ public:
InputEventsModel(QmlProfilerModelManager *manager, QObject *parent = 0);
int typeId(int index) const;
QColor color(int index) const;
QVariantList labels() const;
QVariantMap details(int index) const;
int expandedRow(int index) const;
int collapsedRow(int index) const;
int typeId(int index) const override;
QColor color(int index) const override;
QVariantList labels() const override;
QVariantMap details(int index) const override;
int expandedRow(int index) const override;
int collapsedRow(int index) const override;
private:
static QMetaEnum metaEnum(const char *name);
......
......@@ -55,18 +55,18 @@ public:
MemoryUsageModel(QmlProfilerModelManager *manager, QObject *parent = 0);
int rowMaxValue(int rowNumber) const;
int rowMaxValue(int rowNumber) const override;
int expandedRow(int index) const;
int collapsedRow(int index) const;
int typeId(int index) const;
QColor color(int index) const;
float relativeHeight(int index) const;
int expandedRow(int index) const override;
int collapsedRow(int index) const override;
int typeId(int index) const override;
QColor color(int index) const override;
float relativeHeight(int index) const override;
QVariantMap location(int index) const;
QVariantMap location(int index) const override;
QVariantList labels() const;
QVariantMap details(int index) const;
QVariantList labels() const override;
QVariantMap details(int index) const override;
protected:
bool accepted(const QmlEventType &type) const override;
......
......@@ -93,17 +93,17 @@ public:
PixmapCacheModel(QmlProfilerModelManager *manager, QObject *parent = 0);
int rowMaxValue(int rowNumber) const;
int rowMaxValue(int rowNumber) const override;
int expandedRow(int index) const;
int collapsedRow(int index) const;
int typeId(int index) const;
QColor color(int index) const;
float relativeHeight(int index) const;
int expandedRow(int index) const override;
int collapsedRow(int index) const override;
int typeId(int index) const override;
QColor color(int index) const override;
float relativeHeight(int index) const override;
QVariantList labels() const;
QVariantList labels() const override;
QVariantMap details(int index) const;
QVariantMap details(int index) const override;
protected:
void loadEvent(const QmlEvent &event, const QmlEventType &type) override;
......
......@@ -52,17 +52,17 @@ public:
QmlProfilerAnimationsModel(QmlProfilerModelManager *manager, QObject *parent = 0);
int rowMaxValue(int rowNumber) const;
int rowMaxValue(int rowNumber) const override;
int typeId(int index) const;
Q_INVOKABLE int expandedRow(int index) const;
Q_INVOKABLE int collapsedRow(int index) const;
int typeId(int index) const override;
Q_INVOKABLE int expandedRow(int index) const override;
Q_INVOKABLE int collapsedRow(int index) const override;
QColor color(int index) const;
float relativeHeight(int index) const;
QColor color(int index) const override;
float relativeHeight(int index) const override;
QVariantList labels() const;
QVariantMap details(int index) const;
QVariantList labels() const override;
QVariantMap details(int index) const override;
protected:
bool accepted(const QmlEventType &event) const override;
......
......@@ -59,19 +59,19 @@ public:
QmlProfilerRangeModel(QmlProfilerModelManager *manager, RangeType range, QObject *parent = 0);
Q_INVOKABLE int expandedRow(int index) const;
Q_INVOKABLE int collapsedRow(int index) const;
int bindingLoopDest(int index) const;
QColor color(int index) const;
Q_INVOKABLE int expandedRow(int index) const override;
Q_INVOKABLE int collapsedRow(int index) const override;
int bindingLoopDest(int index) const override;
QColor color(int index) const override;
QVariantList labels() const;
QVariantMap details(int index) const;
QVariantMap location(int index) const;
QVariantList labels() const override;
QVariantMap details(int index) const override;
QVariantMap location(int index) const override;
int typeId(int index) const;
int selectionIdForLocation(const QString &filename, int line, int column) const;
int typeId(int index) const override;
int selectionIdForLocation(const QString &filename, int line, int column) const override;
virtual QList<const Timeline::TimelineRenderPass *> supportedRenderPasses() const;
virtual QList<const Timeline::TimelineRenderPass *> supportedRenderPasses() const override;
protected:
void loadEvent(const QmlEvent &event, const QmlEventType &type) override;
......
......@@ -85,14 +85,14 @@ public:
SceneGraphTimelineModel(QmlProfilerModelManager *manager, QObject *parent = 0);
int expandedRow(int index) const;
int collapsedRow(int index) const;
int typeId(int index) const;
QColor color(int index) const;
int expandedRow(int index) const override;
int collapsedRow(int index) const override;
int typeId(int index) const override;
QColor color(int index) const override;
QVariantList labels() const;
QVariantList labels() const override;
QVariantMap details(int index) const;
QVariantMap details(int index) const override;
protected:
void loadEvent(const QmlEvent &event, const QmlEventType &type) override;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment