kpilot Library API Documentation

sysinfo-conduit.h

00001 #ifndef _SysInfo_CONDUIT_H 00002 #define _SysInfo_CONDUIT_H 00003 /* sysinfo-conduit.h KPilot 00004 ** 00005 ** Copyright (C) 2003 by Reinhold Kainhofer 00006 ** 00007 */ 00008 00009 /* 00010 ** This program is free software; you can redistribute it and/or modify 00011 ** it under the terms of the GNU General Public License as published by 00012 ** the Free Software Foundation; either version 2 of the License, or 00013 ** (at your option) any later version. 00014 ** 00015 ** This program is distributed in the hope that it will be useful, 00016 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 ** GNU General Public License for more details. 00019 ** 00020 ** You should have received a copy of the GNU General Public License 00021 ** along with this program in a file called COPYING; if not, write to 00022 ** the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00023 ** MA 02111-1307, USA. 00024 */ 00025 00026 /* 00027 ** Bug reports and questions can be sent to kde-pim@kde.org 00028 */ 00029 00030 00031 #include <plugin.h> 00032 00033 #include <kapplication.h> 00034 00035 class SysInfoConduit : public ConduitAction 00036 { 00037 Q_OBJECT 00038 public: 00039 SysInfoConduit( 00040 KPilotDeviceLink *o, 00041 const char *n = 0L, 00042 const QStringList &a = QStringList() ); 00043 virtual ~SysInfoConduit(); 00044 virtual bool exec(); 00045 00046 public slots: 00047 void hardwareInfo(); 00048 void userInfo(); 00049 void memoryInfo(); 00050 void storageInfo(); 00051 void dbListInfo(); 00052 void recNumberInfo(); 00053 void syncInfo(); 00054 void pcVersionInfo(); 00055 void palmVersionInfo(); 00056 void debugInfo(); 00057 void writeFile(); 00058 void cleanup(); 00059 00060 protected: 00061 void readConfig(); 00062 private: 00063 QMap<QString,QString> fValues; 00064 00065 bool fHardwareInfo, fUserInfo, fMemoryInfo, fStorageInfo, 00066 fDBList, fRecordNumber, fSyncInfo, 00067 fKDEVersion, fPalmOSVersion, fDebugInfo; 00068 QString fOutputFile, fTemplateFile; 00069 enum eOutputTypeEnum { 00070 eOutputHTML=0, 00071 eOutputText, 00072 eOutputTemplate 00073 } fOutputType; 00074 00075 QPtrList<DBInfo> dblist; 00076 QStringList removeParts; 00077 QStringList keepParts; 00078 static const QString defaultpage; 00079 } ; 00080 00081 #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