Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 595

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 17:01:30 CEST 2007 -->
<TITLE>
QKeyEvent
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.gui.QKeyEvent class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QKeyEvent";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QItemSelectionRange.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.html" title="class in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QKeyEvent.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QKeyEvent.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.core.QEvent">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.trolltech.qt.gui</FONT>
<BR>
Class QKeyEvent</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">com.trolltech.qt.core.QEvent</A>
              <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/gui/QInputEvent.html" title="class in com.trolltech.qt.gui">com.trolltech.qt.gui.QInputEvent</A>
                  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QKeyEvent</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QKeyEvent</B><DT>extends <A HREF="../../../../com/trolltech/qt/gui/QInputEvent.html" title="class in com.trolltech.qt.gui">QInputEvent</A></DL>
</PRE>

<P>
<p>The <a href="QKeyEvent.html#QKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, char)"><tt>QKeyEvent</tt></a> class contains describes a key event.</p>
<p>Key events are sent to the widget with keyboard input focus when keys are pressed or released.</p>
<p>A key event contains a special accept flag that indicates whether the receiver will handle the key event. You should call <a href="%2E%2E/core/%2E%2E/core/QEvent.html#ignore()"><tt>ignore</tt></a> if the key press or release event is not handled by your widget. A key event is propagated up the parent widget chain until a widget accepts it with <a href="%2E%2E/core/%2E%2E/core/QEvent.html#accept()"><tt>accept</tt></a> or an event filter consumes it. Key events for multimedia keys are ignored by default. You should call <a href="%2E%2E/core/%2E%2E/core/QEvent.html#accept()"><tt>accept</tt></a> if your widget handles those events.</p>
<p>The QWidget::setEnable() function can be used to enable or disable mouse and keyboard events for a widget.</p>
<p>The event handlers QWidget::keyPressEvent() and QWidget::keyReleaseEvent() receive key events.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QFocusEvent.html"><tt>QFocusEvent</tt></a>, 
<tt>QWidget::grabKeyboard</tt></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.core.QEvent"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.core.<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#QKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers)">QKeyEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A>&nbsp;type,
          int&nbsp;key,
          <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A>&nbsp;modifiers)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QKeyEvent.html#QKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, char)"><tt>QKeyEvent</tt></a>(<tt>type</tt>, <tt>key</tt>, <tt>modifiers</tt>, QString(), false, 1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#QKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, java.lang.String)">QKeyEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A>&nbsp;type,
          int&nbsp;key,
          <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A>&nbsp;modifiers,
          java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QKeyEvent.html#QKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, char)"><tt>QKeyEvent</tt></a>(<tt>type</tt>, <tt>key</tt>, <tt>modifiers</tt>, <tt>text</tt>, false, 1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#QKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean)">QKeyEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A>&nbsp;type,
          int&nbsp;key,
          <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A>&nbsp;modifiers,
          java.lang.String&nbsp;text,
          boolean&nbsp;autorep)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QKeyEvent.html#QKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, char)"><tt>QKeyEvent</tt></a>(<tt>type</tt>, <tt>key</tt>, <tt>modifiers</tt>, <tt>text</tt>, <tt>autorep</tt>, 1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#QKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, char)">QKeyEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A>&nbsp;type,
          int&nbsp;key,
          <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A>&nbsp;modifiers,
          java.lang.String&nbsp;text,
          boolean&nbsp;autorep,
          char&nbsp;count)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a key event object.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#count()">count</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of keys involved in this event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#createExtendedKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, int, int, int)">createExtendedKeyEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A>&nbsp;type,
                       int&nbsp;key,
                       <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A>&nbsp;modifiers,
                       int&nbsp;nativeScanCode,
                       int&nbsp;nativeVirtualKey,
                       int&nbsp;nativeModifiers)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QKeyEvent.html#createExtendedKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, int, int, int, java.lang.String, boolean, char)"><tt>createExtendedKeyEvent</tt></a>(<tt>type</tt>, <tt>key</tt>, <tt>modifiers</tt>, <tt>nativeScanCode</tt>, <tt>nativeVirtualKey</tt>, <tt>nativeModifiers</tt>, QString(), false, 1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#createExtendedKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, int, int, int, java.lang.String)">createExtendedKeyEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A>&nbsp;type,
                       int&nbsp;key,
                       <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A>&nbsp;modifiers,
                       int&nbsp;nativeScanCode,
                       int&nbsp;nativeVirtualKey,
                       int&nbsp;nativeModifiers,
                       java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QKeyEvent.html#createExtendedKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, int, int, int, java.lang.String, boolean, char)"><tt>createExtendedKeyEvent</tt></a>(<tt>type</tt>, <tt>key</tt>, <tt>modifiers</tt>, <tt>nativeScanCode</tt>, <tt>nativeVirtualKey</tt>, <tt>nativeModifiers</tt>, <tt>text</tt>, false, 1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#createExtendedKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, int, int, int, java.lang.String, boolean)">createExtendedKeyEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A>&nbsp;type,
                       int&nbsp;key,
                       <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A>&nbsp;modifiers,
                       int&nbsp;nativeScanCode,
                       int&nbsp;nativeVirtualKey,
                       int&nbsp;nativeModifiers,
                       java.lang.String&nbsp;text,
                       boolean&nbsp;autorep)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QKeyEvent.html#createExtendedKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, int, int, int, java.lang.String, boolean, char)"><tt>createExtendedKeyEvent</tt></a>(<tt>type</tt>, <tt>key</tt>, <tt>modifiers</tt>, <tt>nativeScanCode</tt>, <tt>nativeVirtualKey</tt>, <tt>nativeModifiers</tt>, <tt>text</tt>, <tt>autorep</tt>, 1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#createExtendedKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, int, int, int, java.lang.String, boolean, char)">createExtendedKeyEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A>&nbsp;type,
                       int&nbsp;key,
                       <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A>&nbsp;modifiers,
                       int&nbsp;nativeScanCode,
                       int&nbsp;nativeVirtualKey,
                       int&nbsp;nativeModifiers,
                       java.lang.String&nbsp;text,
                       boolean&nbsp;autorep,
                       char&nbsp;count)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QKeyEvent instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#hasExtendedInfo()">hasExtendedInfo</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#isAutoRepeat()">isAutoRepeat</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this event comes from an auto-repeating key; returns false if it comes from an initial key press.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#key()">key</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the code of the key that was pressed or released.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#matches(com.trolltech.qt.gui.QKeySequence.StandardKey)">matches</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.StandardKey.html" title="enum in com.trolltech.qt.gui">QKeySequence.StandardKey</A>&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the key event matches the given standard <tt>key</tt>; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#modifiers()">modifiers</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the keyboard modifier flags that existed immediately after the event occurred.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#nativeModifiers()">nativeModifiers</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the native modifiers of a key event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#nativeScanCode()">nativeScanCode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the native scan code of the key event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#nativeVirtualKey()">nativeVirtualKey</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the native virtual key, or key sym of the key event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html#text()">text</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the Unicode text that this key generated.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.gui.QInputEvent"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.gui.<A HREF="../../../../com/trolltech/qt/gui/QInputEvent.html" title="class in com.trolltech.qt.gui">QInputEvent</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/gui/QInputEvent.html#setModState(com.trolltech.qt.core.Qt.KeyboardModifier...)">setModState</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.core.QEvent"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.core.<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/core/QEvent.html#accept()">accept</A>, <A HREF="../../../../com/trolltech/qt/core/QEvent.html#ignore()">ignore</A>, <A HREF="../../../../com/trolltech/qt/core/QEvent.html#isAccepted()">isAccepted</A>, <A HREF="../../../../com/trolltech/qt/core/QEvent.html#setAccepted(boolean)">setAccepted</A>, <A HREF="../../../../com/trolltech/qt/core/QEvent.html#setT(char)">setT</A>, <A HREF="../../../../com/trolltech/qt/core/QEvent.html#spontaneous()">spontaneous</A>, <A HREF="../../../../com/trolltech/qt/core/QEvent.html#t()">t</A>, <A HREF="../../../../com/trolltech/qt/core/QEvent.html#type()">type</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="QKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean)"><!-- --></A><H3>
QKeyEvent</H3>
<PRE>
public <B>QKeyEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A>&nbsp;type,
                 int&nbsp;key,
                 <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A>&nbsp;modifiers,
                 java.lang.String&nbsp;text,
                 boolean&nbsp;autorep)</PRE>
<DL>
<DD><p>Equivalent to <a href="QKeyEvent.html#QKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, char)"><tt>QKeyEvent</tt></a>(<tt>type</tt>, <tt>key</tt>, <tt>modifiers</tt>, <tt>text</tt>, <tt>autorep</tt>, 1).
<P>
</DL>
<HR>

<A NAME="QKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, java.lang.String)"><!-- --></A><H3>
QKeyEvent</H3>
<PRE>
public <B>QKeyEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A>&nbsp;type,
                 int&nbsp;key,
                 <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A>&nbsp;modifiers,
                 java.lang.String&nbsp;text)</PRE>
<DL>
<DD><p>Equivalent to <a href="QKeyEvent.html#QKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, char)"><tt>QKeyEvent</tt></a>(<tt>type</tt>, <tt>key</tt>, <tt>modifiers</tt>, <tt>text</tt>, false, 1).
<P>
</DL>
<HR>

<A NAME="QKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers)"><!-- --></A><H3>
QKeyEvent</H3>
<PRE>
public <B>QKeyEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A>&nbsp;type,
                 int&nbsp;key,
                 <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A>&nbsp;modifiers)</PRE>
<DL>
<DD><p>Equivalent to <a href="QKeyEvent.html#QKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, char)"><tt>QKeyEvent</tt></a>(<tt>type</tt>, <tt>key</tt>, <tt>modifiers</tt>, QString(), false, 1).
<P>
</DL>
<HR>

<A NAME="QKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, java.lang.String, boolean, char)"><!-- --></A><H3>
QKeyEvent</H3>
<PRE>
public <B>QKeyEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A>&nbsp;type,
                 int&nbsp;key,
                 <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A>&nbsp;modifiers,
                 java.lang.String&nbsp;text,
                 boolean&nbsp;autorep,
                 char&nbsp;count)</PRE>
<DL>
<DD><p>Constructs a key event object.</p>
<p>The <tt>type</tt> parameter must be QEvent::KeyPress, QEvent::KeyRelease, or QEvent::ShortcutOverride.</p>
<p>If <tt>key</tt> is 0, the event is not a result of a known key; for example, it may be the result of a compose sequence or keyboard macro. The <tt>modifiers</tt> holds the keyboard modifiers, and the given <tt>text</tt> is the Unicode text that the key generated. If <tt>autorep</tt> is true, <a href="QKeyEvent.html#isAutoRepeat()"><tt>isAutoRepeat</tt></a> will be true. <tt>count</tt> is the number of keys involved in the event.</p>
<P>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="count()"><!-- --></A><H3>
count</H3>
<PRE>
public final int <B>count</B>()</PRE>
<DL>
<DD><p>Returns the number of keys involved in this event. If <a href="QKeyEvent.html#text()"><tt>text</tt></a> is not empty, this is simply the length of the string.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>Qt::WA_KeyCompression</tt></DL>
</DD>
</DL>
<HR>

<A NAME="hasExtendedInfo()"><!-- --></A><H3>
hasExtendedInfo</H3>
<PRE>
public final boolean <B>hasExtendedInfo</B>()</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isAutoRepeat()"><!-- --></A><H3>
isAutoRepeat</H3>
<PRE>
public final boolean <B>isAutoRepeat</B>()</PRE>
<DL>
<DD><p>Returns true if this event comes from an auto-repeating key; returns false if it comes from an initial key press.</p>
<p>Note that if the event is a multiple-key compressed event that is partly due to auto-repeat, this function could return either true or false indeterminately.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="key()"><!-- --></A><H3>
key</H3>
<PRE>
public final int <B>key</B>()</PRE>
<DL>
<DD><p>Returns the code of the key that was pressed or released.</p>
<p>See Qt::Key</tt> for the list of keyboard codes. These codes are independent of the underlying window system. Note that this function does not distinguish between capital and non-capital letters, use the <a href="QKeyEvent.html#text()"><tt>text</tt></a> function (returning the Unicode text the key generated) for this purpose.</p>
<p>A value of either 0 or Qt::Key_unknown means that the event is not the result of a known key; for example, it may be the result of a compose sequence, a keyboard macro, or due to key event compression.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>Qt::WA_KeyCompression</tt></DL>
</DD>
</DL>
<HR>

<A NAME="matches(com.trolltech.qt.gui.QKeySequence.StandardKey)"><!-- --></A><H3>
matches</H3>
<PRE>
public final boolean <B>matches</B>(<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.StandardKey.html" title="enum in com.trolltech.qt.gui">QKeySequence.StandardKey</A>&nbsp;key)</PRE>
<DL>
<DD><p>Returns true if the key event matches the given standard <tt>key</tt>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="modifiers()"><!-- --></A><H3>
modifiers</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A> <B>modifiers</B>()</PRE>
<DL>
<DD><p>Returns the keyboard modifier flags that existed immediately after the event occurred.</p>
<p><b>Warning:</b> This function cannot always be trusted. The user can confuse it by pressing both <b>Shift</b> keys simultaneously and releasing one of them, for example.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QInputEvent.html#modifiers()">modifiers</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QInputEvent.html" title="class in com.trolltech.qt.gui">QInputEvent</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QApplication::keyboardModifiers</tt></DL>
</DD>
</DL>
<HR>

<A NAME="nativeModifiers()"><!-- --></A><H3>
nativeModifiers</H3>
<PRE>
public final int <B>nativeModifiers</B>()</PRE>
<DL>
<DD><p>Returns the native modifiers of a key event. If the key event does not contain this data 0 is returned.</p>
<p>Note: The native modifiers may be 0, even if the key event contains extended information.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="nativeScanCode()"><!-- --></A><H3>
nativeScanCode</H3>
<PRE>
public final int <B>nativeScanCode</B>()</PRE>
<DL>
<DD><p>Returns the native scan code of the key event. If the key event does not contain this data 0 is returned.</p>
<p>Note: The native scan code may be 0, even if the key event contains extended information.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="nativeVirtualKey()"><!-- --></A><H3>
nativeVirtualKey</H3>
<PRE>
public final int <B>nativeVirtualKey</B>()</PRE>
<DL>
<DD><p>Returns the native virtual key, or key sym of the key event. If the key event does not contain this data 0 is returned.</p>
<p>Note: The native virtual key may be 0, even if the key event contains extended information.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="text()"><!-- --></A><H3>
text</H3>
<PRE>
public final java.lang.String <B>text</B>()</PRE>
<DL>
<DD><p>Returns the Unicode text that this key generated. The text returned can be an empty string in cases where modifier keys, such as Shift, Control, Alt, and Meta, are being pressed or released. In such cases <a href="QKeyEvent.html#key()"><tt>key</tt></a> will contain a valid value.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>Qt::WA_KeyCompression</tt></DL>
</DD>
</DL>
<HR>

<A NAME="createExtendedKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, int, int, int, java.lang.String, boolean)"><!-- --></A><H3>
createExtendedKeyEvent</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A> <B>createExtendedKeyEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A>&nbsp;type,
                                               int&nbsp;key,
                                               <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A>&nbsp;modifiers,
                                               int&nbsp;nativeScanCode,
                                               int&nbsp;nativeVirtualKey,
                                               int&nbsp;nativeModifiers,
                                               java.lang.String&nbsp;text,
                                               boolean&nbsp;autorep)</PRE>
<DL>
<DD><p>Equivalent to <a href="QKeyEvent.html#createExtendedKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, int, int, int, java.lang.String, boolean, char)"><tt>createExtendedKeyEvent</tt></a>(<tt>type</tt>, <tt>key</tt>, <tt>modifiers</tt>, <tt>nativeScanCode</tt>, <tt>nativeVirtualKey</tt>, <tt>nativeModifiers</tt>, <tt>text</tt>, <tt>autorep</tt>, 1).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="createExtendedKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, int, int, int, java.lang.String)"><!-- --></A><H3>
createExtendedKeyEvent</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A> <B>createExtendedKeyEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A>&nbsp;type,
                                               int&nbsp;key,
                                               <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A>&nbsp;modifiers,
                                               int&nbsp;nativeScanCode,
                                               int&nbsp;nativeVirtualKey,
                                               int&nbsp;nativeModifiers,
                                               java.lang.String&nbsp;text)</PRE>
<DL>
<DD><p>Equivalent to <a href="QKeyEvent.html#createExtendedKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, int, int, int, java.lang.String, boolean, char)"><tt>createExtendedKeyEvent</tt></a>(<tt>type</tt>, <tt>key</tt>, <tt>modifiers</tt>, <tt>nativeScanCode</tt>, <tt>nativeVirtualKey</tt>, <tt>nativeModifiers</tt>, <tt>text</tt>, false, 1).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="createExtendedKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, int, int, int)"><!-- --></A><H3>
createExtendedKeyEvent</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A> <B>createExtendedKeyEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A>&nbsp;type,
                                               int&nbsp;key,
                                               <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A>&nbsp;modifiers,
                                               int&nbsp;nativeScanCode,
                                               int&nbsp;nativeVirtualKey,
                                               int&nbsp;nativeModifiers)</PRE>
<DL>
<DD><p>Equivalent to <a href="QKeyEvent.html#createExtendedKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, int, int, int, java.lang.String, boolean, char)"><tt>createExtendedKeyEvent</tt></a>(<tt>type</tt>, <tt>key</tt>, <tt>modifiers</tt>, <tt>nativeScanCode</tt>, <tt>nativeVirtualKey</tt>, <tt>nativeModifiers</tt>, QString(), false, 1).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="createExtendedKeyEvent(com.trolltech.qt.core.QEvent.Type, int, com.trolltech.qt.core.Qt.KeyboardModifiers, int, int, int, java.lang.String, boolean, char)"><!-- --></A><H3>
createExtendedKeyEvent</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A> <B>createExtendedKeyEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A>&nbsp;type,
                                               int&nbsp;key,
                                               <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A>&nbsp;modifiers,
                                               int&nbsp;nativeScanCode,
                                               int&nbsp;nativeVirtualKey,
                                               int&nbsp;nativeModifiers,
                                               java.lang.String&nbsp;text,
                                               boolean&nbsp;autorep,
                                               char&nbsp;count)</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QKeyEvent instance pointed to by nativePointer
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QItemSelectionRange.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.html" title="class in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QKeyEvent.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QKeyEvent.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.core.QEvent">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>