File indexing completed on 2024-05-12 15:34:15

0001 /*
0002     This file is part of the KDE libraries
0003 
0004     SPDX-FileCopyrightText: 2010 Canonical Ltd
0005     SPDX-FileContributor: Aurélien Gâteau <aurelien.gateau@canonical.com>
0006 
0007     SPDX-License-Identifier: LGPL-2.0-or-later
0008 */
0009 #ifndef KCONFIGUTILS_H
0010 #define KCONFIGUTILS_H
0011 
0012 #include <QStringList>
0013 
0014 class QString;
0015 
0016 class KConfig;
0017 class KConfigGroup;
0018 
0019 namespace KConfigUtils
0020 {
0021 bool hasGroup(KConfig *, const QStringList &);
0022 
0023 KConfigGroup openGroup(KConfig *, const QStringList &);
0024 
0025 QStringList parseGroupString(const QString &str, bool *ok, QString *error);
0026 
0027 QString unescapeString(const QString &str, bool *ok, QString *error);
0028 
0029 } // namespace
0030 
0031 #endif /* KCONFIGUTILS_H */