blob: 9a74d4124651001dc6b8311c86a3bfb7b20fd4ce (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 | /*
    This file is part of the KDE libraries
    SPDX-FileCopyrightText: 2010 Canonical Ltd
    SPDX-FileContributor: Aurélien Gâteau <aurelien.gateau@canonical.com>
    SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KCONFIGUTILS_H
#define KCONFIGUTILS_H
#include <QStringList>
class QString;
class KConfig;
class KConfigGroup;
namespace KConfigUtils
{
bool hasGroup(KConfig *, const QStringList &);
KConfigGroup openGroup(KConfig *, const QStringList &);
QStringList parseGroupString(const QString &str, bool *ok, QString *error);
QString unescapeString(const QString &str, bool *ok, QString *error);
} // namespace
#endif /* KCONFIGUTILS_H */
 |