Qt:Документация 4.3.2/qkeyevent-qt3
Материал из Wiki.crossplatform.ru
Внимание: Актуальная версия перевода документации находится здесь |
__NOTOC__
Главная · Все классы · Основные классы · Классы по группам · Модули · Функции |
Содержание |
Qt 3 Support Members for QKeyEvent
Описанные ниже члены класса являются частью слоя поддержки Qt 3. Они введены для поддержки старого кода в Qt 4. Мы советуем не использовать их во вновь создаваемом коде.
Открытые функции
- 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
Описание функций-членов
QKeyEvent::QKeyEvent ( Type type, int key, int ascii, int modifiers, const QString & text = QString(), bool autorep = false, ushort count = 1 )
Use one of the other constructors instead.
int QKeyEvent::ascii () const
Use text() instead.
Qt::ButtonState QKeyEvent::state () const
Use QInputEvent::modifiers() instead.
Qt::ButtonState QKeyEvent::stateAfter () const
Use modifiers() instead.
Copyright © 2007 Trolltech | Trademarks | Qt 4.3.2
|