fix logic
[personal-kdelibs.git] / kdecore / config / kconfiggroup_p.h
blob194cf4da73260087f26d5ef118378537b29c89dc
1 /*
2 This file is part of the KDE libraries
3 Copyright (c) 2007 Thiago Macieira <thiago@kde.org>
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
21 #ifndef KCONFIGGROUP_P_H
22 #define KCONFIGGROUP_P_H
24 #include <QtCore/QVariant>
25 #include "kconfiggroup.h"
27 class KConfigGroup;
29 struct KConfigGroupGui
31 typedef bool (*kReadEntryGui)(const QByteArray& data, const char* key, const QVariant &input,
32 QVariant &output);
33 typedef bool (*kWriteEntryGui)(KConfigGroup *, const char* key, const QVariant &input,
34 KConfigGroup::WriteConfigFlags flags);
36 kReadEntryGui readEntryGui;
37 kWriteEntryGui writeEntryGui;
40 extern KDECORE_EXPORT KConfigGroupGui _kde_internal_KConfigGroupGui;
42 #endif