Sophie

Sophie

distrib > Mageia > 6 > x86_64 > by-pkgid > 279e1392635986df1af89cdbd290e105 > files > 160

maliit-framework-docs-0.94.2-11.mga6.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Maliit::PreeditInjectionEvent Class Reference</title>
<link href="meego-im.css" rel="stylesheet" type="text/css">
</head><body>
<table>
<tr>
<td></td>
<td>
<a href="index.html">Home</a>
·
<a href="classes.html">API Reference</a>
·
<a href="modules.html">Modules</a>
</td>
</tr>
</table>
<!-- Generated by Doxygen 1.8.12 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_maliit.html">Maliit</a></li><li class="navelem"><a class="el" href="class_maliit_1_1_preedit_injection_event.html">PreeditInjectionEvent</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_maliit_1_1_preedit_injection_event-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Maliit::PreeditInjectionEvent Class Reference<div class="ingroups"><a class="el" href="group__libmaliit.html">Libmaliit</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for Maliit::PreeditInjectionEvent:</div>
<div class="dyncontent">
<div class="center"><img src="class_maliit_1_1_preedit_injection_event__inherit__graph.png" border="0" usemap="#_maliit_1_1_preedit_injection_event_inherit__map" alt="Inheritance graph"/></div>
<map name="_maliit_1_1_preedit_injection_event_inherit__map" id="_maliit_1_1_preedit_injection_event_inherit__map">
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8ae30c50c6f0d170cce7764dafd7ad26"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_preedit_injection_event.html#a8ae30c50c6f0d170cce7764dafd7ad26">PreeditInjectionEvent</a> (const QString &amp;<a class="el" href="class_maliit_1_1_preedit_injection_event.html#a9386945f2424d73107a31c1a4483a0ba">preedit</a>)</td></tr>
<tr class="separator:a8ae30c50c6f0d170cce7764dafd7ad26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5ef85ade4a510c60096f0053256f8ac"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_preedit_injection_event.html#ac5ef85ade4a510c60096f0053256f8ac">PreeditInjectionEvent</a> (const QString &amp;<a class="el" href="class_maliit_1_1_preedit_injection_event.html#a9386945f2424d73107a31c1a4483a0ba">preedit</a>, int <a class="el" href="class_maliit_1_1_preedit_injection_event.html#a70ea52cea3ff81d3983dfb6c57e02502">eventCursorPosition</a>)</td></tr>
<tr class="separator:ac5ef85ade4a510c60096f0053256f8ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b8c2f5926c2e5b55db69e9a5036dcc4"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_preedit_injection_event.html#a8b8c2f5926c2e5b55db69e9a5036dcc4">~PreeditInjectionEvent</a> ()</td></tr>
<tr class="separator:a8b8c2f5926c2e5b55db69e9a5036dcc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9386945f2424d73107a31c1a4483a0ba"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_preedit_injection_event.html#a9386945f2424d73107a31c1a4483a0ba">preedit</a> () const</td></tr>
<tr class="separator:a9386945f2424d73107a31c1a4483a0ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70ea52cea3ff81d3983dfb6c57e02502"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_preedit_injection_event.html#a70ea52cea3ff81d3983dfb6c57e02502">eventCursorPosition</a> () const</td></tr>
<tr class="separator:a70ea52cea3ff81d3983dfb6c57e02502"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a55f55fdf110771306bc9490c279022"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_preedit_injection_event.html#a5a55f55fdf110771306bc9490c279022">setReplacement</a> (int <a class="el" href="class_maliit_1_1_preedit_injection_event.html#aced12066bd5c9acc51705d27b33fda72">replacementStart</a>, int <a class="el" href="class_maliit_1_1_preedit_injection_event.html#accea97bd0dd57717aecc2d0b42056643">replacementLength</a>)</td></tr>
<tr class="separator:a5a55f55fdf110771306bc9490c279022"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aced12066bd5c9acc51705d27b33fda72"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_preedit_injection_event.html#aced12066bd5c9acc51705d27b33fda72">replacementStart</a> () const</td></tr>
<tr class="separator:aced12066bd5c9acc51705d27b33fda72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accea97bd0dd57717aecc2d0b42056643"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_preedit_injection_event.html#accea97bd0dd57717aecc2d0b42056643">replacementLength</a> () const</td></tr>
<tr class="separator:accea97bd0dd57717aecc2d0b42056643"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a9cb6b80f7dea8f8342ecfa03cd6e699c"><td class="memItemLeft" align="right" valign="top">static QEvent::Type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_preedit_injection_event.html#a9cb6b80f7dea8f8342ecfa03cd6e699c">eventNumber</a> ()</td></tr>
<tr class="separator:a9cb6b80f7dea8f8342ecfa03cd6e699c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a07f92b639bd40a8b88f650f9165863bd"><td class="memItemLeft" align="right" valign="top">PreeditInjectionEventPrivate *const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_preedit_injection_event.html#a07f92b639bd40a8b88f650f9165863bd">d_ptr</a></td></tr>
<tr class="separator:a07f92b639bd40a8b88f650f9165863bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Extension for preedit text inside text edits. </p>
<p>MPreeditInjectionEvent should be sent from text edit to input context and offer the word as preedit. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a8ae30c50c6f0d170cce7764dafd7ad26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ae30c50c6f0d170cce7764dafd7ad26">&sect;&nbsp;</a></span>PreeditInjectionEvent() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Maliit::PreeditInjectionEvent::PreeditInjectionEvent </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>preedit</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Default constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">preedit</td><td>The word offered as preedit. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac5ef85ade4a510c60096f0053256f8ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5ef85ade4a510c60096f0053256f8ac">&sect;&nbsp;</a></span>PreeditInjectionEvent() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Maliit::PreeditInjectionEvent::PreeditInjectionEvent </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>preedit</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>eventCursorPosition</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">preedit</td><td>The word offered as preedit. </td></tr>
    <tr><td class="paramname">eventCursorPosition</td><td>The expected cursor position inside preedit. The valid value is from 0 (at the beginning of the preedit) to the length of preedit (at the end of preedit). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8b8c2f5926c2e5b55db69e9a5036dcc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b8c2f5926c2e5b55db69e9a5036dcc4">&sect;&nbsp;</a></span>~PreeditInjectionEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Maliit::PreeditInjectionEvent::~PreeditInjectionEvent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Destructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a70ea52cea3ff81d3983dfb6c57e02502"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70ea52cea3ff81d3983dfb6c57e02502">&sect;&nbsp;</a></span>eventCursorPosition()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Maliit::PreeditInjectionEvent::eventCursorPosition </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the expected cursor position inside preedit. </p>
<p>Note the eventCursorPosition is not the real cursor position, while it is the cursor position inside preedit which this event expects. The input context will decide whether and where to display cursor. The valid value is from 0 (at the beginning of the preedit) to the length of preedit (at the end of preedit). Other values indicate the cursor position unknown. </p>

</div>
</div>
<a id="a9cb6b80f7dea8f8342ecfa03cd6e699c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9cb6b80f7dea8f8342ecfa03cd6e699c">&sect;&nbsp;</a></span>eventNumber()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QEvent::Type Maliit::PreeditInjectionEvent::eventNumber </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a9386945f2424d73107a31c1a4483a0ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9386945f2424d73107a31c1a4483a0ba">&sect;&nbsp;</a></span>preedit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString Maliit::PreeditInjectionEvent::preedit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the offered preedit text. </p>

</div>
</div>
<a id="accea97bd0dd57717aecc2d0b42056643"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accea97bd0dd57717aecc2d0b42056643">&sect;&nbsp;</a></span>replacementLength()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Maliit::PreeditInjectionEvent::replacementLength </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>replacement length info as in QInputMethodEvent </p>

</div>
</div>
<a id="aced12066bd5c9acc51705d27b33fda72"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aced12066bd5c9acc51705d27b33fda72">&sect;&nbsp;</a></span>replacementStart()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Maliit::PreeditInjectionEvent::replacementStart </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>replacement start info as in QInputMethodEvent </p>

</div>
</div>
<a id="a5a55f55fdf110771306bc9490c279022"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a55f55fdf110771306bc9490c279022">&sect;&nbsp;</a></span>setReplacement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Maliit::PreeditInjectionEvent::setReplacement </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>replacementStart</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>replacementLength</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>sets replacement information that should be used for QInputMethodEvent. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a07f92b639bd40a8b88f650f9165863bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07f92b639bd40a8b88f650f9165863bd">&sect;&nbsp;</a></span>d_ptr</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">PreeditInjectionEventPrivate* const Maliit::PreeditInjectionEvent::d_ptr</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<hr>
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%" align="left">Copyright &copy; 2011 Nokia Corporation</td>
<td width="40%" align="center" class="generator"><!-- Generated on Thu Nov 17 2016 17:45:20<br>Doxygen 1.8.12 --></td>
<td width="30%" align="right"><div align="right">Maliit</div></td>
</tr></table>
</body>
</html>