sysinfo-conduit.h
00001
#ifndef _SysInfo_CONDUIT_H
00002
#define _SysInfo_CONDUIT_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 <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
This file is part of the documentation for kpilot Library Version 3.2.2.