Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1f9eb832ba1e4b88d9a5c2b384813bb4 > files > 3415

kdelibs3-apidocs-3.5.10-31.fc15.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>kdeui: KLineEdit Class Reference (kdeui)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>

  <div id="nav_header_title" align="left">KDE API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_right" style="text-align: left;">
/ <a href="../..">API Reference</a>
 / <a href=".">kdeui</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <a name="content"></a>


<!-- Generated by Doxygen 1.7.4 -->
</div>
<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="#pro-slots">Protected Slots</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">KLineEdit Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="KLineEdit" --><!-- doxytag: inherits="QLineEdit,KCompletionBase" -->
<p>An enhanced <a class="elRef" href="qlineedit.html">QLineEdit</a> widget for inputting text.  
 <a href="classKLineEdit.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="klineedit_8h_source.html">klineedit.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for KLineEdit:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classKLineEdit.png" usemap="#KLineEdit_map" alt=""/>
  <map id="KLineEdit_map" name="KLineEdit_map">
<area href="qlineedit.html" alt="QLineEdit" shape="rect" coords="147,0,284,24"/>
<area doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html" alt="KCompletionBase" shape="rect" coords="294,0,431,24"/>
<area href="classKIconViewSearchLine.html" title="This class makes it easy to add a search line for filtering the items in a iconview based on a simple..." alt="KIconViewSearchLine" shape="rect" coords="0,112,137,136"/>
<area href="classKListViewLineEdit.html" title="the editor for a KListView." alt="KListViewLineEdit" shape="rect" coords="147,112,284,136"/>
<area href="classKListViewSearchLine.html" title="This class makes it easy to add a search line for filtering the items in a listview based on a simple..." alt="KListViewSearchLine" shape="rect" coords="294,112,431,136"/>
<area href="classKRestrictedLine.html" title="A line editor for restricted character sets." alt="KRestrictedLine" shape="rect" coords="441,112,578,136"/>
</map>
 </div></div>

<p><a href="classKLineEdit-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a34dd2383e4c75489920ae65d4c0ce86e">setReadOnly</a> (bool)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a38075439851dc1c7019aa182e27a7e83">rotateText</a> (<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#afcb3584e759d233cf9acabf6a5d4ab4b">KCompletionBase::KeyBindingType</a> type)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a683eda3a0e0d336c8d6c3cb109e663c4">setCompletedText</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a1acb076f81287a400c583a05b82ed18b">setCompletedItems</a> (const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;items)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#aeea5eb602ffa37f7cffcd5bf87b12a34">setCompletedItems</a> (const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;items, bool autoSuggest)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#af92c387e892af80edfe3017e8614c048">clear</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#ab4899f5fd024ef5c21e87ff3ad9ae556">setSqueezedText</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;<a class="elRef" href="qlineedit.html#text">text</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a48675b4c9e2138b7fe345ffccb9f5b66">setText</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;)</td></tr>
<tr><td colspan="2"><h2><a name="signals"></a>
Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a9c304f4374bb8825797bab161e8ec28d">completionBoxActivated</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a8202b1e44f3250e61b2f300d387b7917">returnPressed</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#ab48964dc7ff75dde1559a70e44e956f5">completion</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#adab7821b3859d88c27447480233d8e21">substringCompletion</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a950fcb35f90a91bbc1c54d1ea423ed21">textRotation</a> (<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#afcb3584e759d233cf9acabf6a5d4ab4b">KCompletionBase::KeyBindingType</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#aa1d1e735410e762943b2199e0b6d3328">completionModeChanged</a> (<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKGlobalSettings.html#a4df0f8e08f3ffde1e176276cbf5aa821">KGlobalSettings::Completion</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#ac37f1560e5d0cd736c17e5e1af0c6634">aboutToShowContextMenu</a> (<a class="elRef" href="qpopupmenu.html">QPopupMenu</a> *p)</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a15a67f6871e574072f365d9454d9e5e4">KLineEdit</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;string, <a class="elRef" href="qwidget.html">QWidget</a> *parent, const char *name=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a89173e90b3418f3601eb7815f56b9831">KLineEdit</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent=0, const char *name=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a13dca564e4ecae77c87c4aff0ab1e964">~KLineEdit</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a57940219953655e8166a0200228234bb">setURL</a> (const <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKURL.html">KURL</a> &amp;url)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a39b983a2d4e880399cb40e915455bbc6">cursorAtEnd</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a1fcc87690462ce0f0a1ca5db9b1efa38">setCompletionMode</a> (<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKGlobalSettings.html#a4df0f8e08f3ffde1e176276cbf5aa821">KGlobalSettings::Completion</a> mode)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a9e94b30dc00cd5b2af1209609a20230d">setContextMenuEnabled</a> (bool showMenu)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a5a83028a83eaa121007b4a0f8b3ce6ec">isContextMenuEnabled</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a2a2f2c66d49b7a7bc445816682e408b6">setURLDropsEnabled</a> (bool enable)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a4bf2290b87d4f151cc44494e239a1834">isURLDropsEnabled</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a2c2d71612ffc771001d817908d4e7911">setTrapReturnKey</a> (bool trap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#adb0d46a89ca5876e0e2bcf634fff83ae">trapReturnKey</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#acbf53bc76ee6382829e00ee406369cae">eventFilter</a> (<a class="elRef" href="qobject.html">QObject</a> *, <a class="elRef" href="qevent.html">QEvent</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKCompletionBox.html">KCompletionBox</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#ad3bc57bfc4d530e172162c3a11e34466">completionBox</a> (bool create=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#ad1f7b88981f544906a41ba4c0a6cb0d6">setCompletionObject</a> (<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletion.html">KCompletion</a> *, bool hsig=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a2bdae24791df6ab4b00aadc440ab2ff0">copy</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a630b0348aa52c3a0473d956408de6158">setEnableSqueezedText</a> (bool enable)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a5528b992b4312c0f1609a42bd1913d89">isSqueezedTextEnabled</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#afa32a776493c802bf0d50f6569bf0328">originalText</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a674b01f26e0f6e1ee16b68295380afe4">setCompletionBox</a> (<a class="el" href="classKCompletionBox.html">KCompletionBox</a> *box)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a99a046759a544bdfd9b0f782cf545b2b">setClickMessage</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;msg)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a1477630496e042adaabc7615d15fb248">clickMessage</a> () const </td></tr>
<tr><td colspan="2"><h2><a name="pro-slots"></a>
Protected Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#afca8254520ccc29dca6f616ed0d5926b">makeCompletion</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a888ad80b826a523fa15a61ed063fc81e">slotAboutToShow</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#ae8c9b52343b20dd62021429960626b02">slotCancelled</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#af21fbd1c21ee9dcaeb09b7621e587bbf">userCancelled</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;cancelText)</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a2097eb134df1e8932ba2441d747ffe70">resizeEvent</a> (<a class="elRef" href="qresizeevent.html">QResizeEvent</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a711e340f2873debc01a413806002647e">keyPressEvent</a> (<a class="elRef" href="qkeyevent.html">QKeyEvent</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#ac457bf1099e0d6e8d8f648470726cda8">mousePressEvent</a> (<a class="elRef" href="qmouseevent.html">QMouseEvent</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#ad8a904cb5823c74c634d38f747ea7ad4">mouseDoubleClickEvent</a> (<a class="elRef" href="qmouseevent.html">QMouseEvent</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#ab0c5b839c632535fb1a2e9a6882af229">mouseReleaseEvent</a> (<a class="elRef" href="qmouseevent.html">QMouseEvent</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a84bebb95941b1a75b63ea53354551238">contextMenuEvent</a> (<a class="elRef" href="qcontextmenuevent.html">QContextMenuEvent</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="qpopupmenu.html">QPopupMenu</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#ae94e1c06f2dd02dd8c1e5d6262c55313">createPopupMenu</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a1131eba5490b3e963198c2b6f0ecb50b">drawContents</a> (<a class="elRef" href="qpainter.html">QPainter</a> *p)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#acb38e6d746a3e20462a96154eeda4026">dropEvent</a> (<a class="elRef" href="qdropevent.html">QDropEvent</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afc57840fc4dce94cd0a8c3f32a08895c"></a><!-- doxytag: member="KLineEdit::setCompletedText" ref="afc57840fc4dce94cd0a8c3f32a08895c" args="(const QString &amp;, bool)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>setCompletedText</b> (const <a class="elRef" href="qstring.html">QString</a> &amp;, bool)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a6edd34d42e54a6803984c47de8c305dd">setUserSelection</a> (bool userSelection)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#afefdf24c9eb475864a3b3f2b9c798e66">create</a> (WId=0, bool initializeWindow=true, bool destroyOldWindow=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a326985835563fcbaecc9737341ee5d3b">focusInEvent</a> (<a class="elRef" href="qfocusevent.html">QFocusEvent</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a5c9175c952609ecb26f0352fbc951233">focusOutEvent</a> (<a class="elRef" href="qfocusevent.html">QFocusEvent</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#aa5ae0fb78ff61cf3668603b83b4f1091">autoSuggest</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae8d6322f65d9e06b1485cea881453e68"></a><!-- doxytag: member="KLineEdit::virtual_hook" ref="ae8d6322f65d9e06b1485cea881453e68" args="(int id, void *data)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>virtual_hook</b> (int id, void *data)</td></tr>
<tr><td colspan="2"><h2><a name="properties"></a>
Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9eed20a2cbb4b0c39c0a1ef92d33c1ef"></a><!-- doxytag: member="KLineEdit::contextMenuEnabled" ref="a9eed20a2cbb4b0c39c0a1ef92d33c1ef" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>contextMenuEnabled</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8752e66afa992451ca6d78433878fbc9"></a><!-- doxytag: member="KLineEdit::urlDropsEnabled" ref="a8752e66afa992451ca6d78433878fbc9" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>urlDropsEnabled</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7b5c691ecdb0aa8a566d039fad656a0e"></a><!-- doxytag: member="KLineEdit::trapEnterKeyEvent" ref="a7b5c691ecdb0aa8a566d039fad656a0e" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>trapEnterKeyEvent</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad03fce469da0c33be7c58a9e303c667f"></a><!-- doxytag: member="KLineEdit::enableSqueezedText" ref="ad03fce469da0c33be7c58a9e303c667f" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>enableSqueezedText</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a363c0712bd31d9430f16499a9fceac53"></a><!-- doxytag: member="KLineEdit::clickMessage" ref="a363c0712bd31d9430f16499a9fceac53" args="" -->
<a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><b>clickMessage</b></td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a291caced79c43cd61a118e64d2dced4d"></a><!-- doxytag: member="KLineEdit::KComboBox" ref="a291caced79c43cd61a118e64d2dced4d" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLineEdit.html#a291caced79c43cd61a118e64d2dced4d">KComboBox</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>An enhanced <a class="elRef" href="qlineedit.html">QLineEdit</a> widget for inputting text. </p>
<p><b>Detail</b> <br/>
</p>
<p>This widget inherits from <a class="elRef" href="qlineedit.html">QLineEdit</a> and implements the following additional functionalities: a completion object that provides both automatic and manual text completion as well as multiple match iteration features, configurable key-bindings to activate these features and a popup-menu item that can be used to allow the user to set text completion modes on the fly based on their preference.</p>
<p>To support these new features <a class="el" href="classKLineEdit.html" title="An enhanced QLineEdit widget for inputting text.">KLineEdit</a> also emits a few more additional signals. These are: <a class="el" href="classKLineEdit.html#ab48964dc7ff75dde1559a70e44e956f5" title="Emitted when the completion key is pressed.">completion( const QString&amp; )</a>, <a class="el" href="classKLineEdit.html#a950fcb35f90a91bbc1c54d1ea423ed21" title="Emitted when the text rotation key-bindings are pressed.">textRotation( KeyBindingType )</a>, and <a class="el" href="classKLineEdit.html#a8202b1e44f3250e61b2f300d387b7917" title="Emitted when the user presses the return key.">returnPressed( const QString&amp; )</a>. The completion signal can be connected to a slot that will assist the user in filling out the remaining text. The text rotation signal is intended to be used to iterate through the list of all possible matches whenever there is more than one match for the entered text. The <code><a class="el" href="classKLineEdit.html#a8202b1e44f3250e61b2f300d387b7917" title="Emitted when the user presses the return key.">returnPressed( const QString&amp; )</a></code> signals are the same as QLineEdit's except it provides the current text in the widget as its argument whenever appropriate.</p>
<p>This widget by default creates a completion object when you invoke the <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#a91300b6572df20758b840788e4e7967a">completionObject( bool )</a> member function for the first time or use <a class="el" href="classKLineEdit.html#ad1f7b88981f544906a41ba4c0a6cb0d6" title="Reimplemented for internal reasons, the API is not affected.">setCompletionObject( KCompletion*, bool )</a> to assign your own completion object. Additionally, to make this widget more functional, <a class="el" href="classKLineEdit.html" title="An enhanced QLineEdit widget for inputting text.">KLineEdit</a> will by default handle the text rotation and completion events internally when a completion object is created through either one of the methods mentioned above. If you do not need this functionality, simply use <code><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#a58de94406fccd3eea9b0075e987cb309">setHandleSignals( bool )</a></code> or set the boolean parameter in the above functions to false.</p>
<p>The default key-bindings for completion and rotation is determined from the global settings in <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKStdAccel.html">KStdAccel</a>. These values, however, can be overridden locally by invoking <code><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#ac479643d5f628263e423e44dc7d92334">setKeyBinding()</a></code>. You can easily revert these settings back to the default by simply calling <code>useGlobalSettings()</code>. An alternate method would be to default individual key-bindings by using <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#ac479643d5f628263e423e44dc7d92334">setKeyBinding()</a> with the default second argument.</p>
<p>If <code>EchoMode</code> for this widget is set to something other than <code>QLineEdit::Normal</code>, the completion mode will always be defaulted to <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKGlobalSettings.html#a4df0f8e08f3ffde1e176276cbf5aa821aec030b2f4faf8614c501f54af10050a7">KGlobalSettings::CompletionNone</a>. This is done purposefully to guard against protected entries such as passwords being cached in KCompletion's list. Hence, if the <code>EchoMode</code> is not QLineEdit::Normal, the completion mode is automatically disabled.</p>
<p>A read-only <a class="el" href="classKLineEdit.html" title="An enhanced QLineEdit widget for inputting text.">KLineEdit</a> will have the same background color as a disabled <a class="el" href="classKLineEdit.html" title="An enhanced QLineEdit widget for inputting text.">KLineEdit</a>, but its foreground color will be the one used for the read-write mode. This differs from QLineEdit's implementation and is done to give visual distinction between the three different modes: disabled, read-only, and read-write.</p>
<p><b>Usage</b> <br/>
</p>
<p>To enable the basic completion feature :</p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classKLineEdit.html" title="An enhanced QLineEdit widget for inputting text.">KLineEdit</a> *edit = <span class="keyword">new</span> <a class="code" href="classKLineEdit.html#a15a67f6871e574072f365d9454d9e5e4" title="Constructs a KLineEdit object with a default text, a parent, and a name.">KLineEdit</a>( <span class="keyword">this</span>, <span class="stringliteral">&quot;mywidget&quot;</span> );
 <a class="codeRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletion.html">KCompletion</a> *comp = edit-&gt;<a class="codeRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#a91300b6572df20758b840788e4e7967a">completionObject</a>();
 <span class="comment">// Connect to the return pressed signal - optional</span>
 connect(edit,SIGNAL(<a class="codeRef" href="qlineedit.html#returnPressed">returnPressed</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>&amp;)),comp,SLOT(addItem(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>&amp;)));
</pre></div><p>To use a customized completion objects or your own completion object :</p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classKLineEdit.html" title="An enhanced QLineEdit widget for inputting text.">KLineEdit</a> *edit = <span class="keyword">new</span> <a class="code" href="classKLineEdit.html#a15a67f6871e574072f365d9454d9e5e4" title="Constructs a KLineEdit object with a default text, a parent, and a name.">KLineEdit</a>( <span class="keyword">this</span>,<span class="stringliteral">&quot;mywidget&quot;</span> );
 KURLCompletion *comp = <span class="keyword">new</span> KURLCompletion();
 edit-&gt;<a class="code" href="classKLineEdit.html#ad1f7b88981f544906a41ba4c0a6cb0d6" title="Reimplemented for internal reasons, the API is not affected.">setCompletionObject</a>( comp );
 <span class="comment">// Connect to the return pressed signal - optional</span>
 connect(edit,SIGNAL(<a class="codeRef" href="qlineedit.html#returnPressed">returnPressed</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>&amp;)),comp,SLOT(addItem(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>&amp;)));
</pre></div><p>Note if you specify your own completion object you have to either delete it when you don't need it anymore, or you can tell <a class="el" href="classKLineEdit.html" title="An enhanced QLineEdit widget for inputting text.">KLineEdit</a> to delete it for you: </p>
<div class="fragment"><pre class="fragment"> edit-&gt;<a class="codeRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#aa2481a5de4ea868b5abe05b6f2416a68">setAutoDeleteCompletionObject</a>( <span class="keyword">true</span> );
</pre></div><p><b>Miscellaneous function calls :</b><br/>
</p>
<div class="fragment"><pre class="fragment"> <span class="comment">// Tell the widget to not handle completion and iteration automatically.</span>
 edit-&gt;<a class="codeRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#a58de94406fccd3eea9b0075e987cb309">setHandleSignals</a>( <span class="keyword">false</span> );

 <span class="comment">// Set your own key-bindings for a text completion mode.</span>
 edit-&gt;<a class="codeRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#ac479643d5f628263e423e44dc7d92334">setKeyBinding</a>( <a class="codeRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#afcb3584e759d233cf9acabf6a5d4ab4bab533a930960cd953ee3300a107966697">KCompletionBase::TextCompletion</a>, Qt::End );

 <span class="comment">// Hide the context (popup) menu</span>
 edit-&gt;<a class="code" href="classKLineEdit.html#a9e94b30dc00cd5b2af1209609a20230d" title="Enables/disables the popup (context) menu.">setContextMenuEnabled</a>( <span class="keyword">false</span> );

 <span class="comment">// Temporarily disable signal (both completion &amp; iteration) emitions</span>
 edit-&gt;disableSignals();

 <span class="comment">// Default the key-bindings back to the default system settings.</span>
 edit-&gt;<a class="codeRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#acb5942c5dbc1e01353cc3d199226e234">useGlobalKeyBindings</a>();
</pre></div><dl class="author"><dt><b>Author:</b></dt><dd>Dawit Alemayehu &lt;<a href="mailto:adawit@kde.org">adawit@kde.org</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="klineedit_8h_source.html#l00145">145</a> of file <a class="el" href="klineedit_8h_source.html">klineedit.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a15a67f6871e574072f365d9454d9e5e4"></a><!-- doxytag: member="KLineEdit::KLineEdit" ref="a15a67f6871e574072f365d9454d9e5e4" args="(const QString &amp;string, QWidget *parent, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KLineEdit::KLineEdit </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a <a class="el" href="classKLineEdit.html" title="An enhanced QLineEdit widget for inputting text.">KLineEdit</a> object with a default text, a parent, and a name. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">string</td><td>Text to be shown in the edit widget. </td></tr>
    <tr><td class="paramname">parent</td><td>The parent object of this widget. </td></tr>
    <tr><td class="paramname">name</td><td>the name of this widget </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00106">106</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a89173e90b3418f3601eb7815f56b9831"></a><!-- doxytag: member="KLineEdit::KLineEdit" ref="a89173e90b3418f3601eb7815f56b9831" args="(QWidget *parent=0, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KLineEdit::KLineEdit </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a <a class="el" href="classKLineEdit.html" title="An enhanced QLineEdit widget for inputting text.">KLineEdit</a> object with a parent and a name. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>The parent object of this widget. </td></tr>
    <tr><td class="paramname">name</td><td>The name of this widget. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00112">112</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a13dca564e4ecae77c87c4aff0ab1e964"></a><!-- doxytag: member="KLineEdit::~KLineEdit" ref="a13dca564e4ecae77c87c4aff0ab1e964" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KLineEdit::~KLineEdit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00118">118</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac37f1560e5d0cd736c17e5e1af0c6634"></a><!-- doxytag: member="KLineEdit::aboutToShowContextMenu" ref="ac37f1560e5d0cd736c17e5e1af0c6634" args="(QPopupMenu *p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::aboutToShowContextMenu </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qpopupmenu.html">QPopupMenu</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted before the context menu is displayed. </p>
<p>The signal allows you to add your own entries into the the context menu that is created on demand.</p>
<p>NOTE: Do not store the pointer to the <a class="elRef" href="qpopupmenu.html">QPopupMenu</a> provided through since it is created and deleted on demand.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">p</td><td>the context menu about to be displayed </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa5ae0fb78ff61cf3668603b83b4f1091"></a><!-- doxytag: member="KLineEdit::autoSuggest" ref="aa5ae0fb78ff61cf3668603b83b4f1091" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KLineEdit::autoSuggest </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether in current state text should be auto-suggested. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.4 </dd></dl>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01364">1364</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af92c387e892af80edfe3017e8614c048"></a><!-- doxytag: member="KLineEdit::clear" ref="af92c387e892af80edfe3017e8614c048" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented to workaround a buggy <a class="elRef" href="qlineedit.html#clear">QLineEdit::clear()</a> (changing the clipboard to the text we just had in the lineedit) </p>

<p>Reimplemented from <a class="elRef" href="qlineedit.html#clear">QLineEdit</a>.</p>

<p>Reimplemented in <a class="el" href="classKIconViewSearchLine.html#ac00a529a3b419fc21f50745c89649169">KIconViewSearchLine</a>.</p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01322">1322</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1477630496e042adaabc7615d15fb248"></a><!-- doxytag: member="KLineEdit::clickMessage" ref="a1477630496e042adaabc7615d15fb248" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KLineEdit::clickMessage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the message set with setClickMessage </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.5.4 </dd></dl>

</div>
</div>
<a class="anchor" id="ab48964dc7ff75dde1559a70e44e956f5"></a><!-- doxytag: member="KLineEdit::completion" ref="ab48964dc7ff75dde1559a70e44e956f5" args="(const QString &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::completion </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when the completion key is pressed. </p>
<p>Please note that this signal is <em>not</em> emitted if the completion mode is set to <code>CompletionNone</code> or <code>EchoMode</code> is <em>normal</em>. </p>

</div>
</div>
<a class="anchor" id="ad3bc57bfc4d530e172162c3a11e34466"></a><!-- doxytag: member="KLineEdit::completionBox" ref="ad3bc57bfc4d530e172162c3a11e34466" args="(bool create=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKCompletionBox.html">KCompletionBox</a> * KLineEdit::completionBox </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>create</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the completion-box, that is used in completion mode <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKGlobalSettings.html#a4df0f8e08f3ffde1e176276cbf5aa821a0472299ebbe88d7c36b0ca5f19cd0cbe">KGlobalSettings::CompletionPopup</a>. This method will create a completion-box if none is there, yet.</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">create</td><td>Set this to false if you don't want the box to be created i.e. to test if it is available. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01262">1262</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9c304f4374bb8825797bab161e8ec28d"></a><!-- doxytag: member="KLineEdit::completionBoxActivated" ref="a9c304f4374bb8825797bab161e8ec28d" args="(const QString &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::completionBoxActivated </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted whenever the completion box is activated. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

</div>
</div>
<a class="anchor" id="aa1d1e735410e762943b2199e0b6d3328"></a><!-- doxytag: member="KLineEdit::completionModeChanged" ref="aa1d1e735410e762943b2199e0b6d3328" args="(KGlobalSettings::Completion)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::completionModeChanged </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKGlobalSettings.html#a4df0f8e08f3ffde1e176276cbf5aa821">KGlobalSettings::Completion</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when the user changed the completion mode by using the popupmenu. </p>

</div>
</div>
<a class="anchor" id="a84bebb95941b1a75b63ea53354551238"></a><!-- doxytag: member="KLineEdit::contextMenuEvent" ref="a84bebb95941b1a75b63ea53354551238" args="(QContextMenuEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::contextMenuEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qcontextmenuevent.html">QContextMenuEvent</a> *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Re-implemented for internal reasons. </p>
<p>API not affected.</p>
<p>See QLineEdit::contextMenuEvent(). </p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00856">856</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2bdae24791df6ab4b00aadc440ab2ff0"></a><!-- doxytag: member="KLineEdit::copy" ref="a2bdae24791df6ab4b00aadc440ab2ff0" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::copy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented for internal reasons, the API is not affected. </p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00397">397</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="afefdf24c9eb475864a3b3f2b9c798e66"></a><!-- doxytag: member="KLineEdit::create" ref="afefdf24c9eb475864a3b3f2b9c798e66" args="(WId=0, bool initializeWindow=true, bool destroyOldWindow=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::create </td>
          <td>(</td>
          <td class="paramtype">WId&#160;</td>
          <td class="paramname"><em>id</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>initializeWindow</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>destroyOldWindow</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented for internal reasons, the API is not affected. </p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01287">1287</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae94e1c06f2dd02dd8c1e5d6262c55313"></a><!-- doxytag: member="KLineEdit::createPopupMenu" ref="ae94e1c06f2dd02dd8c1e5d6262c55313" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qpopupmenu.html">QPopupMenu</a> * KLineEdit::createPopupMenu </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Re-implemented for internal reasons. </p>
<p>API not affected.</p>
<p>See <a class="elRef" href="qlineedit.html#createPopupMenu">QLineEdit::createPopupMenu()</a>. </p>

<p>Reimplemented from <a class="elRef" href="qlineedit.html#createPopupMenu">QLineEdit</a>.</p>

<p>Reimplemented in <a class="el" href="classKListViewSearchLine.html#a1060b37fb2c23422253b394123423750">KListViewSearchLine</a>.</p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00862">862</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a39b983a2d4e880399cb40e915455bbc6"></a><!-- doxytag: member="KLineEdit::cursorAtEnd" ref="a39b983a2d4e880399cb40e915455bbc6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::cursorAtEnd </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Puts the text cursor at the end of the string. </p>
<p>This method is deprecated. Use <a class="elRef" href="qlineedit.html#end">QLineEdit::end()</a> instead.</p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000044">Deprecated:</a></b></dt><dd><a class="elRef" href="qlineedit.html#end">QLineEdit::end()</a> </dd></dl>

<p>Definition at line <a class="el" href="klineedit_8h_source.html#l00197">197</a> of file <a class="el" href="klineedit_8h_source.html">klineedit.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1131eba5490b3e963198c2b6f0ecb50b"></a><!-- doxytag: member="KLineEdit::drawContents" ref="a1131eba5490b3e963198c2b6f0ecb50b" args="(QPainter *p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::drawContents </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qpainter.html">QPainter</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Re-implemented for internal reasons. </p>
<p>API not affected.</p>
<p>See <a class="elRef" href="qframe.html#drawContents">QFrame::drawContents()</a>. </p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00967">967</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="acb38e6d746a3e20462a96154eeda4026"></a><!-- doxytag: member="KLineEdit::dropEvent" ref="acb38e6d746a3e20462a96154eeda4026" args="(QDropEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::dropEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qdropevent.html">QDropEvent</a> *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Re-implemented to handle URI drops. </p>
<p>See QLineEdit::dropEvent(). </p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00983">983</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="acbf53bc76ee6382829e00ee406369cae"></a><!-- doxytag: member="KLineEdit::eventFilter" ref="acbf53bc76ee6382829e00ee406369cae" args="(QObject *, QEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KLineEdit::eventFilter </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qobject.html">QObject</a> *&#160;</td>
          <td class="paramname"><em>o</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qevent.html">QEvent</a> *&#160;</td>
          <td class="paramname"><em>ev</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Re-implemented for internal reasons. </p>
<p>API not affected. </p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01007">1007</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a326985835563fcbaecc9737341ee5d3b"></a><!-- doxytag: member="KLineEdit::focusInEvent" ref="a326985835563fcbaecc9737341ee5d3b" args="(QFocusEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::focusInEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qfocusevent.html">QFocusEvent</a> *&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Re-implemented for internal reasons. </p>
<p>API not affected.</p>
<p>See QLineEdit::focusInEvent(). </p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01341">1341</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5c9175c952609ecb26f0352fbc951233"></a><!-- doxytag: member="KLineEdit::focusOutEvent" ref="a5c9175c952609ecb26f0352fbc951233" args="(QFocusEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::focusOutEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qfocusevent.html">QFocusEvent</a> *&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Re-implemented for internal reasons. </p>
<p>API not affected.</p>
<p>See QLineEdit::focusOutEvent(). </p>

<p>Reimplemented in <a class="el" href="classKListViewLineEdit.html#aa9b8f2980fbbe402a4b024c0ad2570ad">KListViewLineEdit</a>.</p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01355">1355</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5a83028a83eaa121007b4a0f8b3ce6ec"></a><!-- doxytag: member="KLineEdit::isContextMenuEnabled" ref="a5a83028a83eaa121007b4a0f8b3ce6ec" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KLineEdit::isContextMenuEnabled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns <code>true</code> when the context menu is enabled. </p>

<p>Definition at line <a class="el" href="klineedit_8h_source.html#l00228">228</a> of file <a class="el" href="klineedit_8h_source.html">klineedit.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5528b992b4312c0f1609a42bd1913d89"></a><!-- doxytag: member="KLineEdit::isSqueezedTextEnabled" ref="a5528b992b4312c0f1609a42bd1913d89" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KLineEdit::isSqueezedTextEnabled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if text squeezing is enabled. </p>
<p>This is only valid when the widget is in read-only mode.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00305">305</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4bf2290b87d4f151cc44494e239a1834"></a><!-- doxytag: member="KLineEdit::isURLDropsEnabled" ref="a4bf2290b87d4f151cc44494e239a1834" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KLineEdit::isURLDropsEnabled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns <code>true</code> when decoded URL drops are enabled. </p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01063">1063</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a711e340f2873debc01a413806002647e"></a><!-- doxytag: member="KLineEdit::keyPressEvent" ref="a711e340f2873debc01a413806002647e" args="(QKeyEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::keyPressEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qkeyevent.html">QKeyEvent</a> *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Re-implemented for internal reasons. </p>
<p>API not affected.</p>
<p>See <a class="elRef" href="qlineedit.html#keyPressEvent">QLineEdit::keyPressEvent()</a>. </p>

<p>Reimplemented from <a class="elRef" href="qlineedit.html#keyPressEvent">QLineEdit</a>.</p>

<p>Reimplemented in <a class="el" href="classKListViewLineEdit.html#a1dc6c3a4d505f3cb80b95ba80fdb1cdc">KListViewLineEdit</a>, and <a class="el" href="classKRestrictedLine.html#a0397cd98b7660734bbffa45c45a42e51">KRestrictedLine</a>.</p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00440">440</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="afca8254520ccc29dca6f616ed0d5926b"></a><!-- doxytag: member="KLineEdit::makeCompletion" ref="afca8254520ccc29dca6f616ed0d5926b" args="(const QString &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::makeCompletion </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</td>
          <td><code> [protected, virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Completes the remaining text with a matching one from a given list. </p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00226">226</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad8a904cb5823c74c634d38f747ea7ad4"></a><!-- doxytag: member="KLineEdit::mouseDoubleClickEvent" ref="ad8a904cb5823c74c634d38f747ea7ad4" args="(QMouseEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::mouseDoubleClickEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qmouseevent.html">QMouseEvent</a> *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Re-implemented for internal reasons. </p>
<p>API not affected.</p>
<p>See <a class="elRef" href="qwidget.html#mouseDoubleClickEvent">QWidget::mouseDoubleClickEvent()</a>. </p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00818">818</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac457bf1099e0d6e8d8f648470726cda8"></a><!-- doxytag: member="KLineEdit::mousePressEvent" ref="ac457bf1099e0d6e8d8f648470726cda8" args="(QMouseEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::mousePressEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qmouseevent.html">QMouseEvent</a> *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Re-implemented for internal reasons. </p>
<p>API not affected.</p>
<p>See QLineEdit::mousePressEvent(). </p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00829">829</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab0c5b839c632535fb1a2e9a6882af229"></a><!-- doxytag: member="KLineEdit::mouseReleaseEvent" ref="ab0c5b839c632535fb1a2e9a6882af229" args="(QMouseEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::mouseReleaseEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qmouseevent.html">QMouseEvent</a> *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Re-implemented for internal reasons. </p>
<p>API not affected.</p>
<p>See QLineEdit::mouseReleaseEvent(). </p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00840">840</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="afa32a776493c802bf0d50f6569bf0328"></a><!-- doxytag: member="KLineEdit::originalText" ref="afa32a776493c802bf0d50f6569bf0328" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KLineEdit::originalText </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the original text if text squeezing is enabled. </p>
<p>If the widget is not in "read-only" mode, this function returns the same thing as <a class="elRef" href="qlineedit.html#text">QLineEdit::text()</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="elRef" href="qlineedit.html">QLineEdit</a> </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01333">1333</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2097eb134df1e8932ba2441d747ffe70"></a><!-- doxytag: member="KLineEdit::resizeEvent" ref="a2097eb134df1e8932ba2441d747ffe70" args="(QResizeEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::resizeEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qresizeevent.html">QResizeEvent</a> *&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Re-implemented for internal reasons. </p>
<p>API not affected.</p>
<p>See QLineEdit::resizeEvent(). </p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00432">432</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8202b1e44f3250e61b2f300d387b7917"></a><!-- doxytag: member="KLineEdit::returnPressed" ref="a8202b1e44f3250e61b2f300d387b7917" args="(const QString &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::returnPressed </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when the user presses the return key. </p>
<p>The argument is the current text. Note that this signal is <em>not</em> emitted if the widget's <code>EchoMode</code> is set to QLineEdit::EchoMode. </p>

</div>
</div>
<a class="anchor" id="a38075439851dc1c7019aa182e27a7e83"></a><!-- doxytag: member="KLineEdit::rotateText" ref="a38075439851dc1c7019aa182e27a7e83" args="(KCompletionBase::KeyBindingType type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::rotateText </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#afcb3584e759d233cf9acabf6a5d4ab4b">KCompletionBase::KeyBindingType</a>&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Iterates through all possible matches of the completed text or the history list. </p>
<p>This function simply iterates over all possible matches in case multimple matches are found as a result of a text completion request. It will have no effect if only a single match is found.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>The key-binding invoked. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00205">205</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a99a046759a544bdfd9b0f782cf545b2b"></a><!-- doxytag: member="KLineEdit::setClickMessage" ref="a99a046759a544bdfd9b0f782cf545b2b" args="(const QString &amp;msg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::setClickMessage </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>msg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This makes the line edit display a grayed-out hinting text as long as the user didn't enter any text. </p>
<p>It is often used as indication about the purpose of the line edit. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.5.4 </dd></dl>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01369">1369</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1acb076f81287a400c583a05b82ed18b"></a><!-- doxytag: member="KLineEdit::setCompletedItems" ref="a1acb076f81287a400c583a05b82ed18b" args="(const QStringList &amp;items)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::setCompletedItems </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>items</em></td><td>)</td>
          <td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets <code>items</code> into the completion-box if <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#afe4e31cf4edcef7407b58c02a8ade108">completionMode()</a> is CompletionPopup. </p>
<p>The popup will be shown immediately.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">items</td><td>list of completion matches to be shown in the completion box. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#a432a16c135f894b5f66d8e4a00c688f0">KCompletionBase</a>.</p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01195">1195</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aeea5eb602ffa37f7cffcd5bf87b12a34"></a><!-- doxytag: member="KLineEdit::setCompletedItems" ref="aeea5eb602ffa37f7cffcd5bf87b12a34" args="(const QStringList &amp;items, bool autoSuggest)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::setCompletedItems </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>items</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>autoSuggest</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Same as the above function except it allows you to temporarily turn off text completion in CompletionPopupAuto mode. </p>
<p>TODO: Merge with above function in <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> 4. TODO: Does that make this or the above</p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000045">Deprecated:</a></b></dt><dd>?</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">items</td><td>list of completion matches to be shown in the completion box. </td></tr>
    <tr><td class="paramname">autoSuggest</td><td>true if you want automatic text completion (suggestion) enabled. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01200">1200</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a683eda3a0e0d336c8d6c3cb109e663c4"></a><!-- doxytag: member="KLineEdit::setCompletedText" ref="a683eda3a0e0d336c8d6c3cb109e663c4" args="(const QString &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::setCompletedText </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</td>
          <td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>See <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#a4aaa12b7b3900f3ac4c0cc22774bd212">KCompletionBase::setCompletedText</a>. </p>

<p>Implements <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#a4aaa12b7b3900f3ac4c0cc22774bd212">KCompletionBase</a>.</p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00195">195</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a674b01f26e0f6e1ee16b68295380afe4"></a><!-- doxytag: member="KLineEdit::setCompletionBox" ref="a674b01f26e0f6e1ee16b68295380afe4" args="(KCompletionBox *box)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::setCompletionBox </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKCompletionBox.html">KCompletionBox</a> *&#160;</td>
          <td class="paramname"><em>box</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the completion-box to be used in completion mode <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKGlobalSettings.html#a4df0f8e08f3ffde1e176276cbf5aa821a0472299ebbe88d7c36b0ca5f19cd0cbe">KGlobalSettings::CompletionPopup</a>. </p>
<p>This will do nothing if a completion-box already exists.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">box</td><td>The <a class="el" href="classKCompletionBox.html" title="A helper widget for &quot;completion-widgets&quot; (KLineEdit, KComboBox))">KCompletionBox</a> to set </td></tr>
  </table>
  </dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.4 </dd></dl>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01083">1083</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1fcc87690462ce0f0a1ca5db9b1efa38"></a><!-- doxytag: member="KLineEdit::setCompletionMode" ref="a1fcc87690462ce0f0a1ca5db9b1efa38" args="(KGlobalSettings::Completion mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::setCompletionMode </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKGlobalSettings.html#a4df0f8e08f3ffde1e176276cbf5aa821">KGlobalSettings::Completion</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Re-implemented from <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html">KCompletionBase</a> for internal reasons. </p>
<p>This function is re-implemented in order to make sure that the EchoMode is acceptable before we set the completion mode.</p>
<p>See <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#aea639442f6234fafc4cabe770ec9573b">KCompletionBase::setCompletionMode</a> </p>

<p>Reimplemented from <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#aea639442f6234fafc4cabe770ec9573b">KCompletionBase</a>.</p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00150">150</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad1f7b88981f544906a41ba4c0a6cb0d6"></a><!-- doxytag: member="KLineEdit::setCompletionObject" ref="ad1f7b88981f544906a41ba4c0a6cb0d6" args="(KCompletion *, bool hsig=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::setCompletionObject </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletion.html">KCompletion</a> *&#160;</td>
          <td class="paramname"><em>comp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>hsig</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented for internal reasons, the API is not affected. </p>

<p>Reimplemented from <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#a78dc31219a52ceeba02753970e46ca45">KCompletionBase</a>.</p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01272">1272</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9e94b30dc00cd5b2af1209609a20230d"></a><!-- doxytag: member="KLineEdit::setContextMenuEnabled" ref="a9e94b30dc00cd5b2af1209609a20230d" args="(bool showMenu)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KLineEdit::setContextMenuEnabled </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>showMenu</em></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enables/disables the popup (context) menu. </p>
<p>Note that when this function is invoked with its argument set to <code>true</code>, then both the context menu and the completion menu item are enabled. If you do not want to the completion item to be visible simply invoke hideModechanger() right after calling this method. Also by default, the context menu is automatically created if this widget is editable. Thus you need to call this function with the argument set to false if you do not want this behavior.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">showMenu</td><td>If <code>true</code>, show the context menu. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="klineedit_8h_source.html#l00223">223</a> of file <a class="el" href="klineedit_8h_source.html">klineedit.h</a>.</p>

</div>
</div>
<a class="anchor" id="a630b0348aa52c3a0473d956408de6158"></a><!-- doxytag: member="KLineEdit::setEnableSqueezedText" ref="a630b0348aa52c3a0473d956408de6158" args="(bool enable)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::setEnableSqueezedText </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enable text squeezing whenever the supplied text is too long. </p>
<p>Only works for "read-only" mode.</p>
<p>Note that once text squeezing is enabled, <a class="elRef" href="qlineedit.html#text">QLineEdit::text()</a> and <a class="elRef" href="qlineedit.html#displayText">QLineEdit::displayText()</a> return the squeezed text. If you want the original text, use <a class="el" href="classKLineEdit.html#afa32a776493c802bf0d50f6569bf0328">originalText</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="elRef" href="qlineedit.html">QLineEdit</a> </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00300">300</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a34dd2383e4c75489920ae65d4c0ce86e"></a><!-- doxytag: member="KLineEdit::setReadOnly" ref="a34dd2383e4c75489920ae65d4c0ce86e" args="(bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::setReadOnly </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>readOnly</em></td><td>)</td>
          <td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Re-implemented for internal reasons. </p>
<p>API not changed. </p>

<p>Reimplemented from <a class="elRef" href="qlineedit.html#setReadOnly">QLineEdit</a>.</p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00265">265</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab4899f5fd024ef5c21e87ff3ad9ae556"></a><!-- doxytag: member="KLineEdit::setSqueezedText" ref="ab4899f5fd024ef5c21e87ff3ad9ae556" args="(const QString &amp;text)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::setSqueezedText </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Squeezes <code>text</code> into the line edit. </p>
<p>This can only be used with read-only line-edits. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00294">294</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a48675b4c9e2138b7fe345ffccb9f5b66"></a><!-- doxytag: member="KLineEdit::setText" ref="a48675b4c9e2138b7fe345ffccb9f5b66" args="(const QString &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::setText </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</td>
          <td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Re-implemented to enable text squeezing. </p>
<p>API is not affected. </p>

<p>Reimplemented from <a class="elRef" href="qlineedit.html#setText">QLineEdit</a>.</p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l00310">310</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2c2d71612ffc771001d817908d4e7911"></a><!-- doxytag: member="KLineEdit::setTrapReturnKey" ref="a2c2d71612ffc771001d817908d4e7911" args="(bool trap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::setTrapReturnKey </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>trap</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>By default, <a class="el" href="classKLineEdit.html" title="An enhanced QLineEdit widget for inputting text.">KLineEdit</a> recognizes <code>Key_Return</code> and <code>Key_Enter</code> and emits the <a class="elRef" href="qlineedit.html#returnPressed">returnPressed()</a> signals, but it also lets the event pass, for example causing a dialog's default-button to be called. </p>
<p>Call this method with <code>trap</code> = <code>true</code> to make <code><a class="el" href="classKLineEdit.html" title="An enhanced QLineEdit widget for inputting text.">KLineEdit</a></code> stop these events. The signals will still be emitted of course.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKLineEdit.html#adb0d46a89ca5876e0e2bcf634fff83ae">trapReturnKey()</a> </dd></dl>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01068">1068</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a57940219953655e8166a0200228234bb"></a><!-- doxytag: member="KLineEdit::setURL" ref="a57940219953655e8166a0200228234bb" args="(const KURL &amp;url)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::setURL </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKURL.html">KURL</a> &amp;&#160;</td>
          <td class="paramname"><em>url</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets <code>url</code> into the lineedit. </p>
<p>It uses <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKURL.html#a9382bc0e035124e884f755cff962530f">KURL::prettyURL()</a> so that the url is properly decoded for displaying. </p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01078">1078</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2a2f2c66d49b7a7bc445816682e408b6"></a><!-- doxytag: member="KLineEdit::setURLDropsEnabled" ref="a2a2f2c66d49b7a7bc445816682e408b6" args="(bool enable)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::setURLDropsEnabled </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enables/Disables handling of URL drops. </p>
<p>If enabled and the user drops an URL, the decoded URL will be inserted. Otherwise the default behavior of <a class="elRef" href="qlineedit.html">QLineEdit</a> is used, which inserts the encoded URL.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">enable</td><td>If <code>true</code>, insert decoded URLs </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01058">1058</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6edd34d42e54a6803984c47de8c305dd"></a><!-- doxytag: member="KLineEdit::setUserSelection" ref="a6edd34d42e54a6803984c47de8c305dd" args="(bool userSelection)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::setUserSelection </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>userSelection</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the widget in userSelection mode or in automatic completion selection mode. </p>
<p>This changes the colors of selections. </p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01293">1293</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a888ad80b826a523fa15a61ed063fc81e"></a><!-- doxytag: member="KLineEdit::slotAboutToShow" ref="a888ad80b826a523fa15a61ed063fc81e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::slotAboutToShow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, protected, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000046">Deprecated:</a></b></dt><dd>.</dd></dl>
<p>Will be removed in the next major release! </p>

<p>Definition at line <a class="el" href="klineedit_8h_source.html#l00484">484</a> of file <a class="el" href="klineedit_8h_source.html">klineedit.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae8c9b52343b20dd62021429960626b02"></a><!-- doxytag: member="KLineEdit::slotCancelled" ref="ae8c9b52343b20dd62021429960626b02" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::slotCancelled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, protected, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000047">Deprecated:</a></b></dt><dd>.</dd></dl>
<p>Will be removed in the next major release! </p>

<p>Definition at line <a class="el" href="klineedit_8h_source.html#l00489">489</a> of file <a class="el" href="klineedit_8h_source.html">klineedit.h</a>.</p>

</div>
</div>
<a class="anchor" id="adab7821b3859d88c27447480233d8e21"></a><!-- doxytag: member="KLineEdit::substringCompletion" ref="adab7821b3859d88c27447480233d8e21" args="(const QString &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::substringCompletion </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when the shortcut for substring completion is pressed. </p>

</div>
</div>
<a class="anchor" id="a950fcb35f90a91bbc1c54d1ea423ed21"></a><!-- doxytag: member="KLineEdit::textRotation" ref="a950fcb35f90a91bbc1c54d1ea423ed21" args="(KCompletionBase::KeyBindingType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::textRotation </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKCompletionBase.html#afcb3584e759d233cf9acabf6a5d4ab4b">KCompletionBase::KeyBindingType</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when the text rotation key-bindings are pressed. </p>
<p>The argument indicates which key-binding was pressed. In KLineEdit's case this can be either one of two values: PrevCompletionMatch or NextCompletionMatch. See <code>setKeyBinding</code> for details.</p>
<p>Note that this signal is <em>not</em> emitted if the completion mode is set to <code><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKGlobalSettings.html#a4df0f8e08f3ffde1e176276cbf5aa821aec030b2f4faf8614c501f54af10050a7">KGlobalSettings::CompletionNone</a></code> or <code><a class="elRef" href="qlineedit.html#echoMode">echoMode()</a></code> is <em>not</em> normal. </p>

</div>
</div>
<a class="anchor" id="adb0d46a89ca5876e0e2bcf634fff83ae"></a><!-- doxytag: member="KLineEdit::trapReturnKey" ref="adb0d46a89ca5876e0e2bcf634fff83ae" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KLineEdit::trapReturnKey </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if keyevents of <code>Key_Return</code> or <code>Key_Enter</code> will be stopped or if they will be propagated.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKLineEdit.html#a2c2d71612ffc771001d817908d4e7911" title="By default, KLineEdit recognizes Key_Return and Key_Enter and emits the returnPressed() signals...">setTrapReturnKey</a> () </dd></dl>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01073">1073</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af21fbd1c21ee9dcaeb09b7621e587bbf"></a><!-- doxytag: member="KLineEdit::userCancelled" ref="af21fbd1c21ee9dcaeb09b7621e587bbf" args="(const QString &amp;cancelText)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KLineEdit::userCancelled </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>cancelText</em></td><td>)</td>
          <td><code> [protected, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Resets the current displayed text. </p>
<p>Call this function to revert a text completion if the user cancels the request. Mostly applies to popup completions. </p>

<p>Definition at line <a class="el" href="klineedit_8cpp_source.html#l01102">1102</a> of file <a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="klineedit_8h_source.html">klineedit.h</a></li>
<li><a class="el" href="klineedit_8cpp_source.html">klineedit.cpp</a></li>
</ul>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>kdeui</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classKAboutApplication.html">kaboutapplication</option>,  <option value="classKAboutContainer.html">kaboutcontainer</option>,  <option value="classKAboutContainerBase.html">kaboutcontainerbase</option>,  <option value="classKAboutContributor.html">kaboutcontributor</option>,  <option value="classKAboutDialog.html">kaboutdialog</option>,  <option value="classKAboutKDE.html">kaboutkde</option>,  <option value="classKAboutWidget.html">kaboutwidget</option>,  <option value="classKAccelGen_1_1Deref.html">kaccelgen::deref</option>,  <option value="classKAccelGen_1_1Deref__Key.html">kaccelgen::deref__key</option>,  <option value="classKAction.html">kaction</option>,  <option value="classKActionCollection.html">kactioncollection</option>,  <option value="classKActionMenu.html">kactionmenu</option>,  <option value="classKActionSelector.html">kactionselector</option>,  <option value="classKActiveLabel.html">kactivelabel</option>,  <option value="classKAnimWidget.html">kanimwidget</option>,  <option value="classKArrowButton.html">karrowbutton</option>,  <option value="classKAuthIcon.html">kauthicon</option>,  <option value="classKBugReport.html">kbugreport</option>,  <option value="classKButtonBox.html">kbuttonbox</option>,  <option value="classKCharSelect.html">kcharselect</option>,  <option value="classKCharSelectTable.html">kcharselecttable</option>,  <option value="classKCModule.html">kcmodule</option>,  <option value="classKColor.html">kcolor</option>,  <option value="classKColorButton.html">kcolorbutton</option>,  <option value="classKColorCells.html">kcolorcells</option>,  <option value="classKColorCombo.html">kcolorcombo</option>,  <option value="classKColorDialog.html">kcolordialog</option>,  <option value="classKColorDrag.html">kcolordrag</option>,  <option value="classKColorPatch.html">kcolorpatch</option>,  <option value="classKComboBox.html">kcombobox</option>,  <option value="classKCommand.html">kcommand</option>,  <option value="classKCommandHistory.html">kcommandhistory</option>,  <option value="classKCompletionBox.html">kcompletionbox</option>,  <option value="classKConfigDialog.html">kconfigdialog</option>,  <option value="classKContextMenuManager.html">kcontextmenumanager</option>,  <option value="classKCursor.html">kcursor</option>,  <option value="classKCursorPrivate.html">kcursorprivate</option>,  <option value="classKCursorPrivateAutoHideEventFilter.html">kcursorprivateautohideeventfilter</option>,  <option value="classKDateInternalMonthPicker.html">kdateinternalmonthpicker</option>,  <option value="classKDateInternalWeekSelector.html">kdateinternalweekselector</option>,  <option value="classKDateInternalYearSelector.html">kdateinternalyearselector</option>,  <option value="classKDatePicker.html">kdatepicker</option>,  <option value="classKDateTable.html">kdatetable</option>,  <option value="classKDateTimeWidget.html">kdatetimewidget</option>,  <option value="classKDateValidator.html">kdatevalidator</option>,  <option value="classKDateWidget.html">kdatewidget</option>,  <option value="classKDCOPActionProxy.html">kdcopactionproxy</option>,  <option value="classKDEPrivate_1_1ToolBarHandler.html">kdeprivate::toolbarhandler</option>,  <option value="classKDialog.html">kdialog</option>,  <option value="classKDialogBase.html">kdialogbase</option>,  <option value="classKDialogBaseButton.html">kdialogbasebutton</option>,  <option value="classKDialogBaseTile.html">kdialogbasetile</option>,  <option value="classKDictSpellingHighlighter.html">kdictspellinghighlighter</option>,  <option value="classKDockButton__Private.html">kdockbutton__private</option>,  <option value="classKDockMainWindow.html">kdockmainwindow</option>,  <option value="classKDockManager.html">kdockmanager</option>,  <option value="classKDockSplitter.html">kdocksplitter</option>,  <option value="classKDockTabGroup.html">kdocktabgroup</option>,  <option value="classKDockWidget.html">kdockwidget</option>,  <option value="classKDockWidgetAbstractHeader.html">kdockwidgetabstractheader</option>,  <option value="classKDockWidgetAbstractHeaderDrag.html">kdockwidgetabstractheaderdrag</option>,  <option value="classKDockWidgetHeader.html">kdockwidgetheader</option>,  <option value="classKDockWidgetHeaderDrag.html">kdockwidgetheaderdrag</option>,  <option value="classKDockWidgetPrivate.html">kdockwidgetprivate</option>,  <option value="classKDockWindow.html">kdockwindow</option>,  <option value="classKDoubleNumInput.html">kdoublenuminput</option>,  <option value="classKDoubleSpinBox.html">kdoublespinbox</option>,  <option value="classKDoubleValidator.html">kdoublevalidator</option>,  <option value="classKDualColorButton.html">kdualcolorbutton</option>,  <option value="classKEdit.html">kedit</option>,  <option value="classKEditListBox.html">keditlistbox</option>,  <option value="classKEditListBox_1_1CustomEditor.html">keditlistbox::customeditor</option>,  <option value="classKEditToolbar.html">kedittoolbar</option>,  <option value="classKEditToolbarWidget.html">kedittoolbarwidget</option>,  <option value="classKFloatValidator.html">kfloatvalidator</option>,  <option value="classKFontChooser.html">kfontchooser</option>,  <option value="classKFontCombo.html">kfontcombo</option>,  <option value="classKFontDialog.html">kfontdialog</option>,  <option value="classKFontRequester.html">kfontrequester</option>,  <option value="classKGradientSelector.html">kgradientselector</option>,  <option value="classKGuiItem.html">kguiitem</option>,  <option value="classKHelpMenu.html">khelpmenu</option>,  <option value="classKHistoryCombo.html">khistorycombo</option>,  <option value="classKHSSelector.html">khsselector</option>,  <option value="classKIconView.html">kiconview</option>,  <option value="classKIconViewItem.html">kiconviewitem</option>,  <option value="classKIconViewSearchLine.html">kiconviewsearchline</option>,  <option value="classKImageTrackLabel.html">kimagetracklabel</option>,  <option value="classKInputDialog.html">kinputdialog</option>,  <option value="classKIntNumInput.html">kintnuminput</option>,  <option value="classKIntSpinBox.html">kintspinbox</option>,  <option value="classKIntValidator.html">kintvalidator</option>,  <option value="classKJanusWidget.html">kjanuswidget</option>,  <option value="classKKeyButton.html">kkeybutton</option>,  <option value="classKKeyChooser.html">kkeychooser</option>,  <option value="classKKeyDialog.html">kkeydialog</option>,  <option value="classKLanguageButton.html">klanguagebutton</option>,  <option value="classKLed.html">kled</option>,  <option value="classKLineEdit.html">klineedit</option>,  <option value="classKLineEditDlg.html">klineeditdlg</option>,  <option value="classKListAction.html">klistaction</option>,  <option value="classKListBox.html">klistbox</option>,  <option value="classKListView.html">klistview</option>,  <option value="classKListViewItem.html">klistviewitem</option>,  <option value="classKListViewLineEdit.html">klistviewlineedit</option>,  <option value="classKListViewSearchLine.html">klistviewsearchline</option>,  <option value="classKListViewSearchLineWidget.html">klistviewsearchlinewidget</option>,  <option value="classKMacroCommand.html">kmacrocommand</option>,  <option value="classKMainWindow.html">kmainwindow</option>,  <option value="classKMainWindowInterface.html">kmainwindowinterface</option>,  <option value="classKMenuBar.html">kmenubar</option>,  <option value="classKMessageBox.html">kmessagebox</option>,  <option value="classKMimeTypeValidator.html">kmimetypevalidator</option>,  <option value="classKNamedCommand.html">knamedcommand</option>,  <option value="classKNumInput.html">knuminput</option>,  <option value="classKPaletteTable.html">kpalettetable</option>,  <option value="classKPanelApplet.html">kpanelapplet</option>,  <option value="classKPanelAppMenu.html">kpanelappmenu</option>,  <option value="classKPanelExtension.html">kpanelextension</option>,  <option value="classKPanelMenu.html">kpanelmenu</option>,  <option value="classKPassivePopup.html">kpassivepopup</option>,  <option value="classKPasswordDialog.html">kpassworddialog</option>,  <option value="classKPasswordEdit.html">kpasswordedit</option>,  <option value="classKPasteTextAction.html">kpastetextaction</option>,  <option value="classKPixmapIO.html">kpixmapio</option>,  <option value="classKPixmapRegionSelectorDialog.html">kpixmapregionselectordialog</option>,  <option value="classKPixmapRegionSelectorWidget.html">kpixmapregionselectorwidget</option>,  <option value="classKPopupFrame.html">kpopupframe</option>,  <option value="classKPopupMenu.html">kpopupmenu</option>,  <option value="classKPopupTitle.html">kpopuptitle</option>,  <option value="classKProgress.html">kprogress</option>,  <option value="classKProgressDialog.html">kprogressdialog</option>,  <option value="classKPushButton.html">kpushbutton</option>,  <option value="classKRadioAction.html">kradioaction</option>,  <option value="classKRecentFilesAction.html">krecentfilesaction</option>,  <option value="classKRestrictedLine.html">krestrictedline</option>,  <option value="classKRootPermsIcon.html">krootpermsicon</option>,  <option value="classKRootPixmap.html">krootpixmap</option>,  <option value="classKRuler.html">kruler</option>,  <option value="classKScrollView.html">kscrollview</option>,  <option value="classKSelectAction.html">kselectaction</option>,  <option value="classKSelector.html">kselector</option>,  <option value="classKSeparator.html">kseparator</option>,  <option value="classKShortcutDialog.html">kshortcutdialog</option>,  <option value="classKSpell.html">kspell</option>,  <option value="classKSpellConfig.html">kspellconfig</option>,  <option value="classKSplashScreen.html">ksplashscreen</option>,  <option value="classKSqueezedTextLabel.html">ksqueezedtextlabel</option>,  <option value="classKStatusBar.html">kstatusbar</option>,  <option value="classKStatusBarLabel.html">kstatusbarlabel</option>,  <option value="classKStdGuiItem.html">kstdguiitem</option>,  <option value="classKStringListValidator.html">kstringlistvalidator</option>,  <option value="classKSwitchLanguageDialog.html">kswitchlanguagedialog</option>,  <option value="classKSyntaxHighlighter.html">ksyntaxhighlighter</option>,  <option value="classKSystemTray.html">ksystemtray</option>,  <option value="classKTabBar.html">ktabbar</option>,  <option value="classKTabCtl.html">ktabctl</option>,  <option value="classKTabWidget.html">ktabwidget</option>,  <option value="classKTextBrowser.html">ktextbrowser</option>,  <option value="classKTextEdit.html">ktextedit</option>,  <option value="classKTimeWidget.html">ktimewidget</option>,  <option value="classKTimezoneWidget.html">ktimezonewidget</option>,  <option value="classKTipDatabase.html">ktipdatabase</option>,  <option value="classKTipDialog.html">ktipdialog</option>,  <option value="classKToggleAction.html">ktoggleaction</option>,  <option value="classKToggleFullScreenAction.html">ktogglefullscreenaction</option>,  <option value="classKToggleToolBarAction.html">ktoggletoolbaraction</option>,  <option value="classKToolBar.html">ktoolbar</option>,  <option value="classKToolBarButton.html">ktoolbarbutton</option>,  <option value="classKToolBarButtonList.html">ktoolbarbuttonlist</option>,  <option value="classKToolBarLabelAction.html">ktoolbarlabelaction</option>,  <option value="classKToolBarPopupAction.html">ktoolbarpopupaction</option>,  <option value="classKToolBarRadioGroup.html">ktoolbarradiogroup</option>,  <option value="classKURLLabel.html">kurllabel</option>,  <option value="classKValueSelector.html">kvalueselector</option>,  <option value="classKWidgetAction.html">kwidgetaction</option>,  <option value="classKWindowInfo.html">kwindowinfo</option>,  <option value="classKWizard.html">kwizard</option>,  <option value="classKWordWrap.html">kwordwrap</option>,  <option value="classKWritePermsIcon.html">kwritepermsicon</option>,  <option value="classKXMLGUIBuilder.html">kxmlguibuilder</option>,  <option value="classKXMLGUIClient.html">kxmlguiclient</option>,  <option value="classKXMLGUIFactory.html">kxmlguifactory</option>,  <option value="classKXYSelector.html">kxyselector</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../arts/html/index.html">arts</a></li><li><a href="../../dcop/html/index.html">dcop</a></li><li><a href="../../dnssd/html/index.html">dnssd</a></li><li><a href="../../interfaces/html/index.html">interfaces</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../kdecore/html/index.html">kdecore</a></li><li><a href="../../kded/html/index.html">kded</a></li><li><a href="../../kdefx/html/index.html">kdefx</a></li><li><a href="../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../kdesu/html/index.html">kdesu</a></li><li><a href="../../kdeui/html/index.html">kdeui</a></li><li><a href="../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../khtml/html/index.html">khtml</a></li><li><a href="../../kimgio/html/index.html">kimgio</a></li><li><a href="../../kinit/html/index.html">kinit</a></li><li><a href="../../kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/http/html/index.html">http</a></li><li><a href="../../kjs/html/index.html">kjs</a></li><li><a href="../../kmdi/html/index.html">kmdi</a></li><li>&nbsp;&nbsp;<a href="../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../kparts/html/index.html">kparts</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../kspell2/html/index.html">kspell2</a></li><li><a href="../../kunittest/html/index.html">kunittest</a></li><li><a href="../../kutils/html/index.html">kutils</a></li><li><a href="../../kwallet/html/index.html">kwallet</a></li><li><a href="../../libkmid/html/index.html">libkmid</a></li><li><a href="../../libkscreensaver/html/index.html">libkscreensaver</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>