-rw-r--r-- | microkde/kglobal.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/microkde/kglobal.h b/microkde/kglobal.h index 1e03bea..a6c2527 100644 --- a/microkde/kglobal.h +++ b/microkde/kglobal.h | |||
@@ -21,16 +21,16 @@ class KGlobal { | |||
21 | //US begin: added the following methods for convenience | 21 | //US begin: added the following methods for convenience |
22 | static QString getAppName(); | 22 | static QString getAppName(); |
23 | static void setLocale(KLocale *); | 23 | static void setLocale(KLocale *); |
24 | 24 | ||
25 | enum Orientation { Portrait, Landscape }; | 25 | enum Orientation { Portrait, Landscape }; |
26 | enum Size { Small, Medium, Desktop }; | 26 | enum Size { Small = 0, Medium = 1, Desktop = 2}; |
27 | 27 | ||
28 | static int getDesktopWidth(); | 28 | static int getDesktopWidth(); |
29 | static int getDesktopHeight(); | 29 | static int getDesktopHeight(); |
30 | static KGlobal::Size getDesktopSize(); | 30 | static KGlobal::Size getDesktopSize(); |
31 | static KGlobal::Orientation getOrientation(); | 31 | static KGlobal::Orientation getOrientation(); |
32 | 32 | ||
33 | 33 | ||
34 | private: | 34 | private: |
35 | static KLocale *mLocale; | 35 | static KLocale *mLocale; |
36 | static KConfig *mConfig; | 36 | static KConfig *mConfig; |