<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>QKeyEvent Class Reference</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <h1 align="center">QKeyEvent Class Reference</h1> <h3 align="center">[<a href="com_trolltech_qt_gui.html">com.trolltech.qt.gui</a> package]</h3> <p>Inherits <a href="qinputevent.html">QInputEvent</a>.</p> <h3>Constructor</h3> <ul> <li><div class="fn"/><b>void QKeyEvent(Type type, int key, KeyboardModifiers modifiers, String text, bool autorep, ushort count)</b></li> </ul> <h3>Constructor Properties</h3> <ul> <li><b>prototype</b>: The QKeyEvent prototype object</li> <li><div class="fn"/><b>QKeyEvent createExtendedKeyEvent(Type type, int key, KeyboardModifiers modifiers, unsigned int nativeScanCode, unsigned int nativeVirtualKey, unsigned int nativeModifiers, String text, bool autorep, ushort count)</b></li> </ul> <h3>Prototype Object Properties</h3> <p>The QKeyEvent prototype object inherits properties from the <a href="qinputevent.html">QInputEvent</a> prototype object and also has the following properties.</p> <ul> <li><div class="fn"/><b>int count()</b></li> <li><div class="fn"/><b>bool hasExtendedInfo()</b></li> <li><div class="fn"/><b>bool isAutoRepeat()</b></li> <li><div class="fn"/><b>int key()</b></li> <li><div class="fn"/><b>bool matches(StandardKey key)</b></li> <li><div class="fn"/><b>unsigned int nativeModifiers()</b></li> <li><div class="fn"/><b>unsigned int nativeScanCode()</b></li> <li><div class="fn"/><b>unsigned int nativeVirtualKey()</b></li> <li><div class="fn"/><b>String text()</b></li> </ul> <h3>Instance Properties</h3> <p>QKeyEvent objects have no special properties beyond those inherited from the QKeyEvent prototype object.</p> </body> </html>