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) 2001 by Dan Pilone
00006 **
00007 ** This file defines the factory for the vcal-conduit plugin.
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 <klibloader.h>
00033 
00034 #define RES_PALMOVERRIDES 0
00035 #define RES_PCOVERRIDES 1
00036 #define RES_ASK 2
00037 
00038 #define SYNC_FIRST 0
00039 #define SYNC_FAST 1
00040 #define SYNC_FULL 2
00041 #define SYNC_MAX SYNC_FULL
00042 
00043 
00044 class VCalConduitFactoryBase : public KLibFactory
00045 {
00046 Q_OBJECT;
00047 
00048 public:
00049         VCalConduitFactoryBase(QObject * p= 0L,const char * n= 0L):KLibFactory(p,n){};
00050         virtual ~VCalConduitFactoryBase() {};
00051 
00052         static const char *const calendarFile,
00053                 *const syncAction,
00054                 *const nextSyncAction,
00055                 *const archive,
00056                 *const conflictResolution,
00057                 *const fullSyncOnPCChange;
00058 
00059 protected:
00060         virtual QObject* createObject( QObject* parent = 0,
00061                 const char* name = 0,
00062                 const char* classname = "QObject",
00063                 const QStringList &args = QStringList() )=0;
00064 } ;
00065 
00066 #endif
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.4.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sat Oct 18 02:47:15 2003 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001