KConfig

kconfigutils.h
1 /*
2  This file is part of the KDE libraries
3 
4  SPDX-FileCopyrightText: 2010 Canonical Ltd
5  SPDX-FileContributor: Aurélien Gâteau <[email protected]>
6 
7  SPDX-License-Identifier: LGPL-2.0-or-later
8 */
9 #ifndef KCONFIGUTILS_H
10 #define KCONFIGUTILS_H
11 
12 class QString;
13 class QStringList;
14 
15 class KConfig;
16 class KConfigGroup;
17 
18 namespace KConfigUtils
19 {
20 
21 bool hasGroup(KConfig *, const QStringList &);
22 
23 KConfigGroup openGroup(KConfig *, const QStringList &);
24 
25 QStringList parseGroupString(const QString &str, bool *ok, QString *error);
26 
27 QString unescapeString(const QString &str, bool *ok, QString *error);
28 
29 } // namespace
30 
31 #endif /* KCONFIGUTILS_H */
A class for one specific group in a KConfig object.
Definition: kconfiggroup.h:38
The central class of the KDE configuration data system.
Definition: kconfig.h:56
KDB_EXPORT QString unescapeString(const QString &string, char quote, int *errorPosition=nullptr)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Jul 11 2020 22:47:24 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.