kconf_update
kconfigutils.h
Go to the documentation of this file.
00001 /* This file is part of the KDE libraries 00002 Copyright 2010 Canonical Ltd 00003 Author: Aurélien Gâteau <aurelien.gateau@canonical.com> 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License (LGPL) as published by the Free Software Foundation; 00008 either version 2 of the License, or (at your option) any later 00009 version. 00010 00011 This library is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 Library General Public License for more details. 00015 00016 You should have received a copy of the GNU Library General Public License 00017 along with this library; see the file COPYING.LIB. If not, write to 00018 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00019 Boston, MA 02110-1301, USA. 00020 */ 00021 #ifndef KCONFIGUTILS_H 00022 #define KCONFIGUTILS_H 00023 00024 class QString; 00025 class QStringList; 00026 00027 class KConfig; 00028 class KConfigGroup; 00029 00030 namespace KConfigUtils 00031 { 00032 00033 bool hasGroup(KConfig *, const QStringList &); 00034 00035 KConfigGroup openGroup(KConfig *, const QStringList &); 00036 00037 QStringList parseGroupString(const QString &str, bool *ok, QString *error); 00038 00039 QString unescapeString(const QString &str, bool *ok, QString *error); 00040 00041 } // namespace 00042 00043 #endif /* KCONFIGUTILS_H */
KDE 4.6 API Reference