Sophie

Sophie

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

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>kdecore: KCompletion Class Reference (kdecore)</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=".">kdecore</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-types">Public Types</a> &#124;
<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-methods">Protected Member Functions</a> &#124;
<a href="#properties">Properties</a>  </div>
  <div class="headertitle">
<div class="title">KCompletion Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="KCompletion" --><!-- doxytag: inherits="QObject" -->
<p>A generic class for completing QStrings.  
 <a href="classKCompletion.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for KCompletion:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classKCompletion.png" usemap="#KCompletion_map" alt=""/>
  <map id="KCompletion_map" name="KCompletion_map">
<area href="qobject.html" alt="QObject" shape="rect" coords="0,0,82,24"/>
</map>
 </div></div>

<p><a href="classKCompletion-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a88eb49b5b89f48f9296b136f6bfa9a62">CompOrder</a> { <a class="el" href="classKCompletion.html#a88eb49b5b89f48f9296b136f6bfa9a62ac0b1933cc325bb144982ab09c02376db">Sorted</a>, 
<a class="el" href="classKCompletion.html#a88eb49b5b89f48f9296b136f6bfa9a62a2011ff90476ea031ab999c12a06e548a">Insertion</a>, 
<a class="el" href="classKCompletion.html#a88eb49b5b89f48f9296b136f6bfa9a62a968d39944eede4761a23cce8a8b06f52">Weighted</a>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a9ce92a05da951509433e623d94792d0b">slotMakeCompletion</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;string)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a02f279fa06c4067ee95676d39a211d71">slotPreviousMatch</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#ac30b2e74e05b6cb903c39153944615e3">slotNextMatch</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a13b8fb6f3cd37d817418c873d1032c8d">insertItems</a> (const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;items)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a0ae18e23dbba26538fc81d0e80fe2d04">setItems</a> (const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;list)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#ac2e280254dc163f153077ec882f05513">addItem</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;item)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a09e854a3c6d3950a9fbeb8b2cf3ecd47">addItem</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;item, uint weight)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a31ee8cc67ea1228ef88b0ab3e1be644d">removeItem</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;item)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#aa83d65e9084382a6ecfcf5ff2b465a9f">clear</a> ()</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="classKCompletion.html#aa9df404d9a37d5b57ede9dd90f765116">match</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;item)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a5b32b1facc011ba6d9cc2de31447e62b">matches</a> (const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;matchlist)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a3ba213b48f41e2404150250f44626a55">multipleMatches</a> ()</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="classKCompletion.html#a67121e28f073bfc134479845cd2a2a84">KCompletion</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#aed35537eb98e398d9da29df0cdbf5404">~KCompletion</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a43b597e5d237650cc4b0e3dec50c4d2f">makeCompletion</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;string)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstringlist.html">QStringList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a02e6afb382463423c02136e6ded9a22c">substringCompletion</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;string) 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="classKCompletion.html#a9b293993541d8ed3c6ca4c67941554f2">previousMatch</a> ()</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="classKCompletion.html#a0b42db3a570daa789b59f8b41474ad90">nextMatch</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#afbdc1580bf9db6918a7801630b9eb2d4">lastMatch</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstringlist.html">QStringList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#ad043873550c1197b3ff07e27ccb29c78">items</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a7a9220a63ebe733385caeb3563e5f3b0">isEmpty</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#ab219c989537075d60a76859ccb3c24be">setCompletionMode</a> (<a class="el" href="classKGlobalSettings.html#a4df0f8e08f3ffde1e176276cbf5aa821">KGlobalSettings::Completion</a> mode)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKGlobalSettings.html#a4df0f8e08f3ffde1e176276cbf5aa821">KGlobalSettings::Completion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a59c0965af193138fe5eccac1af4b30d6">completionMode</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a77257091180054bb7d6cf280dae1dad2">setOrder</a> (<a class="el" href="classKCompletion.html#a88eb49b5b89f48f9296b136f6bfa9a62">CompOrder</a> order)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKCompletion.html#a88eb49b5b89f48f9296b136f6bfa9a62">CompOrder</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#afaf94eeb5e57af219df24ed5a0fc875f">order</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a99c356a9776a61aeaec7979a242ea51f">setIgnoreCase</a> (bool ignoreCase)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#aebd2f6ea55ac5b7b56141aa9f234b6db">ignoreCase</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstringlist.html">QStringList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a5e31436d86b23b8c04b5a59a0249df65">allMatches</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstringlist.html">QStringList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#aa5ad9a50eb978b94242f060fdb68bfa3">allMatches</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;string)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKCompletionMatches.html">KCompletionMatches</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#adbefa19cf6f8c44b151e6bba5f830938">allWeightedMatches</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKCompletionMatches.html">KCompletionMatches</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a6581be3dcb875c4c5a4b4b1b34d97773">allWeightedMatches</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;string)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a56285f75cb083c77c1544458718eebc2">setEnableSounds</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="classKCompletion.html#a2e78190acd0ffc014e411f34d07c3864">isSoundsEnabled</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a817faabfd150d2ddaeb95ea218ee61d2">hasMultipleMatches</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a5a75a7f499edba5420470756e0bbb977">enableSounds</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a241f1acdc397f7faa61fda7367f59f5b">disableSounds</a> ()</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="classKCompletion.html#a6c92b8a96accbee99418ba764e496abe">postProcessMatch</a> (<a class="elRef" href="qstring.html">QString</a> *match) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#acfe2fc542c09df5ad1f78785852b643c">postProcessMatches</a> (<a class="elRef" href="qstringlist.html">QStringList</a> *matches) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCompletion.html#a6ce67e6cb6d6cf3d7487850f50495f5f">postProcessMatches</a> (<a class="el" href="classKCompletionMatches.html">KCompletionMatches</a> *matches) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a30c094e09693d0fc69358fd32c0682af"></a><!-- doxytag: member="KCompletion::virtual_hook" ref="a30c094e09693d0fc69358fd32c0682af" 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="a13a29d758c8382ea27b2e333a2565b2c"></a><!-- doxytag: member="KCompletion::order" ref="a13a29d758c8382ea27b2e333a2565b2c" args="" -->
<a class="el" href="classKCompletion.html#a88eb49b5b89f48f9296b136f6bfa9a62">CompOrder</a>&#160;</td><td class="memItemRight" valign="bottom"><b>order</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a960d93432117bea9aac9a3ca0af6db1d"></a><!-- doxytag: member="KCompletion::ignoreCase" ref="a960d93432117bea9aac9a3ca0af6db1d" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>ignoreCase</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a996e18a53e86e14aa1fd37d2732e6aca"></a><!-- doxytag: member="KCompletion::items" ref="a996e18a53e86e14aa1fd37d2732e6aca" args="" -->
<a class="elRef" href="qstringlist.html">QStringList</a>&#160;</td><td class="memItemRight" valign="bottom"><b>items</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A generic class for completing QStrings. </p>
<p>This class offers easy use of "auto-completion", "manual-completion" or "shell completion" on <a class="elRef" href="qstring.html">QString</a> objects. A common use is completing filenames or URLs (see KURLCompletion()). But it is not limited to URL-completion -- everything should be completable! The user should be able to complete email-addresses, telephone-numbers, commands, SQL queries, ... Every time your program knows what the user can type into an edit-field, you should offer completion. With <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a>, this is very easy, and if you are using a line edit widget ( <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKLineEdit.html">KLineEdit</a>), it is even more easy. Basically, you tell a <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a> object what strings should be completable and whenever completion should be invoked, you call <a class="el" href="classKCompletion.html#a43b597e5d237650cc4b0e3dec50c4d2f" title="Attempts to find an item in the list of available completions, that begins with string.">makeCompletion()</a>. <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKLineEdit.html">KLineEdit</a> and (an editable) <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKComboBox.html">KComboBox</a> even do this automatically for you.</p>
<p><a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a> offers the completed string via the signal <a class="el" href="classKCompletion.html#aa9df404d9a37d5b57ede9dd90f765116" title="The matching item.">match()</a> and all matching strings (when the result is ambiguous) via the method <a class="el" href="classKCompletion.html#a5e31436d86b23b8c04b5a59a0249df65" title="Returns a list of all items matching the last completed string.">allMatches()</a>.</p>
<p>Notice: auto-completion, shell completion and manual completion work slightly differently:</p>
<ul>
<li>auto-completion always returns a complete item as match. When more than one matching items are available, it will deliver just the first (depending on sorting order) item. Iterating over all matches is possible via <a class="el" href="classKCompletion.html#a0b42db3a570daa789b59f8b41474ad90" title="Returns the next item from the matching-items-list.">nextMatch()</a> and <a class="el" href="classKCompletion.html#a9b293993541d8ed3c6ca4c67941554f2" title="Returns the next item from the matching-items-list.">previousMatch()</a>.</li>
</ul>
<ul>
<li>popup-completion works in the same way, the only difference being that the completed items are not put into the edit-widget, but into a separate popup-box.</li>
</ul>
<ul>
<li>manual completion works the same way as auto-completion, the subtle difference is, that it isn't invoked automatically while the user is typing, but only when the user presses a special key. The difference of manual and auto-completion is therefore only visible in UI classes, <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a> needs to know whether to deliver partial matches (shell completion) or whole matches (auto/manual completion), therefore <a class="el" href="classKGlobalSettings.html#a4df0f8e08f3ffde1e176276cbf5aa821ab24ac4832b28749a17ba709a6878db1f" title="Same as automatic except shortest match is used for completion.">KGlobalSettings::CompletionMan</a> and <a class="el" href="classKGlobalSettings.html#a4df0f8e08f3ffde1e176276cbf5aa821ac48bfda2e5a0be4a400cf142ce99162f" title="Text is automatically filled in whenever possible.">KGlobalSettings::CompletionAuto</a> have the exact same effect in <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a>.</li>
</ul>
<ul>
<li>shell completion works like how shells complete filenames: when multiple matches are available, the longest possible string of all matches is returned (i.e. only a partial item). Iterating over all matching items (complete, not partial) is possible via <a class="el" href="classKCompletion.html#a0b42db3a570daa789b59f8b41474ad90" title="Returns the next item from the matching-items-list.">nextMatch()</a> and <a class="el" href="classKCompletion.html#a9b293993541d8ed3c6ca4c67941554f2" title="Returns the next item from the matching-items-list.">previousMatch()</a>.</li>
</ul>
<p>You don't have to worry much about that though, <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a> handles that for you, according to the setting <a class="el" href="classKCompletion.html#ab219c989537075d60a76859ccb3c24be" title="Sets the completion mode to Auto/Manual, Shell or None.">setCompletionMode()</a>. The default setting is globally configured by the user and read from <a class="el" href="classKGlobalSettings.html#a234038742d7cfceeb0baf120f896e1a6" title="Returns the preferred completion mode setting.">KGlobalSettings::completionMode()</a>.</p>
<p>A short example: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a> <a class="code" href="namespaceKStdAccel.html#a91ba36ed700d604936223e0a330f457f" title="Complete text in input widgets.">completion</a>;
 completion.<a class="code" href="classKCompletion.html#a77257091180054bb7d6cf280dae1dad2" title="KCompletion offers three different ways in which it offers its items:">setOrder</a>( <a class="code" href="classKCompletion.html#a88eb49b5b89f48f9296b136f6bfa9a62ac0b1933cc325bb144982ab09c02376db" title="Use alphabetically sorted order.">KCompletion::Sorted</a> );
 completion.<a class="code" href="classKCompletion.html#ac2e280254dc163f153077ec882f05513" title="Adds an item to the list of available completions.">addItem</a>( <span class="stringliteral">&quot;pfeiffer@kde.org&quot;</span> );
 completion.<a class="code" href="classKCompletion.html#ac2e280254dc163f153077ec882f05513" title="Adds an item to the list of available completions.">addItem</a>( <span class="stringliteral">&quot;coolo@kde.org&quot;</span> );
 completion.<a class="code" href="classKCompletion.html#ac2e280254dc163f153077ec882f05513" title="Adds an item to the list of available completions.">addItem</a>( <span class="stringliteral">&quot;carpdjih@sp.zrz.tu-berlin.de&quot;</span> );
 completion.<a class="code" href="classKCompletion.html#ac2e280254dc163f153077ec882f05513" title="Adds an item to the list of available completions.">addItem</a>( <span class="stringliteral">&quot;carp@cs.tu-berlin.de&quot;</span> );

 cout &lt;&lt; completion.<a class="code" href="classKCompletion.html#a43b597e5d237650cc4b0e3dec50c4d2f" title="Attempts to find an item in the list of available completions, that begins with string.">makeCompletion</a>( <span class="stringliteral">&quot;ca&quot;</span> ).<a class="codeRef" href="qstring.html#latin1">latin1</a>() &lt;&lt; <a class="code" href="group__kdebug.html#ga313d520ed8f8f6b46eeef22cfb3b082a" title="Does nothing.">endl</a>;
</pre></div><p>In shell-completion-mode, this will be "carp"; in auto-completion- mode it will be "carp\@cs.tu-berlin.de", as that is alphabetically smaller. If setOrder was set to Insertion, "carpdjih\@sp.zrz.tu-berlin.de" would be completed in auto-completion-mode, as that was inserted before "carp\@cs.tu-berlin.de".</p>
<p>You can dynamically update the completable items by removing and adding them whenever you want. For advanced usage, you could even use multiple <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a> objects. E.g. imagine an editor like kwrite with multiple open files. You could store items of each file in a different <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a> object, so that you know (and tell the user) where a completion comes from.</p>
<p>Note: <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a> does not work with strings that contain 0x0 characters (unicode nul), as this is used internally as a delimiter.</p>
<p>You may inherit from <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a> and override <a class="el" href="classKCompletion.html#a43b597e5d237650cc4b0e3dec50c4d2f" title="Attempts to find an item in the list of available completions, that begins with string.">makeCompletion()</a> in special cases (like reading directories/urls and then supplying the contents to <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a>, as KURLCompletion does), but generally, this is not necessary.</p>
<dl class="author"><dt><b>Author:</b></dt><dd>Carsten Pfeiffer &lt;<a href="mailto:pfeiffer@kde.org">pfeiffer@kde.org</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8h_source.html#l00132">132</a> of file <a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a88eb49b5b89f48f9296b136f6bfa9a62"></a><!-- doxytag: member="KCompletion::CompOrder" ref="a88eb49b5b89f48f9296b136f6bfa9a62" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKCompletion.html#a88eb49b5b89f48f9296b136f6bfa9a62">KCompletion::CompOrder</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constants that represent the order in which <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a> performs completion-lookups. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a88eb49b5b89f48f9296b136f6bfa9a62ac0b1933cc325bb144982ab09c02376db"></a><!-- doxytag: member="Sorted" ref="a88eb49b5b89f48f9296b136f6bfa9a62ac0b1933cc325bb144982ab09c02376db" args="" -->Sorted</em>&nbsp;</td><td>
<p>Use alphabetically sorted order. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a88eb49b5b89f48f9296b136f6bfa9a62a2011ff90476ea031ab999c12a06e548a"></a><!-- doxytag: member="Insertion" ref="a88eb49b5b89f48f9296b136f6bfa9a62a2011ff90476ea031ab999c12a06e548a" args="" -->Insertion</em>&nbsp;</td><td>
<p>Use order of insertion. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a88eb49b5b89f48f9296b136f6bfa9a62a968d39944eede4761a23cce8a8b06f52"></a><!-- doxytag: member="Weighted" ref="a88eb49b5b89f48f9296b136f6bfa9a62a968d39944eede4761a23cce8a8b06f52" args="" -->Weighted</em>&nbsp;</td><td>
<p>Use weighted order. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="kcompletion_8h_source.html#l00145">145</a> of file <a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a67121e28f073bfc134479845cd2a2a84"></a><!-- doxytag: member="KCompletion::KCompletion" ref="a67121e28f073bfc134479845cd2a2a84" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KCompletion::KCompletion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor, nothing special here :) </p>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00041">41</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

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

<p>Destructor, nothing special here, either. </p>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00054">54</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac2e280254dc163f153077ec882f05513"></a><!-- doxytag: member="KCompletion::addItem" ref="ac2e280254dc163f153077ec882f05513" args="(const QString &amp;item)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCompletion::addItem </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds an item to the list of available completions. </p>
<p>Resets the current item-state ( <a class="el" href="classKCompletion.html#a9b293993541d8ed3c6ca4c67941554f2" title="Returns the next item from the matching-items-list.">previousMatch()</a> and <a class="el" href="classKCompletion.html#a0b42db3a570daa789b59f8b41474ad90" title="Returns the next item from the matching-items-list.">nextMatch()</a> won't work anymore). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td>the item to add </td></tr>
  </table>
  </dd>
</dl>

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

</div>
</div>
<a class="anchor" id="a09e854a3c6d3950a9fbeb8b2cf3ecd47"></a><!-- doxytag: member="KCompletion::addItem" ref="a09e854a3c6d3950a9fbeb8b2cf3ecd47" args="(const QString &amp;item, uint weight)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCompletion::addItem </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>item</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>weight</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds an item to the list of available completions. </p>
<p>Resets the current item-state ( <a class="el" href="classKCompletion.html#a9b293993541d8ed3c6ca4c67941554f2" title="Returns the next item from the matching-items-list.">previousMatch()</a> and <a class="el" href="classKCompletion.html#a0b42db3a570daa789b59f8b41474ad90" title="Returns the next item from the matching-items-list.">nextMatch()</a> won't work anymore).</p>
<p>Sets the weighting of the item to <code>weight</code> or adds it to the current weighting if the item is already available. The weight has to be greater than 1 to take effect (default weight is 1). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td>the item to add </td></tr>
    <tr><td class="paramname">weight</td><td>the weight of the item, default is 1 </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00115">115</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5e31436d86b23b8c04b5a59a0249df65"></a><!-- doxytag: member="KCompletion::allMatches" ref="a5e31436d86b23b8c04b5a59a0249df65" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstringlist.html">QStringList</a> KCompletion::allMatches </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a list of all items matching the last completed string. </p>
<p>Might take some time, when you have LOTS of items. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>a list of all matches for the last completed string. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a02e6afb382463423c02136e6ded9a22c" title="Returns a list of all completion items that contain the given string.">substringCompletion</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00296">296</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa5ad9a50eb978b94242f060fdb68bfa3"></a><!-- doxytag: member="KCompletion::allMatches" ref="aa5ad9a50eb978b94242f060fdb68bfa3" args="(const QString &amp;string)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstringlist.html">QStringList</a> KCompletion::allMatches </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><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a list of all items matching <code>string</code>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">string</td><td>the string to match </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the list of all matches </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00322">322</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adbefa19cf6f8c44b151e6bba5f830938"></a><!-- doxytag: member="KCompletion::allWeightedMatches" ref="adbefa19cf6f8c44b151e6bba5f830938" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKCompletionMatches.html">KCompletionMatches</a> KCompletion::allWeightedMatches </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a list of all items matching the last completed string. </p>
<p>Might take some time, when you have LOTS of items. The matches are returned as <a class="el" href="classKCompletionMatches.html" title="This structure is returned by KCompletion::allWeightedMatches .">KCompletionMatches</a>, which also keeps the weight of the matches, allowing you to modify some matches or merge them with matches from another call to <a class="el" href="classKCompletion.html#adbefa19cf6f8c44b151e6bba5f830938" title="Returns a list of all items matching the last completed string.">allWeightedMatches()</a>, and sort the matches after that in order to have the matches ordered correctly.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>a list of all completion matches </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a02e6afb382463423c02136e6ded9a22c" title="Returns a list of all completion items that contain the given string.">substringCompletion</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00309">309</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6581be3dcb875c4c5a4b4b1b34d97773"></a><!-- doxytag: member="KCompletion::allWeightedMatches" ref="a6581be3dcb875c4c5a4b4b1b34d97773" args="(const QString &amp;string)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKCompletionMatches.html">KCompletionMatches</a> KCompletion::allWeightedMatches </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><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a list of all items matching <code>string</code>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">string</td><td>the string to match </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>a list of all matches </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00332">332</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

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

<p>Removes all inserted items. </p>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00178">178</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a59c0965af193138fe5eccac1af4b30d6"></a><!-- doxytag: member="KCompletion::completionMode" ref="a59c0965af193138fe5eccac1af4b30d6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKGlobalSettings.html#a4df0f8e08f3ffde1e176276cbf5aa821">KGlobalSettings::Completion</a> KCompletion::completionMode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the current completion mode. </p>
<p>May be different from <a class="el" href="classKGlobalSettings.html#a234038742d7cfceeb0baf120f896e1a6" title="Returns the preferred completion mode setting.">KGlobalSettings::completionMode()</a>, if you explicitly called <a class="el" href="classKCompletion.html#ab219c989537075d60a76859ccb3c24be" title="Sets the completion mode to Auto/Manual, Shell or None.">setCompletionMode()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the current completion mode </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#ab219c989537075d60a76859ccb3c24be" title="Sets the completion mode to Auto/Manual, Shell or None.">setCompletionMode</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8h_source.html#l00269">269</a> of file <a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a241f1acdc397f7faa61fda7367f59f5b"></a><!-- doxytag: member="KCompletion::disableSounds" ref="a241f1acdc397f7faa61fda7367f59f5b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCompletion::disableSounds </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000021">Deprecated:</a></b></dt><dd></dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a56285f75cb083c77c1544458718eebc2" title="Enables/disables playing a sound when.">setEnableSounds</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8h_source.html#l00397">397</a> of file <a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5a75a7f499edba5420470756e0bbb977"></a><!-- doxytag: member="KCompletion::enableSounds" ref="a5a75a7f499edba5420470756e0bbb977" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCompletion::enableSounds </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000020">Deprecated:</a></b></dt><dd></dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a56285f75cb083c77c1544458718eebc2" title="Enables/disables playing a sound when.">setEnableSounds</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8h_source.html#l00391">391</a> of file <a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>.</p>

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

<p>Returns true when more than one match is found. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if there are more than one match </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a3ba213b48f41e2404150250f44626a55" title="This signal is emitted, when calling makeCompletion() and more than one matching item is found...">multipleMatches</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8h_source.html#l00384">384</a> of file <a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>.</p>

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

<p>Return whether <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a> acts case insensitively or not. </p>
<p>Default is false (case sensitive). </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the case will be ignored </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a99c356a9776a61aeaec7979a242ea51f" title="Setting this to true makes KCompletion behave case insensitively.">setIgnoreCase</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8h_source.html#l00317">317</a> of file <a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a13b8fb6f3cd37d817418c873d1032c8d"></a><!-- doxytag: member="KCompletion::insertItems" ref="a13b8fb6f3cd37d817418c873d1032c8d" args="(const QStringList &amp;items)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCompletion::insertItems </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> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Inserts <code>items</code> into the list of possible completions. </p>
<p>Does the same as <a class="el" href="classKCompletion.html#a0ae18e23dbba26538fc81d0e80fe2d04" title="Sets the list of items available for completion.">setItems()</a>, but does not call <a class="el" href="classKCompletion.html#aa83d65e9084382a6ecfcf5ff2b465a9f" title="Removes all inserted items.">clear()</a> before. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">items</td><td>the items to insert </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00078">78</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

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

<p>Returns true when the completion object contains no entries. </p>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00101">101</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

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

<p>Tells you whether <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a> will play sounds on certain occasions. </p>
<p>Default is enabled. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if sounds are enabled </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a5a75a7f499edba5420470756e0bbb977">enableSounds</a> </dd>
<dd>
<a class="el" href="classKCompletion.html#a241f1acdc397f7faa61fda7367f59f5b">disableSounds</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8h_source.html#l00377">377</a> of file <a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad043873550c1197b3ff07e27ccb29c78"></a><!-- doxytag: member="KCompletion::items" ref="ad043873550c1197b3ff07e27ccb29c78" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstringlist.html">QStringList</a> KCompletion::items </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a list of all items inserted into <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a>. </p>
<p>This is useful if you need to save the state of a <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a> object and restore it later.</p>
<p>Important note: when order() == Weighted, then every item in the stringlist has its weight appended, delimited by a colon. E.g. an item "www.kde.org" might look like "www.kde.org:4", where 4 is the weight.</p>
<p>This is necessary so that you can save the items along with its weighting on disk and load them back with <a class="el" href="classKCompletion.html#a0ae18e23dbba26538fc81d0e80fe2d04" title="Sets the list of items available for completion.">setItems()</a>, restoring its weight as well. If you really don't want the appended weightings, call setOrder( KCompletion::Insertion ) before calling items().</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>a list of all items </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a0ae18e23dbba26538fc81d0e80fe2d04" title="Sets the list of items available for completion.">setItems</a> </dd></dl>

</div>
</div>
<a class="anchor" id="afbdc1580bf9db6918a7801630b9eb2d4"></a><!-- doxytag: member="KCompletion::lastMatch" ref="afbdc1580bf9db6918a7801630b9eb2d4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="elRef" href="qstring.html">QString</a>&amp; KCompletion::lastMatch </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the last match. </p>
<p>Might be useful if you need to check whether a completion is different from the last one. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the last match. QString::null is returned when there is no last match. </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8h_source.html#l00224">224</a> of file <a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a43b597e5d237650cc4b0e3dec50c4d2f"></a><!-- doxytag: member="KCompletion::makeCompletion" ref="a43b597e5d237650cc4b0e3dec50c4d2f" args="(const QString &amp;string)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KCompletion::makeCompletion </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><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Attempts to find an item in the list of available completions, that begins with <code>string</code>. </p>
<p>Will either return the first matching item (if there is more than one match) or QString::null, if no match was found.</p>
<p>In the latter case, a sound will be issued, depending on <a class="el" href="classKCompletion.html#a2e78190acd0ffc014e411f34d07c3864" title="Tells you whether KCompletion will play sounds on certain occasions.">isSoundsEnabled()</a>. If a match was found, it will also be emitted via the signal <a class="el" href="classKCompletion.html#aa9df404d9a37d5b57ede9dd90f765116" title="The matching item.">match()</a>.</p>
<p>If this is called twice or more often with the same string while no items were added or removed in the meantime, all available completions will be emitted via the signal <a class="el" href="classKCompletion.html#a5b32b1facc011ba6d9cc2de31447e62b" title="All matching items.">matches()</a>. This happens only in shell-completion-mode.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">string</td><td>the string to complete </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the matching item, or QString::null if there is no matching item. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a9ce92a05da951509433e623d94792d0b" title="Attempts to complete &quot;string&quot; and emits the completion via match().">slotMakeCompletion</a> </dd>
<dd>
<a class="el" href="classKCompletion.html#a02e6afb382463423c02136e6ded9a22c" title="Returns a list of all completion items that contain the given string.">substringCompletion</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00189">189</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

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

<p>The matching item. </p>
<p>Will be emitted by <a class="el" href="classKCompletion.html#a43b597e5d237650cc4b0e3dec50c4d2f" title="Attempts to find an item in the list of available completions, that begins with string.">makeCompletion()</a>, <a class="el" href="classKCompletion.html#a9b293993541d8ed3c6ca4c67941554f2" title="Returns the next item from the matching-items-list.">previousMatch()</a> or <a class="el" href="classKCompletion.html#a0b42db3a570daa789b59f8b41474ad90" title="Returns the next item from the matching-items-list.">nextMatch()</a>. May be QString::null if there is no matching item. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td>the match, or QString::null if there is none </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5b32b1facc011ba6d9cc2de31447e62b"></a><!-- doxytag: member="KCompletion::matches" ref="a5b32b1facc011ba6d9cc2de31447e62b" args="(const QStringList &amp;matchlist)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCompletion::matches </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>matchlist</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>All matching items. </p>
<p>Will be emitted by <a class="el" href="classKCompletion.html#a43b597e5d237650cc4b0e3dec50c4d2f" title="Attempts to find an item in the list of available completions, that begins with string.">makeCompletion()</a> in shell- completion-mode, when the same string is passed to makeCompletion twice or more often. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">matchlist</td><td>the list of matches </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3ba213b48f41e2404150250f44626a55"></a><!-- doxytag: member="KCompletion::multipleMatches" ref="a3ba213b48f41e2404150250f44626a55" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCompletion::multipleMatches </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This signal is emitted, when calling <a class="el" href="classKCompletion.html#a43b597e5d237650cc4b0e3dec50c4d2f" title="Attempts to find an item in the list of available completions, that begins with string.">makeCompletion()</a> and more than one matching item is found. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a817faabfd150d2ddaeb95ea218ee61d2" title="Returns true when more than one match is found.">hasMultipleMatches</a> </dd></dl>

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

<p>Returns the next item from the matching-items-list. </p>
<p>When reaching the last item, the list is rotated, so it will return the first match and a sound is issued (depending on <a class="el" href="classKCompletion.html#a2e78190acd0ffc014e411f34d07c3864" title="Tells you whether KCompletion will play sounds on certain occasions.">isSoundsEnabled()</a>). </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the next item from the matching-items-list. When there is no match, QString::null is returned and a sound is issued </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#ac30b2e74e05b6cb903c39153944615e3" title="Searches the next matching item and emits it via match().">slotNextMatch</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00346">346</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="afaf94eeb5e57af219df24ed5a0fc875f"></a><!-- doxytag: member="KCompletion::order" ref="afaf94eeb5e57af219df24ed5a0fc875f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKCompletion.html#a88eb49b5b89f48f9296b136f6bfa9a62">CompOrder</a> KCompletion::order </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the completion order. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the current completion order. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a77257091180054bb7d6cf280dae1dad2" title="KCompletion offers three different ways in which it offers its items:">setOrder</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8h_source.html#l00300">300</a> of file <a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6c92b8a96accbee99418ba764e496abe"></a><!-- doxytag: member="KCompletion::postProcessMatch" ref="a6c92b8a96accbee99418ba764e496abe" args="(QString *match) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KCompletion::postProcessMatch </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qstring.html">QString</a> *&#160;</td>
          <td class="paramname"><em>match</em></td><td>)</td>
          <td> const<code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This method is called after a completion is found and before the matching string is emitted. </p>
<p>You can override this method to modify the string that will be emitted. This is necessary e.g. in KURLCompletion(), where files with spaces in their names are shown escaped ("filename\ with\ spaces"), but stored unescaped inside <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a>. Never delete that pointer!</p>
<p>Default implementation does nothing. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">match</td><td>the match to process </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#acfe2fc542c09df5ad1f78785852b643c" title="This method is called before a list of all available completions is emitted via matches.">postProcessMatches</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8h_source.html#l00528">528</a> of file <a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>.</p>

</div>
</div>
<a class="anchor" id="acfe2fc542c09df5ad1f78785852b643c"></a><!-- doxytag: member="KCompletion::postProcessMatches" ref="acfe2fc542c09df5ad1f78785852b643c" args="(QStringList *matches) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KCompletion::postProcessMatches </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qstringlist.html">QStringList</a> *&#160;</td>
          <td class="paramname"><em>matches</em></td><td>)</td>
          <td> const<code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This method is called before a list of all available completions is emitted via <a class="el" href="classKCompletion.html#a5b32b1facc011ba6d9cc2de31447e62b" title="All matching items.">matches</a>. </p>
<p>You can override this method to modify the found items before <a class="el" href="classKCompletion.html#aa9df404d9a37d5b57ede9dd90f765116" title="The matching item.">match()</a> or <a class="el" href="classKCompletion.html#a5b32b1facc011ba6d9cc2de31447e62b" title="All matching items.">matches</a> are emitted. Never delete that pointer!</p>
<p>Default implementation does nothing. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">matches</td><td>the matches to process </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a6c92b8a96accbee99418ba764e496abe" title="This method is called after a completion is found and before the matching string is emitted...">postProcessMatch</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8h_source.html#l00540">540</a> of file <a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6ce67e6cb6d6cf3d7487850f50495f5f"></a><!-- doxytag: member="KCompletion::postProcessMatches" ref="a6ce67e6cb6d6cf3d7487850f50495f5f" args="(KCompletionMatches *matches) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KCompletion::postProcessMatches </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKCompletionMatches.html">KCompletionMatches</a> *&#160;</td>
          <td class="paramname"><em>matches</em></td><td>)</td>
          <td> const<code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This method is called before a list of all available completions is emitted via <a class="el" href="classKCompletion.html#a5b32b1facc011ba6d9cc2de31447e62b" title="All matching items.">matches</a>. </p>
<p>You can override this method to modify the found items before <a class="el" href="classKCompletion.html#aa9df404d9a37d5b57ede9dd90f765116" title="The matching item.">match()</a> or <a class="el" href="classKCompletion.html#a5b32b1facc011ba6d9cc2de31447e62b" title="All matching items.">matches()</a> are emitted. Never delete that pointer!</p>
<p>Default implementation does nothing. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">matches</td><td>the matches to process </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a6c92b8a96accbee99418ba764e496abe" title="This method is called after a completion is found and before the matching string is emitted...">postProcessMatch</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8h_source.html#l00552">552</a> of file <a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>.</p>

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

<p>Returns the next item from the matching-items-list. </p>
<p>When reaching the beginning, the list is rotated so it will return the last match and a sound is issued (depending on <a class="el" href="classKCompletion.html#a2e78190acd0ffc014e411f34d07c3864" title="Tells you whether KCompletion will play sounds on certain occasions.">isSoundsEnabled()</a>). </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the next item from the matching-items-list. When there is no match, QString::null is returned and a sound is be issued. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a02f279fa06c4067ee95676d39a211d71" title="Searches the previous matching item and emits it via match().">slotPreviousMatch</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00379">379</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

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

<p>Removes an item from the list of available completions. </p>
<p>Resets the current item-state ( <a class="el" href="classKCompletion.html#a9b293993541d8ed3c6ca4c67941554f2" title="Returns the next item from the matching-items-list.">previousMatch()</a> and <a class="el" href="classKCompletion.html#a0b42db3a570daa789b59f8b41474ad90" title="Returns the next item from the matching-items-list.">nextMatch()</a> won't work anymore). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td>the item to remove </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00168">168</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab219c989537075d60a76859ccb3c24be"></a><!-- doxytag: member="KCompletion::setCompletionMode" ref="ab219c989537075d60a76859ccb3c24be" args="(KGlobalSettings::Completion mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCompletion::setCompletionMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="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>Sets the completion mode to Auto/Manual, Shell or None. </p>
<p>If you don't set the mode explicitly, the global default value <a class="el" href="classKGlobalSettings.html#a234038742d7cfceeb0baf120f896e1a6" title="Returns the preferred completion mode setting.">KGlobalSettings::completionMode()</a> is used. <a class="el" href="classKGlobalSettings.html#a4df0f8e08f3ffde1e176276cbf5aa821aec030b2f4faf8614c501f54af10050a7" title="No completion is used.">KGlobalSettings::CompletionNone</a> disables completion. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mode</td><td>the completion mode </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a59c0965af193138fe5eccac1af4b30d6" title="Return the current completion mode.">completionMode</a> </dd>
<dd>
<a class="el" href="classKGlobalSettings.html#a234038742d7cfceeb0baf120f896e1a6" title="Returns the preferred completion mode setting.">KGlobalSettings::completionMode</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00291">291</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

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

<p>Enables/disables playing a sound when. </p>
<ul>
<li><a class="el" href="classKCompletion.html#a43b597e5d237650cc4b0e3dec50c4d2f" title="Attempts to find an item in the list of available completions, that begins with string.">makeCompletion()</a> can't find a match </li>
<li>there is a partial completion (= multiple matches in Shell-completion mode) </li>
<li><a class="el" href="classKCompletion.html#a0b42db3a570daa789b59f8b41474ad90" title="Returns the next item from the matching-items-list.">nextMatch()</a> or <a class="el" href="classKCompletion.html#a9b293993541d8ed3c6ca4c67941554f2" title="Returns the next item from the matching-items-list.">previousMatch()</a> hit the last possible match -&gt; rotation</li>
</ul>
<p>For playing the sounds, KNotifyClient() is used.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">enable</td><td>true to enable sounds </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a2e78190acd0ffc014e411f34d07c3864" title="Tells you whether KCompletion will play sounds on certain occasions.">isSoundsEnabled</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8h_source.html#l00368">368</a> of file <a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a99c356a9776a61aeaec7979a242ea51f"></a><!-- doxytag: member="KCompletion::setIgnoreCase" ref="a99c356a9776a61aeaec7979a242ea51f" args="(bool ignoreCase)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCompletion::setIgnoreCase </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>ignoreCase</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Setting this to true makes <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a> behave case insensitively. </p>
<p>E.g. makeCompletion( "CA" ); might return "carp\@cs.tu-berlin.de". Default is false (case sensitive). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ignoreCase</td><td>true to ignore the case </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd>ignoreCase </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00066">66</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

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

<p>Sets the list of items available for completion. </p>
<p>Removes all previous items.</p>
<p>Notice: when order() == Weighted, then the weighting is looked up for every item in the stringlist. Every item should have ":number" appended, where number is an unsigned integer, specifying the weighting.</p>
<p>If you don't like this, call setOrder( KCompletion::Insertion ) before calling <a class="el" href="classKCompletion.html#a0ae18e23dbba26538fc81d0e80fe2d04" title="Sets the list of items available for completion.">setItems()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">list</td><td>the list of items that are available for completion </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd>items </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00071">71</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a77257091180054bb7d6cf280dae1dad2"></a><!-- doxytag: member="KCompletion::setOrder" ref="a77257091180054bb7d6cf280dae1dad2" args="(CompOrder order)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCompletion::setOrder </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKCompletion.html#a88eb49b5b89f48f9296b136f6bfa9a62">CompOrder</a>&#160;</td>
          <td class="paramname"><em>order</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a> offers three different ways in which it offers its items: </p>
<ul>
<li>in the order of insertion </li>
<li>sorted alphabetically </li>
<li>weighted</li>
</ul>
<p>Choosing weighted makes <a class="el" href="classKCompletion.html" title="A generic class for completing QStrings.">KCompletion</a> perform an implicit weighting based on how often an item is inserted. Imagine a web browser with a location bar, where the user enters URLs. The more often a URL is entered, the higher priority it gets.</p>
<p>Note: Setting the order to sorted only affects new inserted items, already existing items will stay in the current order. So you probably want to call setOrder( Sorted ) before inserting items, when you want everything sorted.</p>
<p>Default is insertion order. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">order</td><td>the new order </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd>order </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00060">60</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9ce92a05da951509433e623d94792d0b"></a><!-- doxytag: member="KCompletion::slotMakeCompletion" ref="a9ce92a05da951509433e623d94792d0b" args="(const QString &amp;string)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCompletion::slotMakeCompletion </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><td>)</td>
          <td><code> [inline, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Attempts to complete "string" and emits the completion via <a class="el" href="classKCompletion.html#aa9df404d9a37d5b57ede9dd90f765116" title="The matching item.">match()</a>. </p>
<p>Same as <a class="el" href="classKCompletion.html#a43b597e5d237650cc4b0e3dec50c4d2f" title="Attempts to find an item in the list of available completions, that begins with string.">makeCompletion()</a> (just as a slot). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">string</td><td>the string to complete </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a43b597e5d237650cc4b0e3dec50c4d2f" title="Attempts to find an item in the list of available completions, that begins with string.">makeCompletion</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8h_source.html#l00407">407</a> of file <a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>.</p>

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

<p>Searches the next matching item and emits it via <a class="el" href="classKCompletion.html#aa9df404d9a37d5b57ede9dd90f765116" title="The matching item.">match()</a>. </p>
<p>Same as <a class="el" href="classKCompletion.html#a0b42db3a570daa789b59f8b41474ad90" title="Returns the next item from the matching-items-list.">nextMatch()</a> (just as a slot). </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a0b42db3a570daa789b59f8b41474ad90" title="Returns the next item from the matching-items-list.">nextMatch</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8h_source.html#l00425">425</a> of file <a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>.</p>

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

<p>Searches the previous matching item and emits it via <a class="el" href="classKCompletion.html#aa9df404d9a37d5b57ede9dd90f765116" title="The matching item.">match()</a>. </p>
<p>Same as <a class="el" href="classKCompletion.html#a9b293993541d8ed3c6ca4c67941554f2" title="Returns the next item from the matching-items-list.">previousMatch()</a> (just as a slot). </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a9b293993541d8ed3c6ca4c67941554f2" title="Returns the next item from the matching-items-list.">previousMatch</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8h_source.html#l00416">416</a> of file <a class="el" href="kcompletion_8h_source.html">kcompletion.h</a>.</p>

</div>
</div>
<a class="anchor" id="a02e6afb382463423c02136e6ded9a22c"></a><!-- doxytag: member="KCompletion::substringCompletion" ref="a02e6afb382463423c02136e6ded9a22c" args="(const QString &amp;string) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstringlist.html">QStringList</a> KCompletion::substringCompletion </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><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a list of all completion items that contain the given <code>string</code>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">string</td><td>the string to complete </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>a list of items which all contain <code>text</code> as a substring, i.e. not necessarily at the beginning.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKCompletion.html#a43b597e5d237650cc4b0e3dec50c4d2f" title="Attempts to find an item in the list of available completions, that begins with string.">makeCompletion</a> </dd></dl>

<p>Definition at line <a class="el" href="kcompletion_8cpp_source.html#l00251">251</a> of file <a class="el" href="kcompletion_8cpp_source.html">kcompletion.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="kcompletion_8h_source.html">kcompletion.h</a></li>
<li><a class="el" href="kcompletion_8cpp_source.html">kcompletion.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>kdecore</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="modules.html">Modules</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="classKAboutData.html">kaboutdata</option>,  <option value="classKAboutPerson.html">kaboutperson</option>,  <option value="classKAboutTranslator.html">kabouttranslator</option>,  <option value="classKAccel.html">kaccel</option>,  <option value="classKAcceleratorManager.html">kacceleratormanager</option>,  <option value="classKAccelManagerAlgorithm.html">kaccelmanageralgorithm</option>,  <option value="classKAccelShortcutList.html">kaccelshortcutlist</option>,  <option value="classKAccelString.html">kaccelstring</option>,  <option value="classKAddressInfo.html">kaddressinfo</option>,  <option value="classKAppDCOPInterface.html">kappdcopinterface</option>,  <option value="classKApplication.html">kapplication</option>,  <option value="classKAsyncIO.html">kasyncio</option>,  <option value="classKAudioPlayer.html">kaudioplayer</option>,  <option value="classKBufferedIO.html">kbufferedio</option>,  <option value="classKCalendarSystem.html">kcalendarsystem</option>,  <option value="classKCalendarSystemFactory.html">kcalendarsystemfactory</option>,  <option value="classKCalendarSystemJalali.html">kcalendarsystemjalali</option>,  <option value="classKCatalogue.html">kcatalogue</option>,  <option value="classKCharMacroExpander.html">kcharmacroexpander</option>,  <option value="classKCharsets.html">kcharsets</option>,  <option value="classKClipboardSynchronizer.html">kclipboardsynchronizer</option>,  <option value="classKCmdLineArgs.html">kcmdlineargs</option>,  <option value="classKCodecs.html">kcodecs</option>,  <option value="classKCompletion.html">kcompletion</option>,  <option value="classKCompletionBase.html">kcompletionbase</option>,  <option value="classKCompletionMatches.html">kcompletionmatches</option>,  <option value="classKCompTreeNode.html">kcomptreenode</option>,  <option value="classKConfig.html">kconfig</option>,  <option value="classKConfigBackEnd.html">kconfigbackend</option>,  <option value="classKConfigBase.html">kconfigbase</option>,  <option value="classKConfigDialogManager.html">kconfigdialogmanager</option>,  <option value="classKConfigGroup.html">kconfiggroup</option>,  <option value="classKConfigGroupSaver.html">kconfiggroupsaver</option>,  <option value="classKConfigINIBackEnd.html">kconfiginibackend</option>,  <option value="classKConfigSkeleton.html">kconfigskeleton</option>,  <option value="classKConfigSkeleton_1_1ItemBool.html">kconfigskeleton::itembool</option>,  <option value="classKConfigSkeleton_1_1ItemColor.html">kconfigskeleton::itemcolor</option>,  <option value="classKConfigSkeleton_1_1ItemDateTime.html">kconfigskeleton::itemdatetime</option>,  <option value="classKConfigSkeleton_1_1ItemDouble.html">kconfigskeleton::itemdouble</option>,  <option value="classKConfigSkeleton_1_1ItemEnum.html">kconfigskeleton::itemenum</option>,  <option value="classKConfigSkeleton_1_1ItemFont.html">kconfigskeleton::itemfont</option>,  <option value="classKConfigSkeleton_1_1ItemInt.html">kconfigskeleton::itemint</option>,  <option value="classKConfigSkeleton_1_1ItemInt64.html">kconfigskeleton::itemint64</option>,  <option value="classKConfigSkeleton_1_1ItemIntList.html">kconfigskeleton::itemintlist</option>,  <option value="classKConfigSkeleton_1_1ItemLong.html">kconfigskeleton::itemlong</option>,  <option value="classKConfigSkeleton_1_1ItemPassword.html">kconfigskeleton::itempassword</option>,  <option value="classKConfigSkeleton_1_1ItemPath.html">kconfigskeleton::itempath</option>,  <option value="classKConfigSkeleton_1_1ItemPathList.html">kconfigskeleton::itempathlist</option>,  <option value="classKConfigSkeleton_1_1ItemPoint.html">kconfigskeleton::itempoint</option>,  <option value="classKConfigSkeleton_1_1ItemProperty.html">kconfigskeleton::itemproperty</option>,  <option value="classKConfigSkeleton_1_1ItemRect.html">kconfigskeleton::itemrect</option>,  <option value="classKConfigSkeleton_1_1ItemSize.html">kconfigskeleton::itemsize</option>,  <option value="classKConfigSkeleton_1_1ItemString.html">kconfigskeleton::itemstring</option>,  <option value="classKConfigSkeleton_1_1ItemStringList.html">kconfigskeleton::itemstringlist</option>,  <option value="classKConfigSkeleton_1_1ItemUInt.html">kconfigskeleton::itemuint</option>,  <option value="classKConfigSkeleton_1_1ItemUInt64.html">kconfigskeleton::itemuint64</option>,  <option value="classKConfigSkeleton_1_1ItemULong.html">kconfigskeleton::itemulong</option>,  <option value="classKConfigSkeletonItem.html">kconfigskeletonitem</option>,  <option value="classKCrash.html">kcrash</option>,  <option value="classKDCOPPropertyProxy.html">kdcoppropertyproxy</option>,  <option value="classKDebugDCOPIface.html">kdebugdcopiface</option>,  <option value="classKDesktopFile.html">kdesktopfile</option>,  <option value="classKExtendedSocket.html">kextendedsocket</option>,  <option value="classKGenericFactory.html">kgenericfactory</option>,  <option value="classKGenericFactory_3_01KTypeList_3_01Product_00_01ProductListTail_01_4_00_01KTypeList_3_01Pare1ed8d1e5a9847c99711cad3b12c7e96c.html">kgenericfactory< ktypelist< product, productlisttail >, ktypelist< pare1ed8d1e5a9847c99711cad3b12c7e96c</option>,  <option value="classKGenericFactory_3_01KTypeList_3_01Product_00_01ProductListTail_01_4_00_01KTypeList_3_01Paref6a00f76851e0daa2cb662bb8a41fc7f.html">kgenericfactory< ktypelist< product, productlisttail >, ktypelist< paref6a00f76851e0daa2cb662bb8a41fc7f</option>,  <option value="classKGenericFactory_3_01KTypeList_3_01Product_00_01ProductListTail_01_4_00_01QObject_01_4.html">kgenericfactory< ktypelist< product, productlisttail >, qobject ></option>,  <option value="classKGlobal.html">kglobal</option>,  <option value="classKGlobalAccel.html">kglobalaccel</option>,  <option value="classKGlobalSettings.html">kglobalsettings</option>,  <option value="classKIcon.html">kicon</option>,  <option value="classKIconEffect.html">kiconeffect</option>,  <option value="classKIconLoader.html">kiconloader</option>,  <option value="classKIconTheme.html">kicontheme</option>,  <option value="classKInetSocketAddress.html">kinetsocketaddress</option>,  <option value="classKInstance.html">kinstance</option>,  <option value="classKIOBufferBase.html">kiobufferbase</option>,  <option value="classKIPC.html">kipc</option>,  <option value="classKKey.html">kkey</option>,  <option value="classKKeyNative.html">kkeynative</option>,  <option value="classKKeySequence.html">kkeysequence</option>,  <option value="classKLibFactory.html">klibfactory</option>,  <option value="classKLibLoader.html">klibloader</option>,  <option value="classKLibrary.html">klibrary</option>,  <option value="classKLocale.html">klocale</option>,  <option value="classKLockFile.html">klockfile</option>,  <option value="classKMacroExpanderBase.html">kmacroexpanderbase</option>,  <option value="classKMD4.html">kmd4</option>,  <option value="classKMD5.html">kmd5</option>,  <option value="classKMimeSourceFactory.html">kmimesourcefactory</option>,  <option value="classKMountPoint.html">kmountpoint</option>,  <option value="classKMultipleDrag.html">kmultipledrag</option>,  <option value="classKNetwork_1_1KActiveSocketBase.html">knetwork::kactivesocketbase</option>,  <option value="classKNetwork_1_1KBufferedSocket.html">knetwork::kbufferedsocket</option>,  <option value="classKNetwork_1_1KClientSocketBase.html">knetwork::kclientsocketbase</option>,  <option value="classKNetwork_1_1KDatagramPacket.html">knetwork::kdatagrampacket</option>,  <option value="classKNetwork_1_1KDatagramSocket.html">knetwork::kdatagramsocket</option>,  <option value="classKNetwork_1_1KHttpProxySocketDevice.html">knetwork::khttpproxysocketdevice</option>,  <option value="classKNetwork_1_1KInetSocketAddress.html">knetwork::kinetsocketaddress</option>,  <option value="classKNetwork_1_1KIpAddress.html">knetwork::kipaddress</option>,  <option value="classKNetwork_1_1KMulticastSocket.html">knetwork::kmulticastsocket</option>,  <option value="classKNetwork_1_1KMulticastSocketImpl.html">knetwork::kmulticastsocketimpl</option>,  <option value="classKNetwork_1_1KNetworkInterface.html">knetwork::knetworkinterface</option>,  <option value="classKNetwork_1_1KPassiveSocketBase.html">knetwork::kpassivesocketbase</option>,  <option value="classKNetwork_1_1KResolver.html">knetwork::kresolver</option>,  <option value="classKNetwork_1_1KResolverEntry.html">knetwork::kresolverentry</option>,  <option value="classKNetwork_1_1KResolverResults.html">knetwork::kresolverresults</option>,  <option value="classKNetwork_1_1KResolverWorkerBase_1_1ResolverLocker.html">knetwork::kresolverworkerbase::resolverlocker</option>,  <option value="classKNetwork_1_1KReverseResolver.html">knetwork::kreverseresolver</option>,  <option value="classKNetwork_1_1KServerSocket.html">knetwork::kserversocket</option>,  <option value="classKNetwork_1_1KSocketAddress.html">knetwork::ksocketaddress</option>,  <option value="classKNetwork_1_1KSocketBase.html">knetwork::ksocketbase</option>,  <option value="classKNetwork_1_1KSocketDevice.html">knetwork::ksocketdevice</option>,  <option value="classKNetwork_1_1KSocketDeviceFactory.html">knetwork::ksocketdevicefactory</option>,  <option value="classKNetwork_1_1KSocksSocketDevice.html">knetwork::ksockssocketdevice</option>,  <option value="classKNetwork_1_1KStreamSocket.html">knetwork::kstreamsocket</option>,  <option value="classKNetwork_1_1KUnixSocketAddress.html">knetwork::kunixsocketaddress</option>,  <option value="classKNotifyClient_1_1Instance.html">knotifyclient::instance</option>,  <option value="classKPalette.html">kpalette</option>,  <option value="classKPixmapProvider.html">kpixmapprovider</option>,  <option value="classKPopupAccelManager.html">kpopupaccelmanager</option>,  <option value="classKProcess.html">kprocess</option>,  <option value="classKProcessController.html">kprocesscontroller</option>,  <option value="classKProcIO.html">kprocio</option>,  <option value="classKProtocolInfoFactory.html">kprotocolinfofactory</option>,  <option value="classKPty.html">kpty</option>,  <option value="classKRandomSequence.html">krandomsequence</option>,  <option value="classKRegExp.html">kregexp</option>,  <option value="classKRegExpPrivate.html">kregexpprivate</option>,  <option value="classKRFCDate.html">krfcdate</option>,  <option value="classKRootProp.html">krootprop</option>,  <option value="classKSaveFile.html">ksavefile</option>,  <option value="classKServerSocket.html">kserversocket</option>,  <option value="classKSessionManaged.html">ksessionmanaged</option>,  <option value="classKShared.html">kshared</option>,  <option value="classKSharedConfig.html">ksharedconfig</option>,  <option value="classKSharedPtr.html">ksharedptr</option>,  <option value="classKShellProcess.html">kshellprocess</option>,  <option value="classKShortcut.html">kshortcut</option>,  <option value="classKShortcutList.html">kshortcutlist</option>,  <option value="classKSimpleConfig.html">ksimpleconfig</option>,  <option value="classKSocket.html">ksocket</option>,  <option value="classKSocketAddress.html">ksocketaddress</option>,  <option value="classKSocks.html">ksocks</option>,  <option value="classKSortableItem.html">ksortableitem</option>,  <option value="classKSortableValueList.html">ksortablevaluelist</option>,  <option value="classKStandardDirs.html">kstandarddirs</option>,  <option value="classKStaticDeleter.html">kstaticdeleter</option>,  <option value="classKStaticDeleterBase.html">kstaticdeleterbase</option>,  <option value="classKStdAccel_1_1ShortcutList.html">kstdaccel::shortcutlist</option>,  <option value="classKStringHandler.html">kstringhandler</option>,  <option value="classKSycocaEntry.html">ksycocaentry</option>,  <option value="classKSycocaFactoryList.html">ksycocafactorylist</option>,  <option value="classKTempDir.html">ktempdir</option>,  <option value="classKTempFile.html">ktempfile</option>,  <option value="classKTimezone.html">ktimezone</option>,  <option value="classKTimezoneDetails.html">ktimezonedetails</option>,  <option value="classKTimezones.html">ktimezones</option>,  <option value="classKTimezoneSource.html">ktimezonesource</option>,  <option value="classKUniqueApplication.html">kuniqueapplication</option>,  <option value="classKUnixSocketAddress.html">kunixsocketaddress</option>,  <option value="classKURL.html">kurl</option>,  <option value="classKURL_1_1List.html">kurl::list</option>,  <option value="classKURLDrag.html">kurldrag</option>,  <option value="classKUser.html">kuser</option>,  <option value="classKUserGroup.html">kusergroup</option>,  <option value="classKVMAllocator.html">kvmallocator</option>,  <option value="classKWin.html">kwin</option>,  <option value="classKWin_1_1WindowInfo.html">kwin::windowinfo</option>,  <option value="classKWinModule.html">kwinmodule</option>,  <option value="classKWordMacroExpander.html">kwordmacroexpander</option>,  <option value="classKXErrorHandler.html">kxerrorhandler</option>,  <option value="classKZoneAllocator.html">kzoneallocator</option>,  <option value="classNET.html">net</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>