3 // Copyright by Johannes Sixt
4 // This file is licensed under GPL, the GNU General Public Licence
6 #include <kconfigbase.h>
8 class KConfigINIBackEnd
;
10 class ProgramConfig
: public KConfigBase
13 ProgramConfig(const QString
&fileName
);
14 virtual QStringList
groupList() const;
15 virtual QMap
<QString
, QString
> entryMap(const QString
&group
) const;
16 virtual void reparseConfiguration();
17 virtual KEntryMap
internalEntryMap( const QString
& pGroup
) const;
18 virtual KEntryMap
internalEntryMap() const;
19 virtual void putData(const KEntryKey
&_key
, const KEntry
&_data
, bool _checkGroup
= true);
20 virtual KEntry
lookupData(const KEntryKey
&_key
) const;
21 virtual bool internalHasGroup(const QCString
&group
) const;
25 * Contains all key,value entries, as well as some "special"
26 * keys which indicate the start of a group of entries.
28 * These special keys will have the .key portion of their @ref KEntryKey
29 * set to QString::null.
33 // this is defined out-of-line
35 MyBackend
* m_iniBackend
;