KConfigLDAPBackEnd Class Reference

#include <kconfigldapbackend.h>

Inheritance diagram for KConfigLDAPBackEnd:

KConfigBackEnd

List of all members.


Detailed Description

Class for KDE INI-style configuration file loading/saving from LDAP.

Author:
Willem Verschuur <willverschuur@yahoo.com>

Helio Chissini de Castro <helio@kde.org>

Definition at line 34 of file kconfigldapbackend.h.


Public Member Functions

 KConfigLDAPBackEnd (KConfigBase *_config, const QString &_fileName, const char *_resType, bool _useKDEGlobals=true)
bool parseConfigFiles ()
virtual void sync (bool bMerge=true)
void setFileImmutable (bool mt)
bool getFileImmutable ()
void setGroupImmutable (QString str, bool mt)
QMap< QString, bool > getGroupImmutable ()

Protected Member Functions

virtual void virtual_hook (int id, void *data)

Protected Attributes

bool _fileImmutable
QMap< QString, bool > _groupImmutable

Member Function Documentation

bool KConfigLDAPBackEnd::parseConfigFiles (  )  [virtual]

Parses all configuration files for a configuration object.

This method must be reimplemented by the derived classes.

Returns:
Whether or not parsing was successful.

Implements KConfigBackEnd.

Definition at line 49 of file kconfigldapbackend.cpp.

void KConfigLDAPBackEnd::sync ( bool  bMerge = true  )  [virtual]

Writes configuration data to file(s).

This method must be reimplemented by the derived classes.

Parameters:
bMerge Specifies whether the old config file already on disk should be merged in with the data in memory. If true, data is read off the disk and merged. If false, the on-disk file is removed and only in-memory data is written out.

Implements KConfigBackEnd.

Definition at line 185 of file kconfigldapbackend.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys