The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.
QKeyEvent ( Type type, int key, int ascii, int modifiers, const QString & text = QString(), bool autorep = false, ushort count = 1 ) | |
int | ascii () const |
Qt::ButtonState | state () const |
Qt::ButtonState | stateAfter () const |
Use one of the other constructors instead.
Use text() instead.
Use QInputEvent::modifiers() instead.
Use modifiers() instead.