From 1f7c51ec14521aedd2e8838f1760cdd5eb3ed08a Mon Sep 17 00:00:00 2001 From: ulf69 Date: Wed, 11 Aug 2004 01:55:03 +0000 Subject: assign values to the size enums to allow comparisons --- (limited to 'microkde/kglobal.h') 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 { //US begin: added the following methods for convenience static QString getAppName(); static void setLocale(KLocale *); - + enum Orientation { Portrait, Landscape }; - enum Size { Small, Medium, Desktop }; - + enum Size { Small = 0, Medium = 1, Desktop = 2}; + static int getDesktopWidth(); static int getDesktopHeight(); static KGlobal::Size getDesktopSize(); static KGlobal::Orientation getOrientation(); - - + + private: static KLocale *mLocale; static KConfig *mConfig; -- cgit v0.9.0.2