From 4f8ed9b7815584afc59a9ea73bb401d9b4006d68 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Wed, 18 Aug 2021 15:26:07 +0200 Subject: Port to QStrinView Now that KF requires Qt 5.15.2; this basically reverts commit 2e8742e64fc0 with some trivial changes. NO_CHANGELOG --- src/gui/kconfigloaderhandler_p.h | 5 ++--- 1 file changed, 2 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 bc199e0e..297e5462 100644 --- a/src/gui/kconfigloaderhandler_p.h +++ b/src/gui/kconfigloaderhandler_p.h @@ -17,9 +17,8 @@ public: bool parse(QIODevice *input); - bool startElement(const QStringRef &localName, const QXmlStreamAttributes &attrs); - bool endElement(const QStringRef &localName); - bool characters(const QStringRef &ch); + void startElement(const QStringView localName, const QXmlStreamAttributes &attrs); + void endElement(const QStringView localName); private: void addItem(); -- cgit v1.2.1