author | ibotty <ibotty> | 2002-10-13 21:37:12 (UTC) |
---|---|---|
committer | ibotty <ibotty> | 2002-10-13 21:37:12 (UTC) |
commit | 49269558da49b0429e4b13f4ed8ac2b3ac4f3513 (patch) (side-by-side diff) | |
tree | 799475cf2819088c12714258307ceb72652e6895 | |
parent | 5a6ecdac2e62708b55300ca6eef8441fea0a7b05 (diff) | |
download | opie-49269558da49b0429e4b13f4ed8ac2b3ac4f3513.zip opie-49269558da49b0429e4b13f4ed8ac2b3ac4f3513.tar.gz opie-49269558da49b0429e4b13f4ed8ac2b3ac4f3513.tar.bz2 |
added additional functionality (dont really know what anymore....)
-rw-r--r-- | noncore/apps/opie-console/widget_layer.cpp | 8 | ||||
-rw-r--r-- | noncore/apps/opie-console/widget_layer.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/noncore/apps/opie-console/widget_layer.cpp b/noncore/apps/opie-console/widget_layer.cpp index 6682708..e4b0ede 100644 --- a/noncore/apps/opie-console/widget_layer.cpp +++ b/noncore/apps/opie-console/widget_layer.cpp @@ -70,9 +70,9 @@ bool WidgetLayer::eventFilter( QObject *obj, QEvent *e ) if ( obj != this /* when embedded */ && obj != parent() /* when standalone */ ) - return FALSE; // not us + return false; // not us #ifdef FAKE_CTRL_AND_ALT - static bool control = FALSE; - static bool alt = FALSE; + static bool control = false; + static bool alt = false; // qDebug(" Has a keyboard with no CTRL and ALT keys, but we fake it:"); - bool dele=FALSE; + bool dele = false; if ( e->type() == QEvent::KeyPress || e->type() == QEvent::KeyRelease ) { diff --git a/noncore/apps/opie-console/widget_layer.h b/noncore/apps/opie-console/widget_layer.h index 1d96bf4..0c290f3 100644 --- a/noncore/apps/opie-console/widget_layer.h +++ b/noncore/apps/opie-console/widget_layer.h @@ -122,3 +122,3 @@ public: virtual void scroll( int value ) = 0; - + |