popmail-factory.h
00001 #ifndef _KPILOT_POPMAIL_FACTORY_H
00002 #define _KPILOT_POPMAIL_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 #include <klibloader.h>
00032
00033 #include "plugin.h"
00034
00035 class KInstance;
00036 class KAboutData;
00037
00038 class PopMailSendPage;
00039 class PopMailReceivePage;
00040
00041 #if 0
00042 class PopmailWidgetSetup : public ConduitConfig
00043 {
00044
00045 public:
00046 PopmailWidgetSetup(QWidget *,const char *,const QStringList &);
00047 virtual ~PopmailWidgetSetup();
00048
00049 virtual void readSettings();
00050
00051 protected:
00052 virtual void commitChanges();
00053
00054 private:
00055 PopMailSendPage *fSendPage;
00056 PopMailReceivePage *fRecvPage;
00057 } ;
00058 #endif
00059
00060 class PopMailConduitFactory : public KLibFactory
00061 {
00062 Q_OBJECT
00063
00064 public:
00065 PopMailConduitFactory(QObject * = 0L,const char * = 0L);
00066 virtual ~PopMailConduitFactory();
00067
00068 static KAboutData *about() { return fAbout; } ;
00069
00070 static const char *group() { return fGroup; } ;
00071 static const char *syncIncoming() { return fSyncIncoming; } ;
00072 static const char *syncOutgoing() { return fSyncOutgoing; } ;
00073
00074 protected:
00075 virtual QObject* createObject( QObject* parent = 0,
00076 const char* name = 0,
00077 const char* classname = "QObject",
00078 const QStringList &args = QStringList() );
00079 private:
00080 KInstance *fInstance;
00081 static KAboutData *fAbout;
00082
00083
00084
00085
00086 static const char * const fGroup;
00087 static const char * const fSyncOutgoing,
00088 * const fSyncIncoming;
00089 } ;
00090
00091 extern "C"
00092 {
00093
00094 void *init_conduit_popmail();
00095
00096 }
00097
00098 #endif
This file is part of the documentation for kpilot Library Version 3.2.2.