KConfig Class Reference

[kdecore Index] [kdecore Hierarchy] [Headers]


KDE Configuration Management class More...

#include <kconfig.h>

Inherits: KConfigBase

Public Members

Protected Members

Private Members


Detailed Description

KDE Configuration entries

This class implements KDE's default-based configuration system.

See Also: KApplication


KConfig( const char* pGlobalAppFile = 0L, const char* pLocalAppFile = 0L ) [public]

Construct a KConfig object.

Parameters:
pGlobalAppFile A file to parse in addition to the normally parsed files.
pLocalAppFile Another file to parse in addition to the normally parsed files (has priority over pGlobalAppFile

~KConfig() [public virtual]

Destructor.

Writes back any dirty configuration entries.

void sync() [public virtual]

Write back the config cache.

void parseConfigFiles() [protected virtual]

Open all appropriate configuration files and pass them on toparseOneConfigFile()

bool writeConfigFile( QFile& rFile, bool bGlobal = false ) [protected]

Write back the configuration data.


  • Author: Kalle Dalheimer (kalle@kde.org)
  • Version: $Id: kconfig.h,v 1.7 1998/01/18 14:38:48 kulow Exp $
  • Documentation generated by root@darkstar.lst.de on Wed Sep 8 17:38:18 CEST 1999
Kdoc