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/plugins/gfxdrivers/vnc/qscreenvnc_qws.cpp

    r651 r769  
    326326    { 0xffe9, Qt::Key_Alt       },
    327327    { 0xffea, Qt::Key_Alt       },
     328
     329    { 0xffb0, Qt::Key_0         },
     330    { 0xffb1, Qt::Key_1         },
     331    { 0xffb2, Qt::Key_2         },
     332    { 0xffb3, Qt::Key_3         },
     333    { 0xffb4, Qt::Key_4         },
     334    { 0xffb5, Qt::Key_5         },
     335    { 0xffb6, Qt::Key_6         },
     336    { 0xffb7, Qt::Key_7         },
     337    { 0xffb8, Qt::Key_8         },
     338    { 0xffb9, Qt::Key_9         },
     339
     340    { 0xff8d, Qt::Key_Return    },
     341    { 0xffaa, Qt::Key_Asterisk  },
     342    { 0xffab, Qt::Key_Plus      },
     343    { 0xffad, Qt::Key_Minus     },
     344    { 0xffae, Qt::Key_Period    },
     345    { 0xffaf, Qt::Key_Slash     },
     346
     347    { 0xff95, Qt::Key_Home      },
     348    { 0xff96, Qt::Key_Left      },
     349    { 0xff97, Qt::Key_Up        },
     350    { 0xff98, Qt::Key_Right     },
     351    { 0xff99, Qt::Key_Down      },
     352    { 0xff9a, Qt::Key_PageUp    },
     353    { 0xff9b, Qt::Key_PageDown  },
     354    { 0xff9c, Qt::Key_End       },
     355    { 0xff9e, Qt::Key_Insert    },
     356    { 0xff9f, Qt::Key_Delete    },
     357
    328358    { 0, 0 }
    329359};
     
    484514        i++;
    485515    }
     516
     517    if (keycode >= ' ' && keycode <= '~')
     518        unicode = keycode;
     519
    486520    if (!keycode) {
    487521        if (key <= 0xff) {
     
    21302164        const int id = getDisplayId(dspec);
    21312165        QScreen *s = qt_get_screen(id, dspec.toLatin1().constData());
     2166        if (s->pixelFormat() == QImage::Format_Indexed8
     2167            || s->pixelFormat() == QImage::Format_Invalid && s->depth() == 8)
     2168            qFatal("QVNCScreen: unsupported screen format");
    21322169        setScreen(s);
    21332170    } else { // create virtual screen
Note: See TracChangeset for help on using the changeset viewer.