Commit 11b4bead authored by Laurent Montel's avatar Laurent Montel 😁

Use Q_DECL_OVERRIDE/Q_NULLPTR

parent d71120df
......@@ -41,8 +41,8 @@ public Q_SLOTS:
void updateQuickSearchText();
protected:
virtual bool openFile() Q_DECL_OVERRIDE;
virtual void guiActivateEvent(KParts::GUIActivateEvent *) Q_DECL_OVERRIDE;
bool openFile() Q_DECL_OVERRIDE;
void guiActivateEvent(KParts::GUIActivateEvent *) Q_DECL_OVERRIDE;
void initAction();
private:
MainWidget *mMainWidget;
......
......@@ -56,7 +56,7 @@ public:
/**
* Returns the size hint of the quick search widget.
*/
virtual QSize sizeHint() const Q_DECL_OVERRIDE;
QSize sizeHint() const Q_DECL_OVERRIDE;
void updateQuickSearchText(const QString &text);
......
......@@ -48,7 +48,7 @@ public:
KContacts::AddresseeList contacts() const;
protected Q_SLOTS:
virtual void slotButtonClicked(int) Q_DECL_OVERRIDE;
void slotButtonClicked(int) Q_DECL_OVERRIDE;
private Q_SLOTS:
void setFile(const QString &);
......
......@@ -109,7 +109,7 @@ public:
/**
* Inherited from QAbstractTableModel.
*/
virtual bool setData(const QModelIndex &index, const QVariant &data, int role = Qt::EditRole) Q_DECL_OVERRIDE;
bool setData(const QModelIndex &index, const QVariant &data, int role = Qt::EditRole) Q_DECL_OVERRIDE;
/**
* Inherited from QAbstractTableModel.
......
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