2 * Copyright Johannes Sixt
3 * This file is licensed under the GNU General Public License Version 2.
4 * See the file COPYING in the toplevel directory of the source directory.
7 #include <kconfigbase.h>
9 class KConfigINIBackEnd
;
11 class ProgramConfig
: public KConfigBase
14 ProgramConfig(const QString
&fileName
);
15 virtual QStringList
groupList() const;
16 virtual QMap
<QString
, QString
> entryMap(const QString
&group
) const;
17 virtual void reparseConfiguration();
18 virtual KEntryMap
internalEntryMap( const QString
& pGroup
) const;
19 virtual KEntryMap
internalEntryMap() const;
20 virtual void putData(const KEntryKey
&_key
, const KEntry
&_data
, bool _checkGroup
= true);
21 virtual KEntry
lookupData(const KEntryKey
&_key
) const;
22 virtual bool internalHasGroup(const QCString
&group
) const;
26 * Contains all key,value entries, as well as some "special"
27 * keys which indicate the start of a group of entries.
29 * These special keys will have the .key portion of their @ref KEntryKey
30 * set to QString::null.
34 // this is defined out-of-line
36 MyBackend
* m_iniBackend
;