author | ulf69 <ulf69> | 2004-08-11 01:55:03 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-08-11 01:55:03 (UTC) |
commit | 1f7c51ec14521aedd2e8838f1760cdd5eb3ed08a (patch) (unidiff) | |
tree | 1391f8e0d48b925116051c2efbdea4fdf50556f2 /microkde | |
parent | 02d51ae409a353d3a79e976c26ccc1f652e55de8 (diff) | |
download | kdepimpi-1f7c51ec14521aedd2e8838f1760cdd5eb3ed08a.zip kdepimpi-1f7c51ec14521aedd2e8838f1760cdd5eb3ed08a.tar.gz kdepimpi-1f7c51ec14521aedd2e8838f1760cdd5eb3ed08a.tar.bz2 |
assign values to the size enums
to allow comparisons
-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 | |||
@@ -23,6 +23,6 @@ class KGlobal { | |||
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(); |
@@ -31,4 +31,4 @@ class KGlobal { | |||
31 | static KGlobal::Orientation getOrientation(); | 31 | static KGlobal::Orientation getOrientation(); |
32 | 32 | ||
33 | 33 | ||
34 | private: | 34 | private: |