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

Use Q_DECL_OVERRIDE

parent 193d5b4d
......@@ -28,7 +28,7 @@ public:
private slots:
void slotUser1();
protected:
bool checkPassword();
bool checkPassword() Q_DECL_OVERRIDE;
private:
SuProcess proc;
......
......@@ -48,9 +48,9 @@ public:
FileTypesView(QWidget *parent, const QVariantList &args);
~FileTypesView();
void load();
void save();
void defaults();
void load() Q_DECL_OVERRIDE;
void save() Q_DECL_OVERRIDE;
void defaults() Q_DECL_OVERRIDE;
protected Q_SLOTS:
void addType();
......@@ -98,7 +98,7 @@ public:
}
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();
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