Commit 492df95c authored by Laurent Montel's avatar Laurent Montel 😁

Use Q_DECL_OVERRIDE

parent 193d5b4d
...@@ -28,7 +28,7 @@ public: ...@@ -28,7 +28,7 @@ public:
private slots: private slots:
void slotUser1(); void slotUser1();
protected: protected:
bool checkPassword(); bool checkPassword() Q_DECL_OVERRIDE;
private: private:
SuProcess proc; SuProcess proc;
......
...@@ -48,9 +48,9 @@ public: ...@@ -48,9 +48,9 @@ public:
FileTypesView(QWidget *parent, const QVariantList &args); FileTypesView(QWidget *parent, const QVariantList &args);
~FileTypesView(); ~FileTypesView();
void load(); void load() Q_DECL_OVERRIDE;
void save(); void save() Q_DECL_OVERRIDE;
void defaults(); void defaults() Q_DECL_OVERRIDE;
protected Q_SLOTS: protected Q_SLOTS:
void addType(); void addType();
...@@ -98,7 +98,7 @@ public: ...@@ -98,7 +98,7 @@ public:
} }
protected: protected:
void drawRow(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const { void drawRow(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const Q_DECL_OVERRIDE {
static_cast<TypesListItem *>(itemFromIndex(index))->loadIcon(); static_cast<TypesListItem *>(itemFromIndex(index))->loadIcon();
QTreeWidget::drawRow(painter, option, index); QTreeWidget::drawRow(painter, option, index);
......
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