Commit ed0962a6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override on destructor

parent 6a7730dc
Pipeline #43301 skipped
......@@ -14,7 +14,7 @@ class AkregatorConfigurePluginListWidget : public PimCommon::ConfigurePluginsLis
Q_OBJECT
public:
explicit AkregatorConfigurePluginListWidget(QWidget *parent = nullptr);
~AkregatorConfigurePluginListWidget();
~AkregatorConfigurePluginListWidget() override;
void save() override;
void doLoadFromGlobalSettings() override;
......
......@@ -49,7 +49,7 @@ class AkregatorPlugin : public KontactInterface::Plugin
public:
AkregatorPlugin(KontactInterface::Core *core, const QVariantList &);
~AkregatorPlugin();
~AkregatorPlugin() override;
int weight() const override
{
......
......@@ -16,7 +16,7 @@ class FeedStorageMK4Impl : public FeedStorage
{
public:
FeedStorageMK4Impl(const QString &url, StorageMK4Impl *main);
~FeedStorageMK4Impl();
~FeedStorageMK4Impl() override;
Q_REQUIRED_RESULT int unread() const override;
void setUnread(int unread) override;
......
......@@ -17,7 +17,7 @@ class c4_FileStream : public c4_Stream
{
public:
c4_FileStream(FILE *stream_, bool owned_ = false);
virtual ~c4_FileStream();
~c4_FileStream() override;
int Read(void *buffer_, int length_) override;
bool Write(const void *buffer_, int length_) override;
......@@ -34,7 +34,7 @@ class c4_FileStrategy : public c4_Strategy
public:
/// Construct a new strategy object
c4_FileStrategy(FILE *file_ = nullptr);
virtual ~c4_FileStrategy();
~c4_FileStrategy() override;
/// True if we can do I/O with this object
bool IsValid() const override;
......
......@@ -17,7 +17,7 @@ class c4_CustomHandler : public c4_Handler
public:
c4_CustomHandler(const c4_Property &prop_, c4_CustomSeq *seq_);
virtual ~c4_CustomHandler();
~c4_CustomHandler() override;
int ItemSize(int index_) override;
const void *Get(int index_, int &length_) override;
......@@ -240,7 +240,7 @@ class c4_SliceViewer : public c4_CustomViewer
public:
c4_SliceViewer(c4_Sequence &seq_, int first_, int limit_, int step_);
virtual ~c4_SliceViewer();
~c4_SliceViewer() override;
c4_View GetTemplate() override;
int GetSize() override;
......@@ -338,7 +338,7 @@ class c4_ProductViewer : public c4_CustomViewer
public:
c4_ProductViewer(c4_Sequence &seq_, const c4_View &view_);
virtual ~c4_ProductViewer();
~c4_ProductViewer() override;
c4_View GetTemplate() override;
int GetSize() override;
......@@ -399,7 +399,7 @@ class c4_RemapWithViewer : public c4_CustomViewer
public:
c4_RemapWithViewer(c4_Sequence &seq_, const c4_View &view_);
virtual ~c4_RemapWithViewer();
~c4_RemapWithViewer() override;
c4_View GetTemplate() override;
int GetSize() override;
......@@ -461,7 +461,7 @@ class c4_PairViewer : public c4_CustomViewer
public:
c4_PairViewer(c4_Sequence &seq_, const c4_View &view_);
virtual ~c4_PairViewer();
~c4_PairViewer() override;
c4_View GetTemplate() override;
int GetSize() override;
......@@ -549,7 +549,7 @@ class c4_ConcatViewer : public c4_CustomViewer
public:
c4_ConcatViewer(c4_Sequence &seq_, const c4_View &view_);
virtual ~c4_ConcatViewer();
~c4_ConcatViewer() override;
c4_View GetTemplate() override;
int GetSize() override;
......@@ -623,7 +623,7 @@ class c4_RenameViewer : public c4_CustomViewer
public:
c4_RenameViewer(c4_Sequence &seq_, const c4_Property &old_, const
c4_Property &new_);
virtual ~c4_RenameViewer();
~c4_RenameViewer() override;
c4_View GetTemplate() override;
int GetSize() override;
......@@ -685,7 +685,7 @@ class c4_GroupByViewer : public c4_CustomViewer
public:
c4_GroupByViewer(c4_Sequence &seq_, const c4_View &keys_, const c4_Property
&result_);
virtual ~c4_GroupByViewer();
~c4_GroupByViewer() override;
c4_View GetTemplate() override;
int GetSize() override;
......@@ -824,7 +824,7 @@ class c4_JoinPropViewer : public c4_CustomViewer
public:
c4_JoinPropViewer(c4_Sequence &seq_, const c4_ViewProp &sub_, bool outer_);
virtual ~c4_JoinPropViewer();
~c4_JoinPropViewer() override;
c4_View GetTemplate() override;
int GetSize() override;
......@@ -928,7 +928,7 @@ class c4_JoinViewer : public c4_CustomViewer
public:
c4_JoinViewer(c4_Sequence &seq_, const c4_View &keys_, const c4_View &view_, bool outer_);
virtual ~c4_JoinViewer();
~c4_JoinViewer() override;
c4_View GetTemplate() override;
int GetSize() override;
......
......@@ -34,7 +34,7 @@ protected:
protected:
c4_FilterSeq(c4_Sequence &seq_);
virtual ~c4_FilterSeq();
~c4_FilterSeq() override;
void FixupReverseMap();
int PosInMap(int index_) const;
......@@ -499,7 +499,7 @@ public:
typedef t4_i32 T;
c4_SortSeq(c4_Sequence &seq_, c4_Sequence *down_);
virtual ~c4_SortSeq();
~c4_SortSeq() override;
c4_Notifier *PreChange(c4_Notifier &nf_) override;
void PostChange(c4_Notifier &nf_) override;
......@@ -889,7 +889,7 @@ class c4_ProjectSeq : public c4_DerivedSeq
public:
c4_ProjectSeq(c4_Sequence &seq_, c4_Sequence &in_, bool, c4_Sequence *out_);
virtual ~c4_ProjectSeq();
~c4_ProjectSeq() override;
int NumHandlers() const override;
c4_Handler &NthHandler(int) const override;
......
......@@ -19,7 +19,7 @@ class c4_FormatHandler : public c4_Handler
public:
c4_FormatHandler(const c4_Property &prop_, c4_HandlerSeq &owner_);
virtual ~c4_FormatHandler();
~c4_FormatHandler() override;
bool IsPersistent() const override;
......@@ -284,7 +284,7 @@ class c4_FormatB : public c4_FormatHandler
{
public:
c4_FormatB(const c4_Property &prop_, c4_HandlerSeq &seq_);
virtual ~c4_FormatB();
~c4_FormatB() override;
void Define(int, const t4_byte **) override;
void OldDefine(char type_, c4_Persist &) override;
......@@ -977,7 +977,7 @@ class c4_FormatV : public c4_FormatHandler
{
public:
c4_FormatV(const c4_Property &prop_, c4_HandlerSeq &seq_);
virtual ~c4_FormatV();
~c4_FormatV() override;
void Define(int rows_, const t4_byte **ptr_) override;
void OldDefine(char type_, c4_Persist &) override;
......
......@@ -134,7 +134,7 @@ public:
protected:
c4_Handler *CreateHandler(const c4_Property &) override;
virtual ~c4_HandlerSeq();
~c4_HandlerSeq() override;
};
/////////////////////////////////////////////////////////////////////////////
......
......@@ -20,7 +20,7 @@ public:
{
}
virtual ~c4_ReadOnlyViewer()
~c4_ReadOnlyViewer() override
{
}
......@@ -99,7 +99,7 @@ class c4_HashViewer : public c4_CustomViewer
public:
c4_HashViewer(c4_Sequence &seq_, int numKeys_, c4_Sequence *map_ = nullptr);
virtual ~c4_HashViewer();
~c4_HashViewer() override;
c4_View GetTemplate() override;
int GetSize() override;
......@@ -550,7 +550,7 @@ class c4_BlockedViewer : public c4_CustomViewer
public:
c4_BlockedViewer(c4_Sequence &seq_);
virtual ~c4_BlockedViewer();
~c4_BlockedViewer() override;
c4_View GetTemplate() override;
int GetSize() override;
......@@ -912,7 +912,7 @@ class c4_OrderedViewer : public c4_CustomViewer
public:
c4_OrderedViewer(c4_Sequence &seq_, int numKeys_);
virtual ~c4_OrderedViewer();
~c4_OrderedViewer() override;
c4_View GetTemplate() override;
int GetSize() override;
......@@ -1056,7 +1056,7 @@ class c4_IndexedViewer : public c4_CustomViewer
public:
c4_IndexedViewer(c4_Sequence &seq_, c4_Sequence &map_, const c4_View
&props_, bool unique_);
virtual ~c4_IndexedViewer();
~c4_IndexedViewer() override;
c4_View GetTemplate() override;
int GetSize() override;
......
......@@ -22,7 +22,7 @@ class MK4Plugin : public Akregator::Plugin
Q_OBJECT
public:
explicit MK4Plugin(QObject *parent, const QVariantList &params);
~MK4Plugin();
~MK4Plugin() override;
private:
void doInitialize() override;
......
......@@ -25,7 +25,7 @@ public:
StorageMK4Impl();
StorageMK4Impl(const StorageMK4Impl &);
StorageMK4Impl &operator =(const StorageMK4Impl &);
~StorageMK4Impl();
~StorageMK4Impl() override;
/** KGlobal::dirs()->saveLocation("data", "akregator")+"/Archive" */
static QString defaultArchivePath();
......
......@@ -69,7 +69,7 @@ public:
/** default constructor */
explicit Feed(Akregator::Backend::Storage *storage);
~Feed();
~Feed() override;
Q_REQUIRED_RESULT bool accept(TreeNodeVisitor *visitor) override;
......
......@@ -24,7 +24,7 @@ public:
};
explicit StatusSearchLine(QWidget *parent = nullptr);
~StatusSearchLine();
~StatusSearchLine() override;
void setStatus(StatusSearchLine::Status status);
......
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