author | sandman <sandman> | 2002-12-23 03:12:28 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-12-23 03:12:28 (UTC) |
commit | 726d2ac455446ee194c8e83df16f48357b619988 (patch) (unidiff) | |
tree | ada7a041dc001ba6220908594d91111efa729c32 | |
parent | 10c21667cb5e4266dc9a9b481ae11b199ffffc2e (diff) | |
download | opie-726d2ac455446ee194c8e83df16f48357b619988.zip opie-726d2ac455446ee194c8e83df16f48357b619988.tar.gz opie-726d2ac455446ee194c8e83df16f48357b619988.tar.bz2 |
Fixed a few typos and removed some qDebugs
-rw-r--r-- | libopie/odevice.cpp | 8 | ||||
-rw-r--r-- | libopie/odevice.h | 2 |
2 files changed, 3 insertions, 7 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index f93d1ed..a3c30cb 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp | |||
@@ -154,5 +154,5 @@ struct i_button { | |||
154 | "QPE/TaskBar", "toggleStartMenu()" }, | 154 | "QPE/TaskBar", "toggleStartMenu()" }, |
155 | { Model_iPAQ_H38xx | Model_iPAQ_H39xx, | 155 | { Model_iPAQ_H38xx | Model_iPAQ_H39xx, |
156 | Qt::Key_F11, QT_TRANSLATE_NOOP("Button", "Mail Button"), | 156 | Qt::Key_F13, QT_TRANSLATE_NOOP("Button", "Mail Button"), |
157 | "devicebuttons/ipaq_mail", | 157 | "devicebuttons/ipaq_mail", |
158 | "mail", "raise()", | 158 | "mail", "raise()", |
@@ -607,6 +607,4 @@ void iPAQ::init ( ) | |||
607 | ODeviceButton b; | 607 | ODeviceButton b; |
608 | 608 | ||
609 | qDebug ( "%d: %d", i, ib-> model ); | ||
610 | |||
611 | if (( ib-> model & d-> m_model ) == d-> m_model ) { | 609 | if (( ib-> model & d-> m_model ) == d-> m_model ) { |
612 | b. setKeycode ( ib-> code ); | 610 | b. setKeycode ( ib-> code ); |
@@ -617,6 +615,4 @@ void iPAQ::init ( ) | |||
617 | 615 | ||
618 | d-> m_buttons. append ( b ); | 616 | d-> m_buttons. append ( b ); |
619 | |||
620 | qDebug ( "code: %d", ib-> code ); | ||
621 | } | 617 | } |
622 | } | 618 | } |
@@ -755,5 +751,5 @@ bool iPAQ::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress, b | |||
755 | } | 751 | } |
756 | 752 | ||
757 | if ( newkeycode != keycode ) { | 753 | kif ( newkeycode != keycode ) { |
758 | if ( newkeycode != Key_unknown ) | 754 | if ( newkeycode != Key_unknown ) |
759 | QWSServer::sendKeyEvent ( -1, newkeycode, modifiers, isPress, autoRepeat ); | 755 | QWSServer::sendKeyEvent ( -1, newkeycode, modifiers, isPress, autoRepeat ); |
diff --git a/libopie/odevice.h b/libopie/odevice.h index ce62f1a..54b85a2 100644 --- a/libopie/odevice.h +++ b/libopie/odevice.h | |||
@@ -84,5 +84,5 @@ enum OHardKey { | |||
84 | HardKey_Menu = Qt::Key_F11, | 84 | HardKey_Menu = Qt::Key_F11, |
85 | HardKey_Home = Qt::Key_F12, | 85 | HardKey_Home = Qt::Key_F12, |
86 | HardKey_Mail = Qt::Key_F14, | 86 | HardKey_Mail = Qt::Key_F13, |
87 | HardKey_Record = Qt::Key_F24, | 87 | HardKey_Record = Qt::Key_F24, |
88 | HardKey_Suspend = Qt::Key_F34, | 88 | HardKey_Suspend = Qt::Key_F34, |