libtdepim

KPIM::ConfigManager Class Reference

#include <configmanager.h>

Inherits TQObject.

List of all members.

Signals

void changed ()

Public Member Functions

virtual void commit ()=0
virtual void rollback ()=0
virtual bool hasPendingChanges () const =0

Protected Member Functions

 ConfigManager (TQObject *parent=0, const char *name=0)

Detailed Description

Class for managing a set of config options.

Author:
Marc Mutz <mutz@kde.org>

Definition at line 32 of file configmanager.h.


Member Function Documentation

void KPIM::ConfigManager::changed ( ) [signal]

Emitted whenever a commit changes any configure option.

virtual void KPIM::ConfigManager::commit ( ) [pure virtual]

Commit changes to disk and emit changed() if necessary.

virtual bool KPIM::ConfigManager::hasPendingChanges ( ) const [pure virtual]

Check whether there are any unsaved changes.

virtual void KPIM::ConfigManager::rollback ( ) [pure virtual]

Re-read the config from disk and forget changes.


The documentation for this class was generated from the following files: