KConfig Class Reference

[kdecore Index] [kdecore Hierarchy] [Headers]


KDE Configuration Management class More...

#include <kconfig.h>

Inherits: KConfigBase

Public Members

Protected 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.html.in,v 1.1.1.1 2000/02/09 22:24:50 tasin Exp $
  • Documentation generated by tasin@cd1 on Die Nov 30 17:31:35 CET 1999
Kdoc