libkdepim Library API Documentation

KPIM::ConfigManager Class Reference

Class for managing a set of config options. More...

#include <configmanager.h>

Inheritance diagram for KPIM::ConfigManager:

Inheritance graph
[legend]
Collaboration diagram for KPIM::ConfigManager:

Collaboration graph
[legend]
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 (QObject *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 30 of file configmanager.h.


Member Function Documentation

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

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

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

Re-read the config from disk and forget changes.

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

Check whether there are any unsaved changes.

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

Emitted whenever a commit changes any configure option.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for libkdepim Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 4 14:40:54 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003