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 /* 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 ** Specific permission is granted for this code to be linked to libmal 00028 ** (this is necessary because the libmal license is not GPL-compatible). 00029 */ 00030 00031 /* 00032 ** Bug reports and questions can be sent to kde-pim@kde.org 00033 */ 00034 00035 #include <klibloader.h> 00036 00037 class KInstance; 00038 class KAboutData; 00039 00040 class MALConduitFactory : public KLibFactory 00041 { 00042 Q_OBJECT 00043 00044 public: 00045 MALConduitFactory(QObject * = 0L,const char * = 0L); 00046 virtual ~MALConduitFactory(); 00047 00048 static KAboutData *about() { return fAbout; } ; 00049 static const char *group() { return fGroup; } ; 00050 static const char *lastSync() { return fLastSync; }; 00051 static const char *syncTime() {return fSyncTime;}; 00052 static const char *proxyType() {return fProxyType;}; 00053 static const char *proxyServer() {return fProxyServer;}; 00054 static const char *proxyPort() {return fProxyPort;}; 00055 static const char *proxyUser() {return fProxyUser;}; 00056 static const char *proxyPassword() {return fProxyPassword;}; 00057 static const char *malServer() {return fMALServer;}; 00058 static const char *malPort() {return fMALPort;}; 00059 static const char *malUser() {return fMALUser;}; 00060 static const char *malPassword() {return fMALPassword;}; 00061 00062 protected: 00063 virtual QObject* createObject( QObject* parent = 0, 00064 const char* name = 0, 00065 const char* classname = "QObject", 00066 const QStringList &args = QStringList() ); 00067 private: 00068 KInstance *fInstance; 00069 static KAboutData *fAbout; 00070 // KConfig entry keys. 00071 static const char *fGroup; 00072 static const char *fLastSync, *fSyncTime, 00073 *fProxyType, *fProxyServer, *fProxyPort, *fProxyUser, *fProxyPassword, 00074 *fMALServer, *fMALPort, *fMALUser, *fMALPassword; 00075 } ; 00076 00077 extern "C" 00078 { 00079 00080 void *init_libtimeconduit(); 00081 00082 } 00083 00084 #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 Wed Jul 28 23:57:49 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003