kpilot/kpilot
kpilotConfig.h00001 #ifndef _KPILOT_KPILOTCONFIG_H
00002 #define _KPILOT_KPILOTCONFIG_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
00032
00033
00034 #include "kpilotSettings.h"
00035
00036 class KCmdLineArgs;
00037
00038
00039 class KPilotConfig
00040 {
00041 public:
00042 typedef enum
00043 {
00044 Cancel=0,
00045 Normal,
00046 ConfigureKPilot,
00047 ConfigureConduits,
00048 ConfigureAndContinue,
00049 WizardAndContinue
00050 } RunMode;
00051
00056 static QString getDefaultDBPath();
00057
00058
00059
00060 static void addDirtyDatabase(QString db);
00061 static void addAppBlockChangedDatabase(QString db);
00062 static void addFlagsChangedDatabase(QString db);
00063
00070 static const uint ConfigurationVersion;
00071
00076 static int getConfigVersion();
00077
00083 static void updateConfigVersion();
00084
00092 static QString versionDetails(int fileversion, bool run);
00093 static void sorryVersionOutdated(int fileversion);
00107 static RunMode interactiveUpdate();
00108
00113 static int getDebugLevel(KCmdLineArgs *p);
00114
00119 static const QFont& fixed() ;
00120
00121 static void sync();
00122 } ;
00123
00124
00125
00126 #endif
|