summaryrefslogtreecommitdiffabout
path: root/microkde
Side-by-side diff
Diffstat (limited to 'microkde') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kglobal.h10
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
@@ -12,34 +12,34 @@ class KGlobal {
static KLocale *locale();
static KConfig *config();
static KIconLoader *iconLoader();
static KStandardDirs *dirs();
static int knumkeykonv( int );
static void setAppName( const QString & );
static QString formatMessage( QString mess, int maxlen ) ;
//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;
static KIconLoader *mIconLoader;
static KStandardDirs *mDirs;
static QString mAppName;
};
/** @ref KGlobal
* A typesafe function to find the minimum of the two arguments.