kpilot Library API Documentation

vcal-factorybase.h

00001 #ifndef _KPILOT_VCAL_FACTORYBASE_H 00002 #define _KPILOT_VCAL_FACTORYBASE_H 00003 /* vcal-factory.h KPilot 00004 ** 00005 ** Copyright (C) 2002-2003 Reinhold Kainhofer 00006 ** Copyright (C) 2001 by Dan Pilone 00007 ** 00008 ** This file defines the factory for the vcal-conduit plugin. 00009 ** It also defines the class for the behavior of the setup dialog. 00010 */ 00011 00012 /* 00013 ** This program is free software; you can redistribute it and/or modify 00014 ** it under the terms of the GNU General Public License as published by 00015 ** the Free Software Foundation; either version 2 of the License, or 00016 ** (at your option) any later version. 00017 ** 00018 ** This program is distributed in the hope that it will be useful, 00019 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 ** GNU General Public License for more details. 00022 ** 00023 ** You should have received a copy of the GNU General Public License 00024 ** along with this program in a file called COPYING; if not, write to 00025 ** the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00026 ** MA 02111-1307, USA. 00027 */ 00028 00029 /* 00030 ** Bug reports and questions can be sent to kde-pim@kde.org 00031 */ 00032 00033 #include <klibloader.h> 00034 00035 #define RES_PALMOVERRIDES 0 00036 #define RES_PCOVERRIDES 1 00037 #define RES_ASK 2 00038 00039 #define SYNC_FIRST 0 00040 #define SYNC_FAST 1 00041 #define SYNC_FULL 2 00042 #define SYNC_MAX SYNC_FULL 00043 00044 class KAboutData; 00045 00046 class VCalConduitFactoryBase : public KLibFactory 00047 { 00048 Q_OBJECT 00049 00050 public: 00051 VCalConduitFactoryBase(QObject * p= 0L,const char * n= 0L):KLibFactory(p,n){}; 00052 virtual ~VCalConduitFactoryBase(); 00053 static KAboutData *about() { return fAbout; }; 00054 static QString getGroup() { return group; }; 00055 00056 static const char *const calendarFile, 00057 *const syncAction, 00058 *const nextSyncAction, 00059 *const archive, 00060 *const conflictResolution, 00061 *const fullSyncOnPCChange, 00062 *const calendarType; 00063 00064 protected: 00065 virtual QObject* createObject( QObject* parent = 0, 00066 const char* name = 0, 00067 const char* classname = "QObject", 00068 const QStringList &args = QStringList() )=0; 00069 static KAboutData *fAbout; 00070 static QString group; 00071 } ; 00072 00073 #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 Wed Jul 28 23:57:50 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003