kpilot Library API Documentation

mal-factory.h

00001 #ifndef _TIME_FACTORY_H
00002 #define _TIME_FACTORY_H
00003 /* MAL-factory.h                       KPilot
00004 **
00005 ** Copyright (C) 2002 by Reinhold Kainhofer
00006 **
00007 ** This file defines the factory for the mal-conduit plugin.
00008 */
00009 
00010 #include <klibloader.h>
00011 
00012 class KInstance;
00013 class KAboutData;
00014 
00015 class MALConduitFactory : public KLibFactory
00016 {
00017 Q_OBJECT
00018 
00019 public:
00020     MALConduitFactory(QObject * = 0L,const char * = 0L);
00021     virtual ~MALConduitFactory();
00022 
00023     static KAboutData *about() { return fAbout; } ;
00024     static const char *group() { return fGroup; } ;
00025     static const char *lastSync() { return fLastSync; };
00026     static const char *syncTime() {return fSyncTime;};
00027     static const char *proxyType() {return fProxyType;};
00028     static const char *proxyServer() {return fProxyServer;};
00029     static const char *proxyPort() {return fProxyPort;};
00030     static const char *proxyUser() {return fProxyUser;};
00031     static const char *proxyPassword() {return fProxyPassword;};
00032     static const char *malServer() {return fMALServer;};
00033     static const char *malPort() {return fMALPort;};
00034     static const char *malUser() {return fMALUser;};
00035     static const char *malPassword() {return fMALPassword;};
00036     
00037 protected:
00038     virtual QObject* createObject( QObject* parent = 0,
00039         const char* name = 0,
00040         const char* classname = "QObject",
00041         const QStringList &args = QStringList() );
00042 private:
00043     KInstance *fInstance;
00044     static KAboutData *fAbout;
00045     // KConfig entry keys.
00046     static const char *fGroup;
00047     static const char *fLastSync, *fSyncTime, 
00048         *fProxyType, *fProxyServer, *fProxyPort, *fProxyUser, *fProxyPassword;
00049 } ;
00050 
00051 extern "C" {
00052   void *init_libmalconduit();
00053 } ;
00054 
00055 #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:48 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003