libkdepim 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 
00024 namespace KPIM {
00025 
00030 class ConfigManager : public QObject {
00031   Q_OBJECT
00032 public:
00034   virtual void commit() = 0;
00036   virtual void rollback() = 0;
00037 
00039   virtual bool hasPendingChanges() const = 0;
00040 
00041 signals:
00043   void changed();
00044 
00045 protected:
00046   ConfigManager( QObject * parent=0, const char * name=0 );
00047   virtual ~ConfigManager();
00048 };
00049 
00050 }
00051 
00052 #endif // _KMAIL_CONFIGMANAGER_H_
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 Wed Jul 25 11:18:31 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003