Document how to specify templates in type tables.
[kdbg.git] / kdbg / programconfig.h
blob325769d64dcd3f6055a4f4d90b8c9a7afb1e2e95
1 /*
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.
5 */
7 #include <kconfigbase.h>
9 class KConfigINIBackEnd;
11 class ProgramConfig : public KConfigBase
13 public:
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;
24 protected:
25 /**
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.
32 KEntryMap m_entryMap;
33 QString m_fileName;
34 // this is defined out-of-line
35 struct MyBackend;
36 MyBackend* m_iniBackend;