Commit 47092d8e authored by Tobias Hunger's avatar Tobias Hunger
Browse files

themeeditor: s/Q_DECL_OVERRIDE/override/g



Change-Id: I81d4465ee89ac20f8d808bd8a74caafef436b79d
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 6d6bb7a4
......@@ -50,16 +50,16 @@ public:
virtual Qt::ItemFlags sectionBodyFlags(int section, int row, int column) const = 0;
virtual Qt::ItemFlags sectionHeaderFlags(int section) const = 0;
virtual int sectionCount() const = 0;
QSize span(const QModelIndex &index) const Q_DECL_OVERRIDE;
QSize span(const QModelIndex &index) const override;
int inSectionBody(int row) const;
int modelToSectionRow(int row) const;
int sectionHeader(int row) const;
protected:
int rowCount(const QModelIndex &index) const Q_DECL_OVERRIDE;
QVariant data(const QModelIndex &index, int role) const Q_DECL_OVERRIDE;
Qt::ItemFlags flags(const QModelIndex &index) const Q_DECL_OVERRIDE;
int rowCount(const QModelIndex &index) const override;
QVariant data(const QModelIndex &index, int role) const override;
Qt::ItemFlags flags(const QModelIndex &index) const override;
};
} // namespace ThemeEditor
......
......@@ -58,9 +58,9 @@ class ThemeSettingsItemDelegate : public QStyledItemDelegate
public:
ThemeSettingsItemDelegate(QObject *parent);
QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const Q_DECL_OVERRIDE;
void setEditorData(QWidget *editor, const QModelIndex &index) const Q_DECL_OVERRIDE;
void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const Q_DECL_OVERRIDE;
QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
void setEditorData(QWidget *editor, const QModelIndex &index) const override;
void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override;
void popupMenu();
......
......@@ -57,15 +57,15 @@ public:
ThemeSettingsTableModel(QObject *parent = 0);
bool setData(const QModelIndex &index, const QVariant &value, int role) Q_DECL_OVERRIDE;
QVariant headerData(int section, Qt::Orientation orientation, int role) const Q_DECL_OVERRIDE;
int columnCount(const QModelIndex &index) const Q_DECL_OVERRIDE;
int sectionRowCount(int section) const Q_DECL_OVERRIDE;
QVariant sectionBodyData(int section, int row, int column, int role) const Q_DECL_OVERRIDE;
QVariant sectionHeaderData(int section, int role) const Q_DECL_OVERRIDE;
Qt::ItemFlags sectionBodyFlags(int section, int row, int column) const Q_DECL_OVERRIDE;
Qt::ItemFlags sectionHeaderFlags(int section) const Q_DECL_OVERRIDE;
int sectionCount() const Q_DECL_OVERRIDE;
bool setData(const QModelIndex &index, const QVariant &value, int role) override;
QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
int columnCount(const QModelIndex &index) const override;
int sectionRowCount(int section) const override;
QVariant sectionBodyData(int section, int row, int column, int role) const override;
QVariant sectionHeaderData(int section, int role) const override;
Qt::ItemFlags sectionBodyFlags(int section, int row, int column) const override;
Qt::ItemFlags sectionHeaderFlags(int section) const override;
int sectionCount() const override;
ThemeColors::Ptr colors() const { return m_colors; }
......
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