Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/kernel/qkeymapper_x11.cpp

    r651 r769  
    361361        if (code && code < 0xfffe)
    362362            code = QChar(code).toUpper().unicode();
     363
     364        if (code == Qt::Key_Tab && (baseModifiers & Qt::ShiftModifier)) {
     365            // map shift+tab to shift+backtab
     366            code = Qt::Key_Backtab;
     367            text = QString();
     368        }
     369
    363370        if (code == baseCode)
    364371            continue;
     
    449456        if (code && code < 0xfffe)
    450457            code = QChar(code).toUpper().unicode();
     458
     459        if (code == Qt::Key_Tab && (baseModifiers & Qt::ShiftModifier)) {
     460            // map shift+tab to shift+backtab
     461            code = Qt::Key_Backtab;
     462            text = QString();
     463        }
     464
    451465        if (code == baseCode)
    452466            continue;
     
    10601074    XF86XK_AudioRecord,         Qt::Key_MediaRecord,
    10611075    XF86XK_Mail,                Qt::Key_LaunchMail,
    1062     XF86XK_MyComputer,          Qt::Key_Launch0,
    1063     XF86XK_Calculator,          Qt::Key_Calculator,
     1076    XF86XK_MyComputer,          Qt::Key_Launch0,  // ### Qt 5: remap properly
     1077    XF86XK_Calculator,          Qt::Key_Launch1,
    10641078    XF86XK_Memo,                Qt::Key_Memo,
    10651079    XF86XK_ToDoList,            Qt::Key_ToDoList,
     
    11591173    XF86XK_Suspend,             Qt::Key_Suspend,
    11601174    XF86XK_Hibernate,           Qt::Key_Hibernate,
    1161     XF86XK_Launch0,             Qt::Key_Launch2,
     1175    XF86XK_Launch0,             Qt::Key_Launch2, // ### Qt 5: remap properly
    11621176    XF86XK_Launch1,             Qt::Key_Launch3,
    11631177    XF86XK_Launch2,             Qt::Key_Launch4,
Note: See TracChangeset for help on using the changeset viewer.