libtdepim
configmanager.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef _KMAIL_CONFIGMANAGER_H_
00018 #define _KMAIL_CONFIGMANAGER_H_
00019
00020 #include <tqobject.h>
00021
00022 #include <tdepimmacros.h>
00023
00024 class KMKernel;
00025
00026 namespace KPIM {
00027
00032 class KDE_EXPORT ConfigManager : public TQObject {
00033 Q_OBJECT
00034
00035 public:
00037 virtual void commit() = 0;
00039 virtual void rollback() = 0;
00040
00042 virtual bool hasPendingChanges() const = 0;
00043
00044 signals:
00046 void changed();
00047
00048 protected:
00049 ConfigManager( TQObject * parent=0, const char * name=0 );
00050 virtual ~ConfigManager();
00051 };
00052
00053 }
00054
00055 #endif // _KMAIL_CONFIGMANAGER_H_
|