aboutsummaryrefslogtreecommitdiff
path: root/src/gui/kconfigloaderhandler_p.h
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2021-05-03 01:49:43 +0200
committerAhmad Samir <a.samirh78@gmail.com>2021-05-09 07:50:25 +0000
commit2e8742e64fc02477296335c39b0485895321855b (patch)
tree3aab8862899b9805bd8261a6e14c52d86118d15d /src/gui/kconfigloaderhandler_p.h
parentf3e8853abf53a80cbe7d7a0de21070505b1ee5fb (diff)
downloadkconfig-2e8742e64fc02477296335c39b0485895321855b.tar.gz
kconfig-2e8742e64fc02477296335c39b0485895321855b.tar.bz2
Revert QStringView port
QStringView has some bits of API that were only added in 5.15.2, whereas KF requires 5.15.0. This reverts commit 1780fb2a237af80ddc1f9cfb70cb892b53b91990.
Diffstat (limited to 'src/gui/kconfigloaderhandler_p.h')
-rw-r--r--src/gui/kconfigloaderhandler_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/kconfigloaderhandler_p.h b/src/gui/kconfigloaderhandler_p.h
index 297e5462..bc199e0e 100644
--- a/src/gui/kconfigloaderhandler_p.h
+++ b/src/gui/kconfigloaderhandler_p.h
@@ -17,8 +17,9 @@ public:
bool parse(QIODevice *input);
- void startElement(const QStringView localName, const QXmlStreamAttributes &attrs);
- void endElement(const QStringView localName);
+ bool startElement(const QStringRef &localName, const QXmlStreamAttributes &attrs);
+ bool endElement(const QStringRef &localName);
+ bool characters(const QStringRef &ch);
private:
void addItem();