author | alwin <alwin> | 2004-02-26 16:46:05 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-02-26 16:46:05 (UTC) |
commit | 15f4596df91110689176fb3b76a4fcf6663c1c09 (patch) (unidiff) | |
tree | fe9fcef4baf851b13427cc06b7b2b6b83b5adb5e | |
parent | 89cbb91c0217a1ba0480c23e8ef14221975f04e2 (diff) | |
download | opie-15f4596df91110689176fb3b76a4fcf6663c1c09.zip opie-15f4596df91110689176fb3b76a4fcf6663c1c09.tar.gz opie-15f4596df91110689176fb3b76a4fcf6663c1c09.tar.bz2 |
forgot remove some ifdefs
-rw-r--r-- | noncore/apps/keyz-cfg/zkbnames.cpp | 3 | ||||
-rw-r--r-- | noncore/apps/keyz-cfg/zkbnames.h | 4 | ||||
-rw-r--r-- | noncore/apps/keyz-cfg/zkbxml.cpp | 14 |
3 files changed, 0 insertions, 21 deletions
diff --git a/noncore/apps/keyz-cfg/zkbnames.cpp b/noncore/apps/keyz-cfg/zkbnames.cpp index fec3a2e..c20a114 100644 --- a/noncore/apps/keyz-cfg/zkbnames.cpp +++ b/noncore/apps/keyz-cfg/zkbnames.cpp | |||
@@ -1,3 +1 @@ | |||
1 | #ifdef USE_ZKB_NAMES | ||
2 | |||
3 | #include <qmap.h> | #include <qmap.h> | |
@@ -449,2 +447 @@ const QString& KeycodeNames::find(int k) { | |||
449 | |||
450 | #endif | ||
diff --git a/noncore/apps/keyz-cfg/zkbnames.h b/noncore/apps/keyz-cfg/zkbnames.h index 58462ff..0d1e7f5 100644 --- a/noncore/apps/keyz-cfg/zkbnames.h +++ b/noncore/apps/keyz-cfg/zkbnames.h | |||
@@ -3,4 +3,2 @@ | |||
3 | 3 | ||
4 | #ifdef USE_ZKB_NAMES | ||
5 | |||
6 | #include <qstring.h> | 4 | #include <qstring.h> |
@@ -24,4 +22,2 @@ public: | |||
24 | }; | 22 | }; |
25 | |||
26 | #endif | ||
27 | #endif | 23 | #endif |
diff --git a/noncore/apps/keyz-cfg/zkbxml.cpp b/noncore/apps/keyz-cfg/zkbxml.cpp index 76472cb..5b0084c 100644 --- a/noncore/apps/keyz-cfg/zkbxml.cpp +++ b/noncore/apps/keyz-cfg/zkbxml.cpp | |||
@@ -491,3 +491,2 @@ int ZkbXmlHandler::str2key(const QString& s) { | |||
491 | 491 | ||
492 | #ifdef USE_ZKB_NAMES | ||
493 | ret = KeyNames::find(s); | 492 | ret = KeyNames::find(s); |
@@ -497,6 +496,2 @@ int ZkbXmlHandler::str2key(const QString& s) { | |||
497 | 496 | ||
498 | #else | ||
499 | ret = str2uint(s); | ||
500 | #endif | ||
501 | |||
502 | return ret; | 497 | return ret; |
@@ -507,3 +502,2 @@ int ZkbXmlHandler::str2modifier(const QString& val) { | |||
507 | 502 | ||
508 | #ifdef USE_ZKB_NAMES | ||
509 | int n, i; | 503 | int n, i; |
@@ -528,5 +522,2 @@ int ZkbXmlHandler::str2modifier(const QString& val) { | |||
528 | } while (n < val.length()); | 522 | } while (n < val.length()); |
529 | #else | ||
530 | ret = str2uint(val); | ||
531 | #endif | ||
532 | 523 | ||
@@ -550,3 +541,2 @@ int ZkbXmlHandler::str2keycode(const QString& s) { | |||
550 | 541 | ||
551 | #ifdef USE_ZKB_NAMES | ||
552 | ret = KeycodeNames::find(s); | 542 | ret = KeycodeNames::find(s); |
@@ -556,6 +546,2 @@ int ZkbXmlHandler::str2keycode(const QString& s) { | |||
556 | 546 | ||
557 | #else | ||
558 | ret = str2uint(s); | ||
559 | #endif | ||
560 | |||
561 | return ret; | 547 | return ret; |