mal-setup.h
00001 #ifndef _MAL_SETUP_H 00002 #define _MAL_SETUP_H 00003 /* mal-setup.h KPilot 00004 ** 00005 ** Copyright (C) 2002 by Reinhold Kainhofer 00006 ** 00007 ** This file defines the widget and behavior for the config dialog 00008 ** of the mal conduit. 00009 */ 00010 00011 /* 00012 ** This program is free software; you can redistribute it and/or modify 00013 ** it under the terms of the GNU General Public License as published by 00014 ** the Free Software Foundation; either version 2 of the License, or 00015 ** (at your option) any later version. 00016 ** 00017 ** This program is distributed in the hope that it will be useful, 00018 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 ** GNU General Public License for more details. 00021 ** 00022 ** You should have received a copy of the GNU General Public License 00023 ** along with this program in a file called COPYING; if not, write to 00024 ** the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00025 ** MA 02111-1307, USA. 00026 ** 00027 ** 00028 ** Specific permission is granted for this code to be linked to libmal 00029 ** (this is necessary because the libmal license is not GPL-compatible). 00030 */ 00031 00032 /* 00033 ** Bug reports and questions can be sent to kde-pim@kde.org 00034 */ 00035 00036 #include "plugin.h" 00037 00038 class MALWidget; 00039 00040 class MALWidgetSetup : public ConduitConfig 00041 { 00042 Q_OBJECT 00043 public: 00044 MALWidgetSetup(QWidget *,const char *,const QStringList &); 00045 virtual ~MALWidgetSetup(); 00046 00047 virtual void readSettings(); 00048 00049 protected: 00050 virtual void commitChanges(); 00051 00052 private: 00053 MALWidget *fConfigWidget; 00054 } ; 00055 00056 00057 #endif