kpilot Library API Documentation

vcal-setup.h

00001 #ifndef _KPILOT_VCAL_SETUP_H
00002 #define _KPILOT_VCAL_SETUP_H
00003 /* vcal-setup.h                       KPilot
00004 **
00005 ** Copyright (C) 2002-2003 Reinhold Kainhofer
00006 ** Copyright (C) 2001 by Dan Pilone
00007 **
00008 ** It also defines the class for the behavior of the setup dialog.
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 #include "vcal-factorybase.h"
00034 
00035 class VCalWidget;
00036 
00037 class VCalWidgetSetupBase : public ConduitConfigBase
00038 {
00039 public:
00040     VCalWidgetSetupBase(QWidget *, const char *);
00041     virtual ~VCalWidgetSetupBase();
00042 
00043     virtual void load(KConfig *);
00044     virtual void commit(KConfig *);
00045 
00046     QString configGroup() const { return fGroupName; } ;
00047 protected:
00048     VCalWidget *fConfigWidget;
00049     QString fGroupName;
00050 } ;
00051 
00052 class VCalWidgetSetup : public VCalWidgetSetupBase
00053 {
00054 public:
00055     VCalWidgetSetup(QWidget *, const char *);
00056     static ConduitConfigBase *create(QWidget *, const char *);
00057 } ;
00058 
00059 #if 0
00060 class VCalWidgetSetup : public ConduitConfig
00061 {
00062 public:
00063     VCalWidgetSetup(QWidget *,const char *,const QStringList &);
00064     virtual ~VCalWidgetSetup();
00065 
00066     virtual void readSettings();
00067     virtual QString configGroup() const { return VCalConduitFactory::group; };
00068 
00069 protected:
00070     virtual void commitChanges();
00071     VCalWidget *fConfigWidget;
00072 } ;
00073 #endif
00074 
00075 #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:50 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003