kpilot Library API Documentation

abbrowser-factory.h

00001 #ifndef _ABBROWSER_FACTORY_H
00002 #define _ABBROWSER_FACTORY_H
00003 /* abbrowser-factory.h                       KPilot
00004 **
00005 ** Copyright (C) 2001 by Dan Pilone
00006 **
00007 ** This file defines the factory for the abbrowser-conduit plugin.
00008 */
00009  
00010 /*
00011 ** This program is free software; you can redistribute it and/or modify
00012 ** it under the terms of the GNU General Public License as published by
00013 ** the Free Software Foundation; either version 2 of the License, or
00014 ** (at your option) any later version.
00015 **
00016 ** This program is distributed in the hope that it will be useful,
00017 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00018 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00019 ** GNU General Public License for more details.
00020 **
00021 ** You should have received a copy of the GNU General Public License
00022 ** along with this program in a file called COPYING; if not, write to
00023 ** the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00024 ** MA 02111-1307, USA.
00025 */
00026  
00027 /*
00028 ** Bug reports and questions can be sent to kde-pim@kde.org
00029 */
00030 
00031 #include <klibloader.h>
00032 
00033 class KInstance;
00034 class KAboutData;
00035 
00036 class AbbrowserConduitFactory : public KLibFactory
00037 {
00038 Q_OBJECT
00039 
00040 public:
00041         AbbrowserConduitFactory(QObject * = 0L,const char * = 0L);
00042         virtual ~AbbrowserConduitFactory();
00043 
00044         static KAboutData *about() { return fAbout; } ;
00045         static const char *group() { return fGroup; } ;
00046         static const char *smartMerge() { return fSmartMerge; } ;
00047         static const char *conflictResolution() { return fResolution; } ;
00048         static const char *archiveDeletedRecs() { return fArchive; };
00049         static const char *streetType() { return fStreetType; } ;
00050         static const char *faxType() { return fFaxType; } ;
00051         static const char *syncMode() { return fSyncMode;};
00052         static const char *firstSync() { return fFirstSync; } ;
00053         static const char *fullSyncOnPCChange() {return fFullSyncOnPCChange; } ;
00054         static const char *otherField() { return fOtherField; } ;
00055         
00056 protected:
00057         virtual QObject* createObject( QObject* parent = 0,
00058                 const char* name = 0,
00059                 const char* classname = "QObject",
00060                 const QStringList &args = QStringList() );
00061 private:
00062         KInstance *fInstance;
00063         static KAboutData *fAbout;
00064         static const char *fGroup;
00065 
00066         // KConfig entry keys.
00067         //
00068         //
00069         static const char *fSmartMerge,
00070                 *fResolution,
00071                 *fArchive,
00072                 *fStreetType,
00073                 *fFaxType,
00074                 *fSyncMode, 
00075                 *fFirstSync,
00076                 *fOtherField,
00077                 *fFullSyncOnPCChange;
00078 } ;
00079 
00080 extern "C"
00081 {
00082 
00083 void *init_libaddressconduit();
00084 
00085 } ;
00086 
00087 #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:14 2003 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001