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

Fix warnings

parent bab96ac3
......@@ -25,8 +25,8 @@
class KDateFilter : public Grantlee::Filter
{
public:
explicit KDateFilter();
~KDateFilter();
KDateFilter();
~KDateFilter() override;
QVariant doFilter(const QVariant &input, const QVariant &argument = QVariant(), bool autoescape = false) const override;
bool isSafe() const override;
......@@ -37,8 +37,8 @@ private:
class KTimeFilter : public Grantlee::Filter
{
public:
explicit KTimeFilter();
~KTimeFilter();
KTimeFilter();
~KTimeFilter() override;
QVariant doFilter(const QVariant &input, const QVariant &argument = QVariant(), bool autoescape = false) const override;
bool isSafe() const override;
......@@ -49,8 +49,8 @@ private:
class KDateTimeFilter : public Grantlee::Filter
{
public:
explicit KDateTimeFilter();
~KDateTimeFilter();
KDateTimeFilter();
~KDateTimeFilter() override;
QVariant doFilter(const QVariant &input, const QVariant &argument = QVariant(), bool autoescape = false) const override;
bool isSafe() const override;
......
......@@ -54,7 +54,7 @@ class IconTag : public Grantlee::AbstractNodeFactory
Q_OBJECT
public:
explicit IconTag(QObject *parent = nullptr);
~IconTag();
~IconTag() override;
Grantlee::Node *getNode(const QString &tagContent, Grantlee::Parser *p) const override;
};
......@@ -65,7 +65,7 @@ class IconNode : public Grantlee::Node
public:
explicit IconNode(QObject *parent = nullptr);
IconNode(const QString &iconName, int sizeOrGroup, const QString &altText, QObject *parent = nullptr);
~IconNode();
~IconNode() override;
void render(Grantlee::OutputStream *stream, Grantlee::Context *c) const override;
......
......@@ -30,7 +30,7 @@ class KCalendarGrantleePlugin : public QObject, public Grantlee::TagLibraryInter
public:
explicit KCalendarGrantleePlugin(QObject *parent = nullptr);
~KCalendarGrantleePlugin();
~KCalendarGrantleePlugin() override;
QHash<QString, Grantlee::Filter *> filters(const QString &name) override;
QHash<QString, Grantlee::AbstractNodeFactory *> nodeFactories(const QString &name) override;
......
......@@ -30,7 +30,7 @@ class GrantleeKi18nLocalizer : public Grantlee::QtLocalizer
{
public:
explicit GrantleeKi18nLocalizer();
~GrantleeKi18nLocalizer();
~GrantleeKi18nLocalizer() override;
// Only reimplement string localization to use KLocalizedString instead of
// tr(), the remaining methods use QLocale internally, so we can reuse them
......
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