From 28ddbf8138c865e19e8836b49af74f9d3bc20401 Mon Sep 17 00:00:00 2001 From: Kevin Funk Date: Thu, 12 Feb 2015 00:17:57 +0100 Subject: Use Q_DECL_OVERRIDE where possible With -Winconsistent-missing-override (Clang), headers from KConfig are throwing a lot of warnings. REVIEW: 122539 --- src/gui/kconfigloaderhandler_p.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/kconfigloaderhandler_p.h') diff --git a/src/gui/kconfigloaderhandler_p.h b/src/gui/kconfigloaderhandler_p.h index 1c7c5a1d..d936b3be 100644 --- a/src/gui/kconfigloaderhandler_p.h +++ b/src/gui/kconfigloaderhandler_p.h @@ -28,10 +28,10 @@ class ConfigLoaderHandler : public QXmlDefaultHandler public: ConfigLoaderHandler(KConfigLoader *config, ConfigLoaderPrivate *d); bool startElement(const QString &namespaceURI, const QString &localName, - const QString &qName, const QXmlAttributes &atts); + const QString &qName, const QXmlAttributes &atts) Q_DECL_OVERRIDE; bool endElement(const QString &namespaceURI, const QString &localName, - const QString &qName); - bool characters(const QString &ch); + const QString &qName) Q_DECL_OVERRIDE; + bool characters(const QString &ch) Q_DECL_OVERRIDE; QString name() const; void setName(const QString &name); -- cgit v1.2.1