Sophie

Sophie

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

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::InputMethod 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_input_method.html">InputMethod</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_maliit_1_1_input_method-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Maliit::InputMethod 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::InputMethod:</div>
<div class="dyncontent">
<div class="center"><img src="class_maliit_1_1_input_method__inherit__graph.png" border="0" usemap="#_maliit_1_1_input_method_inherit__map" alt="Inheritance graph"/></div>
<map name="_maliit_1_1_input_method_inherit__map" id="_maliit_1_1_input_method_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-slots"></a>
Public Slots</h2></td></tr>
<tr class="memitem:aa87d5d624dfa6adea1f54b491dba4ffb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_input_method.html#aa87d5d624dfa6adea1f54b491dba4ffb">startOrientationAngleChange</a> (<a class="el" href="namespace_maliit.html#a3df14bf997f1263f0b259c98ecb45196">Maliit::OrientationAngle</a> newOrientationAngle)</td></tr>
<tr class="separator:aa87d5d624dfa6adea1f54b491dba4ffb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a736580f2ca029a929d3e8c9115f40cf0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_input_method.html#a736580f2ca029a929d3e8c9115f40cf0">setOrientationAngle</a> (<a class="el" href="namespace_maliit.html#a3df14bf997f1263f0b259c98ecb45196">Maliit::OrientationAngle</a> newOrientationAngle)</td></tr>
<tr class="separator:a736580f2ca029a929d3e8c9115f40cf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ae47c74252d0a24f23cc6119bf5588d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_input_method.html#a8ae47c74252d0a24f23cc6119bf5588d">setArea</a> (const QRect &amp;newRegion)</td></tr>
<tr class="separator:a8ae47c74252d0a24f23cc6119bf5588d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
Signals</h2></td></tr>
<tr class="memitem:a98b57be74af6110aa2a9f52b59866277"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_input_method.html#a98b57be74af6110aa2a9f52b59866277">areaChanged</a> (const QRect &amp;region)</td></tr>
<tr class="separator:a98b57be74af6110aa2a9f52b59866277"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8770bf535cd38c20134131401a954def"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_input_method.html#a8770bf535cd38c20134131401a954def">orientationAngleAboutToChange</a> (<a class="el" href="namespace_maliit.html#a3df14bf997f1263f0b259c98ecb45196">Maliit::OrientationAngle</a> <a class="el" href="class_maliit_1_1_input_method.html#ab27dbbb7332032e36c52ebde4245dd35">orientationAngle</a>)</td></tr>
<tr class="separator:a8770bf535cd38c20134131401a954def"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d71b81b697a3660d0c4ca0dad5aa775"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_input_method.html#a0d71b81b697a3660d0c4ca0dad5aa775">orientationAngleChanged</a> (<a class="el" href="namespace_maliit.html#a3df14bf997f1263f0b259c98ecb45196">Maliit::OrientationAngle</a> <a class="el" href="class_maliit_1_1_input_method.html#ab27dbbb7332032e36c52ebde4245dd35">orientationAngle</a>)</td></tr>
<tr class="separator:a0d71b81b697a3660d0c4ca0dad5aa775"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5ceca341923909e1b2f1729c1727b6d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_input_method.html#ab5ceca341923909e1b2f1729c1727b6d">keyPress</a> (const QKeyEvent &amp;)</td></tr>
<tr class="separator:ab5ceca341923909e1b2f1729c1727b6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a646bd95451166b8e5bdd58f86fdda72c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_input_method.html#a646bd95451166b8e5bdd58f86fdda72c">keyRelease</a> (const QKeyEvent &amp;)</td></tr>
<tr class="separator:a646bd95451166b8e5bdd58f86fdda72c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9cb76c9b9778c4987e115b39b8be938"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_input_method.html#af9cb76c9b9778c4987e115b39b8be938">languageChanged</a> (const QString &amp;<a class="el" href="class_maliit_1_1_input_method.html#adf9819aaa61d46cc15d09ae91858a410">language</a>)</td></tr>
<tr class="separator:af9cb76c9b9778c4987e115b39b8be938"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:ac9bc9df65a3c1e9759b7de9c7ecbb5c4"><td class="memItemLeft" align="right" valign="top">QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_input_method.html#ac9bc9df65a3c1e9759b7de9c7ecbb5c4">widget</a> () const</td></tr>
<tr class="separator:ac9bc9df65a3c1e9759b7de9c7ecbb5c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8635eeb71a805902dd814d7c6db6edee"><td class="memItemLeft" align="right" valign="top">QRect&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_input_method.html#a8635eeb71a805902dd814d7c6db6edee">area</a> () const</td></tr>
<tr class="separator:a8635eeb71a805902dd814d7c6db6edee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab27dbbb7332032e36c52ebde4245dd35"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_maliit.html#a3df14bf997f1263f0b259c98ecb45196">Maliit::OrientationAngle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_input_method.html#ab27dbbb7332032e36c52ebde4245dd35">orientationAngle</a> () const</td></tr>
<tr class="separator:ab27dbbb7332032e36c52ebde4245dd35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf9819aaa61d46cc15d09ae91858a410"><td class="memItemLeft" align="right" valign="top">const QString &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_input_method.html#adf9819aaa61d46cc15d09ae91858a410">language</a> () const</td></tr>
<tr class="separator:adf9819aaa61d46cc15d09ae91858a410"><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:a3a434cfd58f28c882081812392f2b7c2"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_maliit_1_1_input_method.html">InputMethod</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_maliit_1_1_input_method.html#a3a434cfd58f28c882081812392f2b7c2">instance</a> ()</td></tr>
<tr class="separator:a3a434cfd58f28c882081812392f2b7c2"><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>Listen to device orientation, language and raw key events. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a8635eeb71a805902dd814d7c6db6edee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8635eeb71a805902dd814d7c6db6edee">&sect;&nbsp;</a></span>area()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QRect Maliit::InputMethod::area </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get current input method area. </p>
<dl class="section return"><dt>Returns</dt><dd>current input method area </dd></dl>

</div>
</div>
<a id="a98b57be74af6110aa2a9f52b59866277"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98b57be74af6110aa2a9f52b59866277">&sect;&nbsp;</a></span>areaChanged</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Maliit::InputMethod::areaChanged </td>
          <td>(</td>
          <td class="paramtype">const QRect &amp;&#160;</td>
          <td class="paramname"><em>region</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Emitted when input method area is changed. </p>
<dl class="section warning"><dt>Warning</dt><dd>This signal is consumed by the input widget relocator inside libmeegotouch, and can be emitted at any time, so in order to avoid conflicts, an application that does any custom relayout must not use a queued connection (like Qt::QueuedConnection).</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">region</td><td>new input method area </td></tr>
  </table>
  </dd>
</dl>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_maliit_1_1_input_method.html">InputMethod</a> * Maliit::InputMethod::instance </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">

<p>Get singleton instance. </p>
<p>Example of using the singleton <a class="el" href="class_maliit_1_1_input_method.html" title="Listen to device orientation, language and raw key events. ">InputMethod</a> instance: </p><div class="fragment"></div><!-- fragment --><dl class="section return"><dt>Returns</dt><dd>singleton instance </dd></dl>

</div>
</div>
<a id="ab5ceca341923909e1b2f1729c1727b6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5ceca341923909e1b2f1729c1727b6d">&sect;&nbsp;</a></span>keyPress</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Maliit::InputMethod::keyPress </td>
          <td>(</td>
          <td class="paramtype">const QKeyEvent &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Can be emitted by input method to notify about raw key press event it receives. </p>

</div>
</div>
<a id="a646bd95451166b8e5bdd58f86fdda72c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a646bd95451166b8e5bdd58f86fdda72c">&sect;&nbsp;</a></span>keyRelease</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Maliit::InputMethod::keyRelease </td>
          <td>(</td>
          <td class="paramtype">const QKeyEvent &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Can be emitted by input method to notify about raw key release event it receives. </p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QString &amp; Maliit::InputMethod::language </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Current language of active input method. </p>

</div>
</div>
<a id="af9cb76c9b9778c4987e115b39b8be938"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9cb76c9b9778c4987e115b39b8be938">&sect;&nbsp;</a></span>languageChanged</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Maliit::InputMethod::languageChanged </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>language</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Emitted on input method language change. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_maliit_1_1_input_method.html#adf9819aaa61d46cc15d09ae91858a410" title="Current language of active input method. ">language()</a> </dd></dl>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_maliit.html#a3df14bf997f1263f0b259c98ecb45196">OrientationAngle</a> Maliit::InputMethod::orientationAngle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the orientation of application's active window. </p>
<dl class="section return"><dt>Returns</dt><dd>orientation of application's active window </dd></dl>

</div>
</div>
<a id="a8770bf535cd38c20134131401a954def"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8770bf535cd38c20134131401a954def">&sect;&nbsp;</a></span>orientationAngleAboutToChange</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Maliit::InputMethod::orientationAngleAboutToChange </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_maliit.html#a3df14bf997f1263f0b259c98ecb45196">Maliit::OrientationAngle</a>&#160;</td>
          <td class="paramname"><em>orientationAngle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This signal is emitted before the orientation angle of the application's active window is changed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">orientationAngle</td><td>New orientation angle which is about to change.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>It is emitted at the start of the rotation animation. </dd></dl>

</div>
</div>
<a id="a0d71b81b697a3660d0c4ca0dad5aa775"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d71b81b697a3660d0c4ca0dad5aa775">&sect;&nbsp;</a></span>orientationAngleChanged</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Maliit::InputMethod::orientationAngleChanged </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_maliit.html#a3df14bf997f1263f0b259c98ecb45196">Maliit::OrientationAngle</a>&#160;</td>
          <td class="paramname"><em>orientationAngle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This signal is emitted when the orientation angle of application's active window is changed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">orientationAngle</td><td>new orientation angle</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>It's emitted with every orientation angle change finished. </dd></dl>

</div>
</div>
<a id="a8ae47c74252d0a24f23cc6119bf5588d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ae47c74252d0a24f23cc6119bf5588d">&sect;&nbsp;</a></span>setArea</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Maliit::InputMethod::setArea </td>
          <td>(</td>
          <td class="paramtype">const QRect &amp;&#160;</td>
          <td class="paramname"><em>newRegion</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set input method area to <em>newRegion</em>. </p>

</div>
</div>
<a id="a736580f2ca029a929d3e8c9115f40cf0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a736580f2ca029a929d3e8c9115f40cf0">&sect;&nbsp;</a></span>setOrientationAngle</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Maliit::InputMethod::setOrientationAngle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_maliit.html#a3df14bf997f1263f0b259c98ecb45196">Maliit::OrientationAngle</a>&#160;</td>
          <td class="paramname"><em>newOrientationAngle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the orientation angle of application's active window to <em>newOrientationAngle</em>. </p>
<dl class="section note"><dt>Note</dt><dd>This method should be called when active window already finished the rotation animation. </dd></dl>

</div>
</div>
<a id="aa87d5d624dfa6adea1f54b491dba4ffb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa87d5d624dfa6adea1f54b491dba4ffb">&sect;&nbsp;</a></span>startOrientationAngleChange</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Maliit::InputMethod::startOrientationAngleChange </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_maliit.html#a3df14bf997f1263f0b259c98ecb45196">Maliit::OrientationAngle</a>&#160;</td>
          <td class="paramname"><em>newOrientationAngle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Application's active window start to rotate to <em>newOrientationAngle</em>. </p>
<dl class="section note"><dt>Note</dt><dd>This method should be called when active window start rotation animation. </dd></dl>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QWidget * Maliit::InputMethod::widget </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the input method widget. </p>
<p>If the "MaliitDirect" input-context plugin is in use, the <a class="el" href="namespace_maliit.html">Maliit</a> <a class="el" href="namespace_maliit_1_1_server.html">Server</a> will be hosted inside the application process, and the input method widget be available here. The application may then reparent the widget into its widget hierarchy to make use of the input method. Handling of show and hide is still done by <a class="el" href="namespace_maliit.html">Maliit</a>, and the application should follow the <a class="el" href="class_maliit_1_1_input_method.html#a98b57be74af6110aa2a9f52b59866277" title="Emitted when input method area is changed. ">areaChanged()</a> signal to track the size of the IM, just as in the server-hosted case.</p>
<p>If the input-context plugin in use is not "MaliitDirect", this method will return 0 </p>

</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>