kmail Library API Documentation

configmanager.h

00001 /* -*- c++ -*- 00002 configmanager.h 00003 00004 KMail, the KDE mail client. 00005 Copyright (c) 2002 the KMail authors. 00006 See file AUTHORS for details 00007 00008 This program is free software; you can redistribute it and/or 00009 modify it under the terms of the GNU General Public License, 00010 version 2.0, as published by the Free Software Foundation. 00011 You should have received a copy of the GNU General Public License 00012 along with this program; if not, write to the Free Software Foundation, 00013 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, US 00014 */ 00015 00016 00017 #ifndef _KMAIL_CONFIGMANAGER_H_ 00018 #define _KMAIL_CONFIGMANAGER_H_ 00019 00020 #include <qobject.h> 00021 00022 class KMKernel; 00023 00028 class ConfigManager : public QObject { 00029 Q_OBJECT 00030 public: 00032 virtual void commit() = 0; 00034 virtual void rollback() = 0; 00035 00037 virtual bool hasPendingChanges() const = 0; 00038 00039 signals: 00041 void changed(); 00042 00043 protected: 00044 ConfigManager( QObject * parent=0, const char * name=0 ); 00045 virtual ~ConfigManager(); 00046 }; 00047 00048 00049 #endif // _KMAIL_CONFIGMANAGER_H_
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 Wed Jul 28 23:57:56 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003