kpilot Library API Documentation

sysinfo-setup.h

00001 #ifndef _SysInfo_SysInfo_SETUP_H
00002 #define _SysInfo_SysInfo_SETUP_H
00003 /* sysinfo-setup.h                       KPilot
00004 **
00005 ** Copyright (C) 2003 by Reinhold Kainhofer
00006 **
00007 ** This file defines the widget and behavior for the config dialog
00008 ** of the KNotes 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 /*
00029 ** Bug reports and questions can be sent to kde-pim@kde.org
00030 */
00031 
00032 #include "plugin.h"
00033 
00034 class SysInfoWidget;
00035 
00036 class SysInfoWidgetConfig : public ConduitConfigBase
00037 {
00038 public:
00039     SysInfoWidgetConfig(QWidget *parent, const char *);
00040     virtual void commit(KConfig *);
00041     virtual void load(KConfig *);
00042     virtual bool isModified() const;
00043 protected:
00044     SysInfoWidget *fConfigWidget;
00045 } ;
00046 
00047 class SysInfoWidgetSetup : public ConduitConfig
00048 {
00049 public:
00050     SysInfoWidgetSetup(QWidget *,const char *,const QStringList &);
00051     virtual ~SysInfoWidgetSetup();
00052 
00053     virtual void readSettings();
00054 
00055 protected:
00056     virtual void commitChanges();
00057 
00058 private:
00059     SysInfoWidgetConfig *fConfigBase;
00060 } ;
00061 
00062 #endif
KDE Logo
This file is part of the documentation for kpilot Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:36:49 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003