abbrowser-factory.h
00001 #ifndef _ABBROWSER_FACTORY_H
00002 #define _ABBROWSER_FACTORY_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #include <klibloader.h>
00033
00034 class KInstance;
00035 class KAboutData;
00036
00037 class AbbrowserConduitFactory : public KLibFactory
00038 {
00039 Q_OBJECT
00040
00041 public:
00042 AbbrowserConduitFactory(QObject * = 0L,const char * = 0L);
00043 virtual ~AbbrowserConduitFactory();
00044
00045 public:
00046
00047 static const char *fAbookType, *fAbookFile,
00048 *fSyncMode, *fArchive,
00049 *fResolution, *fSmartMerge, *fFirstSync,
00050 *fOtherField, *fStreetType, *fFaxType,
00051 *fCustom, *fCustomFmt;
00052
00053 static KAboutData *about() { return fAbout; } ;
00054 static const char *group() { return fGroup; } ;
00055 static const QString custom(int i) {return QString::fromLatin1(fCustom).arg(i); };
00056
00057 protected:
00058 virtual QObject* createObject( QObject* parent = 0,
00059 const char* name = 0,
00060 const char* classname = "QObject",
00061 const QStringList &args = QStringList() );
00062 private:
00063 KInstance *fInstance;
00064 static KAboutData *fAbout;
00065 static const char *fGroup;
00066
00067 } ;
00068
00069 extern "C"
00070 {
00071
00072 void *init_libaddressconduit();
00073
00074 }
00075
00076 #endif
00077
This file is part of the documentation for kpilot Library Version 3.2.2.