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 b15fff02 authored by Laurent Montel's avatar Laurent Montel 😁

Use override

parent ef009f5f
......@@ -37,7 +37,7 @@ class AKREGATORINTERFACES_EXPORT Command : public QObject
Q_OBJECT
public:
explicit Command(QObject *parent = nullptr);
virtual ~Command();
~Command() override;
QWidget *parentWidget() const;
void setParentWidget(QWidget *parentWidget);
......
......@@ -43,7 +43,7 @@ class AKREGATORINTERFACES_EXPORT Plugin : public QObject
public:
explicit Plugin(QObject *parent = nullptr, const QVariantList &opts = QVariantList());
virtual ~Plugin();
~Plugin() override;
void initialize();
......
......@@ -24,7 +24,7 @@ class c4_CustomSeq : public c4_HandlerSeq
public:
c4_CustomSeq(c4_CustomViewer *viewer_);
virtual ~c4_CustomSeq();
~c4_CustomSeq() override;
int NumRows() const override;
......
......@@ -68,7 +68,7 @@ protected:
protected:
c4_DerivedSeq(c4_Sequence &seq_);
virtual ~c4_DerivedSeq();
~c4_DerivedSeq() override;
public:
int RemapIndex(int, const c4_Sequence *) const override;
......@@ -96,7 +96,7 @@ class c4_StreamStrategy : public c4_Strategy
public:
c4_StreamStrategy(t4_i32 buflen_);
c4_StreamStrategy(c4_Stream *stream_);
virtual ~c4_StreamStrategy();
~c4_StreamStrategy() override;
bool IsValid() const override;
int DataRead(t4_i32 pos_, void *buffer_, int length_) override;
......
......@@ -99,7 +99,7 @@ class AbstractSelectionController : public QObject
public:
explicit AbstractSelectionController(QObject *parent = nullptr);
virtual ~AbstractSelectionController();
~AbstractSelectionController() override;
virtual void setFeedList(const QSharedPointer<FeedList> &list) = 0;
......
......@@ -54,7 +54,7 @@ public:
static void setInstance(ActionManager *manager);
explicit ActionManager(QObject *parent = nullptr);
virtual ~ActionManager();
~ActionManager() override;
virtual QAction *action(const QString &name) = 0;
virtual QWidget *container(const QString &name) = 0;
......
......@@ -55,7 +55,7 @@ class ActionManagerImpl : public ActionManager
public:
explicit ActionManagerImpl(Part *part, QObject *parent = nullptr);
virtual ~ActionManagerImpl();
~ActionManagerImpl() override;
QAction *action(const QString &name) override;
QWidget *container(const QString &name) override;
......
......@@ -33,7 +33,7 @@ class FeedStorageDummyImpl : public FeedStorage
{
public:
FeedStorageDummyImpl(const QString &url, StorageDummyImpl *main);
virtual ~FeedStorageDummyImpl();
~FeedStorageDummyImpl() override;
void add(FeedStorage *source) override;
void copyArticle(const QString &guid, FeedStorage *source) override;
......
......@@ -48,7 +48,7 @@ class AKREGATOR_EXPORT Frame : public QWidget
public:
explicit Frame(QWidget *parent = nullptr);
virtual ~Frame();
~Frame() override;
enum State {
Idle, Started, Completed, Canceled
......
......@@ -65,7 +65,7 @@ public:
TreeNode();
/** Standard destructor */
virtual ~TreeNode();
~TreeNode() override;
virtual bool accept(TreeNodeVisitor *visitor) = 0;
......
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