diff options
| author | 2016-04-30 18:30:29 +0100 | |
|---|---|---|
| committer | 2016-04-30 18:50:44 +0100 | |
| commit | 9ef8a30e2d170049cc9a9291c29df8258177a63a (patch) | |
| tree | 4e6de02023191b7e3594080ca22f36e0e1478651 /src/modules/objects/KvsObject_xmlreader.cpp | |
| parent | Apply clang-tidy: modernize-use-nullptr (diff) | |
| download | KVIrc-9ef8a30e2d170049cc9a9291c29df8258177a63a.tar.gz KVIrc-9ef8a30e2d170049cc9a9291c29df8258177a63a.tar.bz2 KVIrc-9ef8a30e2d170049cc9a9291c29df8258177a63a.zip | |
Apply clang-tidy: modernize-use-override
Diffstat (limited to 'src/modules/objects/KvsObject_xmlreader.cpp')
| -rw-r--r-- | src/modules/objects/KvsObject_xmlreader.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/objects/KvsObject_xmlreader.cpp b/src/modules/objects/KvsObject_xmlreader.cpp index 6cdd96b54..1e1c892c6 100644 --- a/src/modules/objects/KvsObject_xmlreader.cpp +++ b/src/modules/objects/KvsObject_xmlreader.cpp @@ -130,7 +130,7 @@ public: { m_pReader = pReader; } - ~KviXmlHandler() + ~KviXmlHandler() override { } @@ -162,7 +162,7 @@ private: } public: - virtual bool startDocument() + bool startDocument() override { KviKvsVariant ret; if(!m_pReader->callFunction(m_pReader, "onDocumentStart", &ret)) @@ -170,7 +170,7 @@ public: return handleKvsCallReturnValue(&ret); } - virtual bool endDocument() + bool endDocument() override { KviKvsVariant ret; if(!m_pReader->callFunction(m_pReader, "onDocumentEnd", &ret)) @@ -178,7 +178,7 @@ public: return handleKvsCallReturnValue(&ret); } - virtual bool startElement(const QString & szNamespaceUri, const QString & szLocalName, const QString & szQualifiedName, const QXmlAttributes & attrs) + bool startElement(const QString & szNamespaceUri, const QString & szLocalName, const QString & szQualifiedName, const QXmlAttributes & attrs) override { KviKvsVariant ret; KviKvsVariantList par; @@ -196,7 +196,7 @@ public: return handleKvsCallReturnValue(&ret); } - virtual bool endElement(const QString & szNamespaceUri, const QString & szLocalName, const QString & szQualifiedName) + bool endElement(const QString & szNamespaceUri, const QString & szLocalName, const QString & szQualifiedName) override { KviKvsVariant ret; KviKvsVariantList par; @@ -209,7 +209,7 @@ public: return handleKvsCallReturnValue(&ret); } - virtual bool characters(const QString & szChars) + bool characters(const QString & szChars) override { KviKvsVariant ret; KviKvsVariantList par; @@ -220,7 +220,7 @@ public: return handleKvsCallReturnValue(&ret); } - virtual bool warning(const QXmlParseException & exception) + bool warning(const QXmlParseException & exception) override { // recoverable QString szMsg; @@ -235,7 +235,7 @@ public: return handleKvsCallReturnValue(&ret); } - virtual bool error(const QXmlParseException & exception) + bool error(const QXmlParseException & exception) override { // recoverable QString szMsg; @@ -250,7 +250,7 @@ public: return handleKvsCallReturnValue(&ret); } - virtual bool fatalError(const QXmlParseException & exception) + bool fatalError(const QXmlParseException & exception) override { QString szMsg; decodeException(szMsg, true, exception); @@ -258,7 +258,7 @@ public: return true; } - virtual QString errorString() const + QString errorString() const override { return m_szErrorString; } |
