Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit c8db5133 authored by Laurent Montel's avatar Laurent Montel 😁

Use override directly

parent 1a20906f
......@@ -64,7 +64,7 @@ public:
/**
* Destroys the filter manager.
*/
virtual ~FilterManager();
~FilterManager() override;
/**
* Clears the list of filters and deletes them.
......
......@@ -32,7 +32,7 @@ class AccountsPageSendingTab : public ConfigModuleTab
Q_OBJECT
public:
explicit AccountsPageSendingTab(QWidget *parent = nullptr);
virtual ~AccountsPageSendingTab();
~AccountsPageSendingTab() override;
QString helpAnchor() const;
void save() override;
......
......@@ -39,7 +39,7 @@ class KMailPart : public KParts::ReadOnlyPart
public:
KMailPart(QWidget *parentWidget, QObject *parent, const QVariantList &);
virtual ~KMailPart();
~KMailPart() override;
QWidget *parentWidget() const;
......
......@@ -62,7 +62,7 @@ public:
// Retrieve all messages in msgList when start is called.
KMCommand(QWidget *parent, const Akonadi::Item::List &msgList);
// Retrieve the single message msgBase when start is called.
virtual ~KMCommand();
~KMCommand() override;
/** Returns the result of the command. Only call this method from the slot
connected to completed().
......
......@@ -96,7 +96,7 @@ public:
typedef QList<KMMainWidget *> PtrList;
KMMainWidget(QWidget *parent, KXMLGUIClient *aGUIClient, KActionCollection *actionCollection, KSharedConfig::Ptr config = KMKernel::self()->config());
virtual ~KMMainWidget();
~KMMainWidget() override;
void destruct();
/** Read configuration options before widgets are created. */
......
......@@ -38,7 +38,7 @@ public:
// the main window needs to have a name since else restoring the window
// settings by kwin doesn't work
explicit KMMainWin(QWidget *parent = nullptr);
virtual ~KMMainWin();
~KMMainWin() override;
KMMainWidget *mainKMWidget() const;
/// Same as KMMainWin::restore(), except that it also restores the docked state,
......
......@@ -36,7 +36,7 @@ public:
KMReaderMainWin(MessageViewer::Viewer::DisplayFormatMessage format, bool htmlLoadExtOverride, const QString &name = QString());
explicit KMReaderMainWin(const QString &name = QString());
KMReaderMainWin(KMime::Content *aMsgPart, MessageViewer::Viewer::DisplayFormatMessage format, const QString &encoding, const QString &name = QString());
virtual ~KMReaderMainWin();
~KMReaderMainWin() override;
void setUseFixedFont(bool useFixedFont);
......
......@@ -54,7 +54,7 @@ class KMAIL_EXPORT KMReaderWin : public QWidget
public:
explicit KMReaderWin(QWidget *parent, QWidget *mainWindow, KActionCollection *actionCollection);
virtual ~KMReaderWin();
~KMReaderWin() override;
/** Read settings from app's config file. */
void readConfig();
......
......@@ -46,7 +46,7 @@ private Q_SLOTS:
private:
KMailSettings();
virtual ~KMailSettings();
~KMailSettings() override;
static KMailSettings *mSelf;
QTimer *mConfigSyncTimer = nullptr;
......
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