diff options
author | axis <qt-info@nokia.com> | 2010-07-28 09:30:24 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2010-07-29 14:06:04 (GMT) |
commit | 5a3246b198ced3634bd974919e78310d536be27e (patch) | |
tree | 24263ba07d95e81070443d5950cf72e0e7228e44 /src | |
parent | 998ba966215482048f7fa93908212b1ee4a0c357 (diff) | |
download | Qt-5a3246b198ced3634bd974919e78310d536be27e.zip Qt-5a3246b198ced3634bd974919e78310d536be27e.tar.gz Qt-5a3246b198ced3634bd974919e78310d536be27e.tar.bz2 |
Cleaned up old comments.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/kernel/qapplication_s60.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp index c57f245..bb30bcb 100644 --- a/src/gui/kernel/qapplication_s60.cpp +++ b/src/gui/kernel/qapplication_s60.cpp @@ -661,14 +661,6 @@ TKeyResponse QSymbianControl::OfferKeyEvent(const TKeyEvent& keyEvent, TEventCod // the EKeyEvent events. This is what resolveS60ScanCode does. - // ### hackish way to send Qt application to background when pressing right softkey - /* - if( keyEvent.iScanCode == EStdKeyDevice1 ) { - S60->window_group->SetOrdinalPosition(-1); - qApp->setActiveWindow(0); - return EKeyWasNotConsumed; - } - */ TUint s60Keysym = QApplicationPrivate::resolveS60ScanCode(keyEvent.iScanCode, keyEvent.iCode); @@ -687,10 +679,6 @@ TKeyResponse QSymbianControl::OfferKeyEvent(const TKeyEvent& keyEvent, TEventCod QKeyEventEx qKeyEvent(type == EEventKeyUp ? QEvent::KeyRelease : QEvent::KeyPress, keyCode, mods, qt_keymapper_private()->translateKeyEvent(keyCode, mods), (keyEvent.iRepeats != 0), 1, keyEvent.iScanCode, s60Keysym, keyEvent.iModifiers); -// WId wid = reinterpret_cast<RWindowGroup *>(keyEvent.Handle())->Child(); -// if (!wid) -// Could happen if window isn't shown yet. -// return EKeyWasNotConsumed; QWidget *widget; widget = QWidget::keyboardGrabber(); if (!widget) { |