Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > ff187cb994c94c614ecc64c5a8528b1b > files > 6900

qt-doc-4.8.5-10.fc18.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qevent.cpp -->
  <title>Qt 4.8: QTouchEvent Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/style.css" />
  <script src="scripts/jquery.js" type="text/javascript"></script>
  <script src="scripts/functions.js" type="text/javascript"></script>
  <link rel="stylesheet" type="text/css" href="style/superfish.css" />
  <link rel="stylesheet" type="text/css" href="style/narrow.css" />
  <!--[if IE]>
<meta name="MSSmartTagsPreventParsing" content="true">
<meta http-equiv="imagetoolbar" content="no">
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie6.css">
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie7.css">
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="style/style_ie8.css">
<![endif]-->

<script src="scripts/superfish.js" type="text/javascript"></script>
<script src="scripts/narrow.js" type="text/javascript"></script>

</head>
<body class="" onload="CheckEmptyAndLoadList();">
 <div class="header" id="qtdocheader">
    <div class="content"> 
    <div id="nav-logo">
      <a href="index.html">Home</a></div>
    <a href="index.html" class="qtref"><span>Qt Reference Documentation</span></a>
    <div id="narrowsearch"></div>
    <div id="nav-topright">
      <ul>
        <li class="nav-topright-home"><a href="http://qt.digia.com/">Qt HOME</a></li>
        <li class="nav-topright-dev"><a href="http://qt-project.org/">DEV</a></li>
        <li class="nav-topright-doc nav-topright-doc-active"><a href="http://qt-project.org/doc/">
          DOC</a></li>
        <li class="nav-topright-blog"><a href="http://blog.qt.digia.com/">BLOG</a></li>
      </ul>
    </div>
    <div id="shortCut">
      <ul>
        <li class="shortCut-topleft-inactive"><span><a href="index.html">Qt 4.8</a></span></li>
        <li class="shortCut-topleft-active"><a href="http://qt-project.org/doc/">ALL VERSIONS        </a></li>
      </ul>
     </div>
 <ul class="sf-menu" id="narrowmenu"> 
             <li><a href="#">API Lookup</a> 
                 <ul> 
                     <li><a href="classes.html">Class index</a></li> 
           <li><a href="functions.html">Function index</a></li> 
           <li><a href="modules.html">Modules</a></li> 
           <li><a href="namespaces.html">Namespaces</a></li> 
           <li><a href="qtglobal.html">Global Declarations</a></li> 
           <li><a href="qdeclarativeelements.html">QML elements</a></li> 
             </ul> 
             </li> 
             <li><a href="#">Qt Topics</a> 
                 <ul> 
                        <li><a href="qt-basic-concepts.html">Programming with Qt</a></li>  
                        <li><a href="qtquick.html">Device UIs &amp; Qt Quick</a></li>  
                        <li><a href="qt-gui-concepts.html">UI Design with Qt</a></li>  
                        <li><a href="supported-platforms.html">Supported Platforms</a></li>  
                        <li><a href="technology-apis.html">Qt and Key Technologies</a></li>  
                        <li><a href="best-practices.html">How-To's and Best Practices</a></li>  
              </ul> 
                 </li> 
                 <li><a href="#">Examples</a> 
                     <ul> 
                       <li><a href="all-examples.html">Examples</a></li> 
                       <li><a href="tutorials.html">Tutorials</a></li> 
                       <li><a href="demos.html">Demos</a></li> 
                       <li><a href="qdeclarativeexamples.html">QML Examples</a></li> 
                </ul> 
                     </li> 
                 </ul> 
    </div>
  </div>
  <div class="wrapper">
    <div class="hd">
      <span></span>
    </div>
    <div class="bd group">
      <div class="sidebar">
        <div class="searchlabel">
          Search index:</div>
        <div class="search" id="sidebarsearch">
          <form id="qtdocsearch" action="" onsubmit="return false;">
            <fieldset>
              <input type="text" name="searchstring" id="pageType" value="" />
 <div id="resultdialog"> 
 <a href="#" id="resultclose">Close</a> 
 <p id="resultlinks" class="all"><a href="#" id="showallresults">All</a> | <a href="#" id="showapiresults">API</a> | <a href="#" id="showarticleresults">Articles</a> | <a href="#" id="showexampleresults">Examples</a></p> 
 <p id="searchcount" class="all"><span id="resultcount"></span><span id="apicount"></span><span id="articlecount"></span><span id="examplecount"></span>&nbsp;results:</p> 
 <ul id="resultlist" class="all"> 
 </ul> 
 </div> 
            </fieldset>
          </form>
        </div>
        <div class="box first bottombar" id="lookup">
          <h2 title="API Lookup"><span></span>
            API Lookup</h2>
          <div  id="list001" class="list">
          <ul id="ul001" >
              <li class="defaultLink"><a href="classes.html">Class index</a></li>
              <li class="defaultLink"><a href="functions.html">Function index</a></li>
              <li class="defaultLink"><a href="modules.html">Modules</a></li>
              <li class="defaultLink"><a href="namespaces.html">Namespaces</a></li>
              <li class="defaultLink"><a href="qtglobal.html">Global Declarations</a></li>
              <li class="defaultLink"><a href="qdeclarativeelements.html">QML elements</a></li>
            </ul> 
          </div>
        </div>
        <div class="box bottombar" id="topics">
          <h2 title="Qt Topics"><span></span>
            Qt Topics</h2>
          <div id="list002" class="list">
            <ul id="ul002" >
               <li class="defaultLink"><a href="qt-basic-concepts.html">Programming with Qt</a></li> 
               <li class="defaultLink"><a href="qtquick.html">Device UIs &amp; Qt Quick</a></li> 
               <li class="defaultLink"><a href="qt-gui-concepts.html">UI Design with Qt</a></li> 
               <li class="defaultLink"><a href="supported-platforms.html">Supported Platforms</a></li>  
               <li class="defaultLink"><a href="technology-apis.html">Qt and Key Technologies</a></li> 
               <li class="defaultLink"><a href="best-practices.html">How-To's and Best Practices</a></li> 
            </ul>  
          </div>
        </div>
        <div class="box" id="examples">
          <h2 title="Examples"><span></span>
            Examples</h2>
          <div id="list003" class="list">
        <ul id="ul003">
              <li class="defaultLink"><a href="all-examples.html">Examples</a></li>
              <li class="defaultLink"><a href="tutorials.html">Tutorials</a></li>
              <li class="defaultLink"><a href="demos.html">Demos</a></li>
              <li class="defaultLink"><a href="qdeclarativeexamples.html">QML Examples</a></li>
            </ul> 
          </div>
        </div>
      </div>
      <div class="wrap">
        <div class="toolbar">
          <div class="breadcrumb toolblock">
            <ul>
              <li class="first"><a href="index.html">Home</a></li>
              <!--  Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li><a href="qtgui.html">QtGui</a></li>
<li>QTouchEvent</li>
            </ul>
          </div>
          <div class="toolbuttons toolblock">
            <ul>
              <li id="smallA" class="t_button">A</li>
              <li id="medA" class="t_button active">A</li>
              <li id="bigA" class="t_button">A</li>
              <li id="print" class="t_button"><a href="javascript:this.print();">
                <span>Print</span></a></li>
            </ul>
        </div>
        </div>
        <div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
<li class="level2"><a href="#enabling-touch-events">Enabling Touch Events</a></li>
<li class="level2"><a href="#event-handling">Event Handling</a></li>
<li class="level2"><a href="#event-delivery-and-propagation">Event Delivery and Propagation</a></li>
<li class="level2"><a href="#touch-point-grouping">Touch Point Grouping</a></li>
<li class="level2"><a href="#mouse-events-and-the-primary-touch-point">Mouse Events and the Primary Touch Point</a></li>
<li class="level2"><a href="#caveats">Caveats</a></li>
</ul>
</div>
<h1 class="title">QTouchEvent Class Reference</h1>
<!-- $$$QTouchEvent-brief -->
<p>The QTouchEvent class contains parameters that describe a touch event. <a href="#details">More...</a></p>
<!-- @@@QTouchEvent -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QTouchEvent&gt;</span></pre><p><b>Inherits: </b><a href="qinputevent.html">QInputEvent</a>.</p>
<p>This class was introduced in Qt 4.6.</p>
<ul>
<li><a href="qtouchevent-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2>Public Types</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> class </td><td class="memItemRight bottomAlign"><b><a href="qtouchevent-touchpoint.html">TouchPoint</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qtouchevent.html#DeviceType-enum">DeviceType</a></b> { TouchScreen, TouchPad }</td></tr>
</table>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qtouchevent.html#QTouchEvent">QTouchEvent</a></b> ( QEvent::Type <i>eventType</i>, QTouchEvent::DeviceType <i>deviceType</i> = TouchScreen, Qt::KeyboardModifiers <i>modifiers</i> = Qt::NoModifier, Qt::TouchPointStates <i>touchPointStates</i> = 0, const QList&lt;QTouchEvent::TouchPoint&gt; &amp; <i>touchPoints</i> = QList&lt;QTouchEvent::TouchPoint&gt; () )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qtouchevent.html#dtor.QTouchEvent">~QTouchEvent</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QTouchEvent::DeviceType </td><td class="memItemRight bottomAlign"><b><a href="qtouchevent.html#deviceType">deviceType</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Qt::TouchPointStates </td><td class="memItemRight bottomAlign"><b><a href="qtouchevent.html#touchPointStates">touchPointStates</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QList&lt;QTouchEvent::TouchPoint&gt; &amp; </td><td class="memItemRight bottomAlign"><b><a href="qtouchevent.html#touchPoints">touchPoints</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QWidget * </td><td class="memItemRight bottomAlign"><b><a href="qtouchevent.html#widget">widget</a></b> () const</td></tr>
</table>
<ul>
<li class="fn">1 public function inherited from <a href="qinputevent.html#public-functions">QInputEvent</a></li>
<li class="fn">6 public functions inherited from <a href="qevent.html#public-functions">QEvent</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 property inherited from <a href="qevent.html#properties">QEvent</a></li>
<li class="fn">1 static public member inherited from <a href="qevent.html#static-public-members">QEvent</a></li>
</ul>
<a name="details"></a>
<!-- $$$QTouchEvent-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QTouchEvent class contains parameters that describe a touch event.</p>
<a name="enabling-touch-events"></a>
<h3>Enabling Touch Events</h3>
<p>Touch events occur when pressing, releasing, or moving one or more touch points on a touch device (such as a touch-screen or track-pad). To receive touch events, widgets have to have the <a href="qt.html#WidgetAttribute-enum">Qt::WA_AcceptTouchEvents</a> attribute set and graphics items need to have the <a href="qgraphicsitem.html#setAcceptTouchEvents">acceptTouchEvents</a> attribute set to true.</p>
<p>When using <a href="qabstractscrollarea.html">QAbstractScrollArea</a> based widgets, you should enable the <a href="qt.html#WidgetAttribute-enum">Qt::WA_AcceptTouchEvents</a> attribute on the scroll area's <a href="qabstractscrollarea.html#viewport">viewport</a>.</p>
<p>Similarly to <a href="qmouseevent.html">QMouseEvent</a>, Qt automatically grabs each touch point on the first press inside a widget, and the widget will receive all updates for the touch point until it is released. Note that it is possible for a widget to receive events for numerous touch points, and that multiple widgets may be receiving touch events at the same time.</p>
<a name="event-handling"></a>
<h3>Event Handling</h3>
<p>All touch events are of type <a href="qevent.html#Type-enum">QEvent::TouchBegin</a>, <a href="qevent.html#Type-enum">QEvent::TouchUpdate</a>, or <a href="qevent.html#Type-enum">QEvent::TouchEnd</a>. Reimplement <a href="qwidget.html#event">QWidget::event</a>() or <a href="qabstractscrollarea.html#viewportEvent">QAbstractScrollArea::viewportEvent</a>() for widgets and <a href="qgraphicsitem.html#sceneEvent">QGraphicsItem::sceneEvent</a>() for items in a graphics view to receive touch events.</p>
<p>The <a href="qevent.html#Type-enum">QEvent::TouchUpdate</a> and <a href="qevent.html#Type-enum">QEvent::TouchEnd</a> events are sent to the widget or item that accepted the <a href="qevent.html#Type-enum">QEvent::TouchBegin</a> event. If the <a href="qevent.html#Type-enum">QEvent::TouchBegin</a> event is not accepted and not filtered by an event filter, then no further touch events are sent until the next <a href="qevent.html#Type-enum">QEvent::TouchBegin</a>.</p>
<p>The <a href="qtouchevent.html#touchPoints">touchPoints</a>() function returns a list of all touch points contained in the event. Information about each touch point can be retrieved using the <a href="qtouchevent-touchpoint.html">QTouchEvent::TouchPoint</a> class. The <a href="qt.html#TouchPointState-enum">Qt::TouchPointState</a> enum describes the different states that a touch point may have.</p>
<a name="event-delivery-and-propagation"></a>
<h3>Event Delivery and Propagation</h3>
<p>By default, <a href="qwidget.html#event">QWidget::event</a>() translates the first non-primary touch point in a QTouchEvent into a <a href="qmouseevent.html">QMouseEvent</a>. This makes it possible to enable touch events on existing widgets that do not normally handle QTouchEvent. See below for information on some special considerations needed when doing this.</p>
<p><a href="qevent.html#Type-enum">QEvent::TouchBegin</a> is the first touch event sent to a widget. The <a href="qevent.html#Type-enum">QEvent::TouchBegin</a> event contains a special accept flag that indicates whether the receiver wants the event. By default, the event is accepted. You should call <a href="qevent.html#ignore">ignore</a>() if the touch event is not handled by your widget. The <a href="qevent.html#Type-enum">QEvent::TouchBegin</a> event is propagated up the parent widget chain until a widget accepts it with <a href="qevent.html#accept">accept</a>(), or an event filter consumes it. For QGraphicsItems, the <a href="qevent.html#Type-enum">QEvent::TouchBegin</a> event is propagated to items under the mouse (similar to mouse event propagation for QGraphicsItems).</p>
<a name="touch-point-grouping"></a>
<h3>Touch Point Grouping</h3>
<p>As mentioned above, it is possible that several widgets can be receiving QTouchEvents at the same time. However, Qt makes sure to never send duplicate <a href="qevent.html#Type-enum">QEvent::TouchBegin</a> events to the same widget, which could theoretically happen during propagation if, for example, the user touched 2 separate widgets in a <a href="qgroupbox.html">QGroupBox</a> and both widgets ignored the <a href="qevent.html#Type-enum">QEvent::TouchBegin</a> event.</p>
<p>To avoid this, Qt will group new touch points together using the following rules:</p>
<ul>
<li>When the first touch point is detected, the destination widget is determined firstly by the location on screen and secondly by the propagation rules.</li>
<li>When additional touch points are detected, Qt first looks to see if there are any active touch points on any ancestor or descendent of the widget under the new touch point. If there are, the new touch point is grouped with the first, and the new touch point will be sent in a single QTouchEvent to the widget that handled the first touch point. (The widget under the new touch point will not receive an event).</li>
</ul>
<p>This makes it possible for sibling widgets to handle touch events independently while making sure that the sequence of QTouchEvents is always correct.</p>
<a name="mouse-events-and-the-primary-touch-point"></a>
<h3>Mouse Events and the Primary Touch Point</h3>
<p>QTouchEvent delivery is independent from that of <a href="qmouseevent.html">QMouseEvent</a>. On some windowing systems, mouse events are also sent for the <a href="qtouchevent-touchpoint.html#isPrimary">primary touch point</a>. This means it is possible for your widget to receive both QTouchEvent and <a href="qmouseevent.html">QMouseEvent</a> for the same user interaction point. You can use the <a href="qtouchevent-touchpoint.html#isPrimary">QTouchEvent::TouchPoint::isPrimary</a>() function to identify the primary touch point.</p>
<p>Note that on some systems, it is possible to receive touch events without a primary touch point. All this means is that there will be no mouse event generated for the touch points in the QTouchEvent.</p>
<a name="caveats"></a>
<h3>Caveats</h3>
<ul>
<li>As mentioned above, enabling touch events means multiple widgets can be receiving touch events simultaneously. Combined with the default <a href="qwidget.html#event">QWidget::event</a>() handling for QTouchEvents, this gives you great flexibility in designing touch user interfaces. Be aware of the implications. For example, it is possible that the user is moving a <a href="qslider.html">QSlider</a> with one finger and pressing a <a href="qpushbutton.html">QPushButton</a> with another. The signals emitted by these widgets will be interleaved.</li>
<li>Recursion into the event loop using one of the exec() methods (e.g&#x2e;, <a href="qdialog.html#exec">QDialog::exec</a>() or <a href="qmenu.html#exec">QMenu::exec</a>()) in a QTouchEvent event handler is not supported. Since there are multiple event recipients, recursion may cause problems, including but not limited to lost events and unexpected infinite recursion.</li>
<li>QTouchEvents are not affected by a <a href="qwidget.html#grabMouse">mouse grab</a> or an <a href="qapplication.html#activePopupWidget">active pop-up widget</a>. The behavior of QTouchEvents is undefined when opening a pop-up or grabbing the mouse while there are more than one active touch points.</li>
</ul>
</div>
<p><b>See also </b><a href="qtouchevent-touchpoint.html">QTouchEvent::TouchPoint</a>, <a href="qt.html#TouchPointState-enum">Qt::TouchPointState</a>, <a href="qt.html#WidgetAttribute-enum">Qt::WA_AcceptTouchEvents</a>, and <a href="qgraphicsitem.html#acceptTouchEvents">QGraphicsItem::acceptTouchEvents</a>().</p>
<!-- @@@QTouchEvent -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$DeviceType$$$TouchScreen$$$TouchPad -->
<h3 class="fn"><a name="DeviceType-enum"></a>enum QTouchEvent::<span class="name">DeviceType</span></h3>
<p>This enum represents the type of device that generated a <a href="qtouchevent.html">QTouchEvent</a>.</p>
<table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><tt>QTouchEvent::TouchScreen</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">In this type of device, the touch surface and display are integrated. This means the surface and display typically have the same size, such that there is a direct relationship between the touch points' physical positions and the coordinate reported by <a href="qtouchevent-touchpoint.html">QTouchEvent::TouchPoint</a>. As a result, Qt allows the user to interact directly with multiple QWidgets and QGraphicsItems at the same time.</td></tr>
<tr><td class="topAlign"><tt>QTouchEvent::TouchPad</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">In this type of device, the touch surface is separate from the display. There is not a direct relationship between the physical touch location and the on-screen coordinates. Instead, they are calculated relative to the current mouse position, and the user must use the touch-pad to move this reference point. Unlike touch-screens, Qt allows users to only interact with a single <a href="qwidget.html">QWidget</a> or <a href="qgraphicsitem.html">QGraphicsItem</a> at a time.</td></tr>
</table>
<!-- @@@DeviceType -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QTouchEvent[overload1]$$$QTouchEventQEvent::TypeQTouchEvent::DeviceTypeQt::KeyboardModifiersQt::TouchPointStatesconstQList<QTouchEvent::TouchPoint>& -->
<h3 class="fn"><a name="QTouchEvent"></a>QTouchEvent::<span class="name">QTouchEvent</span> ( <span class="type"><a href="qevent.html#Type-enum">QEvent::Type</a></span> <i>eventType</i>, <span class="type"><a href="qtouchevent.html#DeviceType-enum">QTouchEvent::DeviceType</a></span> <i>deviceType</i> = TouchScreen, <span class="type"><a href="qt.html#KeyboardModifier-enum">Qt::KeyboardModifiers</a></span> <i>modifiers</i> = Qt::NoModifier, <span class="type"><a href="qt.html#TouchPointState-enum">Qt::TouchPointStates</a></span> <i>touchPointStates</i> = 0, const <span class="type"><a href="qlist.html">QList</a></span>&lt;<span class="type"><a href="qtouchevent-touchpoint.html">QTouchEvent::TouchPoint</a></span>&gt; &amp; <i>touchPoints</i> = QList&lt;QTouchEvent::TouchPoint&gt; () )</h3>
<p>Constructs a <a href="qtouchevent.html">QTouchEvent</a> with the given <i>eventType</i>, <i>deviceType</i>, and <i>touchPoints</i>. The <i>touchPointStates</i> and <i>modifiers</i> are the current touch point states and keyboard modifiers at the time of the event.</p>
<!-- @@@QTouchEvent -->
<!-- $$$~QTouchEvent[overload1]$$$~QTouchEvent -->
<h3 class="fn"><a name="dtor.QTouchEvent"></a>QTouchEvent::<span class="name">~QTouchEvent</span> ()</h3>
<p>Destroys the <a href="qtouchevent.html">QTouchEvent</a>.</p>
<!-- @@@~QTouchEvent -->
<!-- $$$deviceType[overload1]$$$deviceType -->
<h3 class="fn"><a name="deviceType"></a><span class="type"><a href="qtouchevent.html#DeviceType-enum">QTouchEvent::DeviceType</a></span> QTouchEvent::<span class="name">deviceType</span> () const</h3>
<p>Returns the touch device Type, which is of type <a href="qtouchevent.html#DeviceType-enum">DeviceType</a>.</p>
<!-- @@@deviceType -->
<!-- $$$touchPointStates[overload1]$$$touchPointStates -->
<h3 class="fn"><a name="touchPointStates"></a><span class="type"><a href="qt.html#TouchPointState-enum">Qt::TouchPointStates</a></span> QTouchEvent::<span class="name">touchPointStates</span> () const</h3>
<p>Returns a bitwise OR of all the touch point states for this event.</p>
<!-- @@@touchPointStates -->
<!-- $$$touchPoints[overload1]$$$touchPoints -->
<h3 class="fn"><a name="touchPoints"></a>const <span class="type"><a href="qlist.html">QList</a></span>&lt;<span class="type"><a href="qtouchevent-touchpoint.html">QTouchEvent::TouchPoint</a></span>&gt; &amp; QTouchEvent::<span class="name">touchPoints</span> () const</h3>
<p>Returns the list of touch points contained in the touch event.</p>
<!-- @@@touchPoints -->
<!-- $$$widget[overload1]$$$widget -->
<h3 class="fn"><a name="widget"></a><span class="type"><a href="qwidget.html">QWidget</a></span> * QTouchEvent::<span class="name">widget</span> () const</h3>
<p>Returns the widget on which the event occurred.</p>
<!-- @@@widget -->
</div>
      </div>
    </div>
    </div> 
    <div class="ft">
      <span></span>
    </div>
  </div> 
  <div class="footer">
    <p>
      <acronym title="Copyright">&copy;</acronym> 2013 Digia Plc and/or its
      subsidiaries. Documentation contributions included herein are the copyrights of
      their respective owners.</p>
    <br />
    <p>
      The documentation provided herein is licensed under the terms of the
      <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation
      License version 1.3</a> as published by the Free Software Foundation.</p>
    <p>
      Documentation sources may be obtained from <a href="http://www.qt-project.org">
      www.qt-project.org</a>.</p>
    <br />
    <p>
      Digia, Qt and their respective logos are trademarks of Digia Plc 
      in Finland and/or other countries worldwide. All other trademarks are property
      of their respective owners. <a title="Privacy Policy"
      href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p>
  </div>

  <script src="scripts/functions.js" type="text/javascript"></script>
</body>
</html>