kmail Library API Documentation

ConfigManager Class Reference

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

#include <configmanager.h>

Inheritance diagram for ConfigManager:

IdentityManager 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 28 of file configmanager.h.


Member Function Documentation

virtual void ConfigManager::commit  )  [pure virtual]
 

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

Implemented in IdentityManager.

virtual void ConfigManager::rollback  )  [pure virtual]
 

Re-read the config from disk and forget changes.

Implemented in IdentityManager.

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

Check whether there are any unsaved changes.

Implemented in IdentityManager.

void ConfigManager::changed  )  [signal]
 

Emitted whenever a commit changes any configure option.

Referenced by IdentityManager::commit().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kmail Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Apr 26 23:23:25 2004 by doxygen 1.3.6-20040222 written by Dimitri van Heesch, © 1997-2003