Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 433

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 16:59:13 CEST 2007 -->
<TITLE>
QCompleter
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.gui.QCompleter class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QCompleter";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QCompleter.CompletionMode.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QCompleter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QCompleter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.trolltech.qt.gui</FONT>
<BR>
Class QCompleter</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">com.trolltech.qt.core.QObject</A>
              <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QCompleter</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QCompleter</B><DT>extends <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></DL>
</PRE>

<P>
<p>The <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> class provides completions based on an item model.</p>
<p>You can use <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> to provide auto completions in any Qt widget, such as <a href="QLineEdit.html"><tt>QLineEdit</tt></a> and <a href="QComboBox.html"><tt>QComboBox</tt></a>. When the user starts typing a word, <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> suggests possible ways of completing the word, based on a word list. The word list is provided as a <a href="%2E%2E/core/QAbstractItemModel.html"><tt>QAbstractItemModel</tt></a>. (For simple applications, where the word list is static, you can pass a <a href="%2E%2E/porting4.html#qstringlist"><tt>QStringList</tt></a> to <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a>'s constructor.)</p>
<ul><li><a href="#basic-usage">Basic Usage</a></li>
<li><a href="#iterating-through-completions">Iterating Through Completions</a></li>
<li><a href="#the-completion-model">The Completion Model</a></li>
<li><a href="#handling-tree-models">Handling Tree Models</a></li>
</ul>
<a name="basic-usage"></a>
<h3>Basic Usage</h3>
<p>A <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> is used typically with a <a href="QLineEdit.html"><tt>QLineEdit</tt></a> or <a href="QComboBox.html"><tt>QComboBox</tt></a>. For example, here's how to provide auto completions from a simple word list in a <a href="QLineEdit.html"><tt>QLineEdit</tt></a>:</p>
<pre>    QStringList wordList;
    wordList &lt;&lt; &quot;alpha&quot; &lt;&lt; &quot;omega&quot; &lt;&lt; &quot;omicron&quot; &lt;&lt; &quot;zeta&quot;;

    QLineEdit *lineEdit = new QLineEdit(this);

    QCompleter *completer = new QCompleter(wordList, this);
    completer-&gt;setCaseSensitivity(Qt::CaseInsensitive);
    lineEdit-&gt;setCompleter(completer);</pre>
<p>A <a href="QDirModel.html"><tt>QDirModel</tt></a> can be used to provide auto completion of file names. For example:</p>
<pre>    QCompleter *completer = new QCompleter(this);
    completer-&gt;setModel(new QDirModel(completer));
    lineEdit-&gt;setCompleter(completer);</pre>
<p>To set the model on which <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> should operate, call <a href="QCompleter.html#setModel(com.trolltech.qt.core.QAbstractItemModel)"><tt>setModel</tt></a>. By default, <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> will attempt to match the <a href="QCompleter.html#completionPrefix()">completion prefix</tt></a> (i.e&#x2e;, the word that the user has started typing) against the Qt::EditRole data stored in column 0 in the model case sensitively. This can be changed using <a href="QCompleter.html#setCompletionRole(int)"><tt>setCompletionRole</tt></a>, <a href="QCompleter.html#setCompletionColumn(int)"><tt>setCompletionColumn</tt></a>, and <a href="QCompleter.html#setCaseSensitivity(com.trolltech.qt.core.Qt.CaseSensitivity)"><tt>setCaseSensitivity</tt></a>.</p>
<p>If the model is sorted on the column and role that are used for completion, you can call <a href="QCompleter.html#setModelSorting(com.trolltech.qt.gui.QCompleter.ModelSorting)"><tt>setModelSorting</tt></a> with either QCompleter::CaseSensitivelySortedModel or QCompleter::CaseInsensitivelySortedModel as the argument. On large models, this can lead to significant performance improvements, because <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> can then use binary search instead of linear search.</p>
<p>The model can be a <a href="%2E%2E/core/QAbstractListModel.html">list model</tt></a>, a <a href="QAbstractTableModel.html">table model</tt></a>, or a <a href="%2E%2E/core/QAbstractItemModel.html">tree model</tt></a>. Completion on tree models is slightly more involved and is covered in the <a href="QCompleter.html#handling-tree-models">Handling Tree Models</tt></a> section below.</p>
<p>The <a href="QCompleter.html#completionMode()"><tt>completionMode</tt></a> determines the mode used to provide completions to the user.</p>
<a name="iterating-through-completions"></a>
<h3>Iterating Through Completions</h3>
<p>To retrieve a single candidate string, call <a href="QCompleter.html#setCompletionPrefix(java.lang.String)"><tt>setCompletionPrefix</tt></a> with the text that needs to be completed and call <a href="QCompleter.html#currentCompletion()"><tt>currentCompletion</tt></a>. You can iterate through the list of completions as below:</p>
<pre>    for (int i = 0; completer-&gt;setCurrentRow(i); i++)
        qDebug() &lt;&lt; completer-&gt;currentCompletion() &lt;&lt; &quot; is match number &quot; &lt;&lt; i;</pre>
<p><a href="QCompleter.html#completionCount()"><tt>completionCount</tt></a> returns the total number of completions for the current prefix. <a href="QCompleter.html#completionCount()"><tt>completionCount</tt></a> should be avoided when possible, since it requires a scan of the entire model.</p>
<a name="the-completion-model"></a>
<h3>The Completion Model</h3>
<p><a href="QCompleter.html#completionModel()"><tt>completionModel</tt></a> return a list model that contains all possible completions for the current completion prefix, in the order in which they appear in the model. This model can be used to display the current completions in a custom view. Calling <a href="QCompleter.html#setCompletionPrefix(java.lang.String)"><tt>setCompletionPrefix</tt></a> automatically refreshes the completion model.</p>
<a name="handling-tree-models"></a>
<h3>Handling Tree Models</h3>
<p><a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> can look for completions in tree models, assuming that any item (or sub-item or sub-sub-item) can be unambiguously represented as a string by specifying the path to the item. The completion is then performed one level at a time.</p>
<p>Let's take the example of a user typing in a file system path. The model is a (hierarchical) <a href="QDirModel.html"><tt>QDirModel</tt></a>. The completion occurs for every element in the path. For example, if the current text is <tt>C:\Wind</tt>, <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> might suggest <tt>Windows</tt> to complete the current path element. Similarly, if the current text is <tt>C:\Windows\Sy</tt>, <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> might suggest <tt>System</tt>.</p>
<p>For this kind of completion to work, <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> needs to be able to split the path into a list of strings that are matched at each level. For <tt>C:\Windows\Sy</tt>, it needs to be split as &quot;C:&quot;, &quot;Windows&quot; and &quot;Sy&quot;. The default implementation of <a href="QCompleter.html#splitPath(java.lang.String)"><tt>splitPath</tt></a>, splits the <a href="QCompleter.html#completionPrefix()"><tt>completionPrefix</tt></a> using QDir::separator() if the model is a <a href="QDirModel.html"><tt>QDirModel</tt></a>.</p>
<p>To provide completions, <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> needs to know the path from an index. This is provided by <a href="QCompleter.html#pathFromIndex(com.trolltech.qt.core.QModelIndex)"><tt>pathFromIndex</tt></a>. The default implementation of <a href="QCompleter.html#pathFromIndex(com.trolltech.qt.core.QModelIndex)"><tt>pathFromIndex</tt></a>, returns the data for the <a href="QCompleter.html#completionRole()"><tt>completionRole</tt></a> for list models and the absolute file path if the mode is a <a href="QDirModel.html"><tt>QDirModel</tt></a>.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="%2E%2E/core/QAbstractItemModel.html"><tt>QAbstractItemModel</tt></a>, 
<a href="QLineEdit.html"><tt>QLineEdit</tt></a>, 
<a href="QComboBox.html"><tt>QComboBox</tt></a>, 
<CODE>Example</tt></CODE></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.CompletionMode.html" title="enum in com.trolltech.qt.gui">QCompleter.CompletionMode</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum specifies how completions are provided to the user.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.ModelSorting.html" title="enum in com.trolltech.qt.gui">QCompleter.ModelSorting</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum specifies how the items in the model are sorted.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#activated">activated</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is sent when an item in the <a href="QCompleter.html#popup()"><tt>popup</tt></a> is activated by the user (by clicking or pressing return).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#activatedIndex">activatedIndex</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is sent when an item in the <a href="QCompleter.html#popup()"><tt>popup</tt></a> is activated by the user.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#highlighted">highlighted</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is sent when an item in the <a href="QCompleter.html#popup()"><tt>popup</tt></a> is highlighted by the user.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#highlightedIndex">highlightedIndex</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is sent when an item in the <a href="QCompleter.html#popup()"><tt>popup</tt></a> is highlighted by the user.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#QCompleter()">QCompleter</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a>(0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#QCompleter(java.util.List)">QCompleter</A></B>(java.util.List&lt;java.lang.String&gt;&nbsp;completions)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a>(<tt>completions</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#QCompleter(java.util.List, com.trolltech.qt.core.QObject)">QCompleter</A></B>(java.util.List&lt;java.lang.String&gt;&nbsp;completions,
           <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> object with the given <tt>parent</tt> that uses the specified <tt>completions</tt> as a source of possible completions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel)">QCompleter</A></B>(<A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A>&nbsp;model)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a>(<tt>model</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)">QCompleter</A></B>(<A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A>&nbsp;model,
           <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a completer object with the given <tt>parent</tt> that provides completions from the specified <tt>model</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#QCompleter(com.trolltech.qt.core.QObject)">QCompleter</A></B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a completer object with the given <tt>parent</tt>.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.CaseSensitivity.html" title="enum in com.trolltech.qt.core">Qt.CaseSensitivity</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#caseSensitivity()">caseSensitivity</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the case sensitivity of the matching.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#complete()">complete</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QCompleter.html#complete(com.trolltech.qt.core.QRect)">complete</tt></a>(QRect()).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#complete(com.trolltech.qt.core.QRect)">complete</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For QCompleter::PopupCompletion and QCompletion::UnfilteredPopupCompletion modes, calling this function displays the popup displaying the current completions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#completionColumn()">completionColumn</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the column in the model in which completions are searched for..</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#completionCount()">completionCount</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of completions for the current prefix.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QCompleter.CompletionMode.html" title="enum in com.trolltech.qt.gui">QCompleter.CompletionMode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#completionMode()">completionMode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns how the completions are provided to the user.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#completionModel()">completionModel</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the completion model.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#completionPrefix()">completionPrefix</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the completion prefix used to provide completions..</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#completionRole()">completionRole</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the item role to be used to query the contents of items for matching..</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#currentCompletion()">currentCompletion</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current completion string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#currentIndex()">currentIndex</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the model index of the current completion in the <a href="QCompleter.html#completionModel()"><tt>completionModel</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#currentRow()">currentRow</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current row.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#event(com.trolltech.qt.core.QEvent)">event</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#eventFilter(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">eventFilter</A></B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;o,
            <A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;e)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QCompleter.html" title="class in com.trolltech.qt.gui">QCompleter</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QCompleter instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#model()">model</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the model that provides completion strings.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QCompleter.ModelSorting.html" title="enum in com.trolltech.qt.gui">QCompleter.ModelSorting</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#modelSorting()">modelSorting</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the way the model is sorted.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#pathFromIndex(com.trolltech.qt.core.QModelIndex)">pathFromIndex</A></B>(<A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the path for the given <tt>index</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QAbstractItemView.html" title="class in com.trolltech.qt.gui">QAbstractItemView</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#popup()">popup</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the popup used to display completions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#setCaseSensitivity(com.trolltech.qt.core.Qt.CaseSensitivity)">setCaseSensitivity</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.CaseSensitivity.html" title="enum in com.trolltech.qt.core">Qt.CaseSensitivity</A>&nbsp;caseSensitivity)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the case sensitivity of the matching to <tt>caseSensitivity</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#setCompletionColumn(int)">setCompletionColumn</A></B>(int&nbsp;column)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the column in the model in which completions are searched for.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#setCompletionMode(com.trolltech.qt.gui.QCompleter.CompletionMode)">setCompletionMode</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QCompleter.CompletionMode.html" title="enum in com.trolltech.qt.gui">QCompleter.CompletionMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets how the completions are provided to the user to <tt>mode</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#setCompletionPrefix(java.lang.String)">setCompletionPrefix</A></B>(java.lang.String&nbsp;prefix)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the completion prefix used to provide completions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#setCompletionRole(int)">setCompletionRole</A></B>(int&nbsp;role)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the item role to be used to query the contents of items for matching.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#setCurrentRow(int)">setCurrentRow</A></B>(int&nbsp;row)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the current row to the <tt>row</tt> specified.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#setModel(com.trolltech.qt.core.QAbstractItemModel)">setModel</A></B>(<A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the model which provides completions to <tt>c</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#setModelSorting(com.trolltech.qt.gui.QCompleter.ModelSorting)">setModelSorting</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QCompleter.ModelSorting.html" title="enum in com.trolltech.qt.gui">QCompleter.ModelSorting</A>&nbsp;sorting)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the way the model is sorted to <tt>sorting</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#setPopup(com.trolltech.qt.gui.QAbstractItemView)">setPopup</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QAbstractItemView.html" title="class in com.trolltech.qt.gui">QAbstractItemView</A>&nbsp;popup)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the popup used to display completions to <tt>popup</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#setWidget(com.trolltech.qt.gui.QWidget)">setWidget</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the widget for which completion are provided for to <tt>widget</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#setWrapAround(boolean)">setWrapAround</A></B>(boolean&nbsp;wrap)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the completions wrap around when navigating through items to <tt>wrap</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#splitPath(java.lang.String)">splitPath</A></B>(java.lang.String&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Splits the given <tt>path</tt> into strings that are used to match at each level in the <a href="QCompleter.html#model()"><tt>model</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#widget()">widget</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget for which the completer object is providing completions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QCompleter.html#wrapAround()">wrapAround</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the completions wrap around when navigating through items.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.core.QObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.core.<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#childEvent(com.trolltech.qt.core.QChildEvent)">childEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#children()">children</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#connectSlotsByName()">connectSlotsByName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#customEvent(com.trolltech.qt.core.QEvent)">customEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#disposeLater()">disposeLater</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectInfo()">dumpObjectInfo</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectTree()">dumpObjectTree</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dynamicPropertyNames()">dynamicPropertyNames</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild()">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class, java.lang.String)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren()">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, com.trolltech.qt.core.QRegExp)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, java.lang.String)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#installEventFilter(com.trolltech.qt.core.QObject)">installEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#isWidgetType()">isWidgetType</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#killTimer(int)">killTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#moveToThread(java.lang.Thread)">moveToThread</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#objectName()">objectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#parent()">parent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#property(java.lang.String)">property</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#removeEventFilter(com.trolltech.qt.core.QObject)">removeEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setObjectName(java.lang.String)">setObjectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setParent(com.trolltech.qt.core.QObject)">setParent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#startTimer(int)">startTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#thread()">thread</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#timerEvent(com.trolltech.qt.core.QTimerEvent)">timerEvent</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="activatedIndex"><!-- --></A><H3>
activatedIndex</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&gt; <B>activatedIndex</B></PRE>
<DL>
<DD><p>This signal is sent when an item in the <a href="QCompleter.html#popup()"><tt>popup</tt></a> is activated by the user. (by clicking or pressing return). The item's <tt>index</tt> in the <a href="QCompleter.html#completionModel()"><tt>completionModel</tt></a> is given.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(com.trolltech.qt.core.QModelIndex index)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="activated"><!-- --></A><H3>
activated</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.lang.String&gt; <B>activated</B></PRE>
<DL>
<DD><p>This signal is sent when an item in the <a href="QCompleter.html#popup()"><tt>popup</tt></a> is activated by the user (by clicking or pressing return). The item's <tt>text</tt> is given.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(java.lang.String text)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="highlighted"><!-- --></A><H3>
highlighted</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.lang.String&gt; <B>highlighted</B></PRE>
<DL>
<DD><p>This signal is sent when an item in the <a href="QCompleter.html#popup()"><tt>popup</tt></a> is highlighted by the user. It is also sent if <a href="QCompleter.html#complete(com.trolltech.qt.core.QRect)"><tt>complete</tt></a> is called with the <a href="QCompleter.html#completionMode()"><tt>completionMode</tt></a> set to QCOmpleter::InlineCompletion. The item's <tt>text</tt> is given.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(java.lang.String text)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="highlightedIndex"><!-- --></A><H3>
highlightedIndex</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&gt; <B>highlightedIndex</B></PRE>
<DL>
<DD><p>This signal is sent when an item in the <a href="QCompleter.html#popup()"><tt>popup</tt></a> is highlighted by the user. It is also sent if <a href="QCompleter.html#complete(com.trolltech.qt.core.QRect)"><tt>complete</tt></a> is called with the <a href="QCompleter.html#completionMode()"><tt>completionMode</tt></a> set to QCompleter::InlineCompletion. The item's <tt>index</tt> in the <a href="QCompleter.html#completionModel()"><tt>completionModel</tt></a> is given.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(com.trolltech.qt.core.QModelIndex index)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="QCompleter()"><!-- --></A><H3>
QCompleter</H3>
<PRE>
public <B>QCompleter</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a>(0).
<P>
</DL>
<HR>

<A NAME="QCompleter(com.trolltech.qt.core.QObject)"><!-- --></A><H3>
QCompleter</H3>
<PRE>
public <B>QCompleter</B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</PRE>
<DL>
<DD><p>Constructs a completer object with the given <tt>parent</tt>.</p>
<P>
</DL>
<HR>

<A NAME="QCompleter(com.trolltech.qt.core.QAbstractItemModel)"><!-- --></A><H3>
QCompleter</H3>
<PRE>
public <B>QCompleter</B>(<A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A>&nbsp;model)</PRE>
<DL>
<DD><p>Equivalent to <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a>(<tt>model</tt>, 0).
<P>
</DL>
<HR>

<A NAME="QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><!-- --></A><H3>
QCompleter</H3>
<PRE>
public <B>QCompleter</B>(<A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A>&nbsp;model,
                  <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</PRE>
<DL>
<DD><p>Constructs a completer object with the given <tt>parent</tt> that provides completions from the specified <tt>model</tt>.</p>
<P>
</DL>
<HR>

<A NAME="QCompleter(java.util.List)"><!-- --></A><H3>
QCompleter</H3>
<PRE>
public <B>QCompleter</B>(java.util.List&lt;java.lang.String&gt;&nbsp;completions)</PRE>
<DL>
<DD><p>Equivalent to <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a>(<tt>completions</tt>, 0).
<P>
</DL>
<HR>

<A NAME="QCompleter(java.util.List, com.trolltech.qt.core.QObject)"><!-- --></A><H3>
QCompleter</H3>
<PRE>
public <B>QCompleter</B>(java.util.List&lt;java.lang.String&gt;&nbsp;completions,
                  <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</PRE>
<DL>
<DD><p>Constructs a <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> object with the given <tt>parent</tt> that uses the specified <tt>completions</tt> as a source of possible completions.</p>
<P>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="caseSensitivity()"><!-- --></A><H3>
caseSensitivity</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/Qt.CaseSensitivity.html" title="enum in com.trolltech.qt.core">Qt.CaseSensitivity</A> <B>caseSensitivity</B>()</PRE>
<DL>
<DD><p>Returns the case sensitivity of the matching.</p>
<p>The default is Qt::CaseSensitive.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#setCaseSensitivity(com.trolltech.qt.core.Qt.CaseSensitivity)"><tt>setCaseSensitivity</tt></a>, 
<a href="QCompleter.html#completionColumn()"><tt>completionColumn</tt></a>, 
<a href="QCompleter.html#completionRole()"><tt>completionRole</tt></a>, 
<a href="QCompleter.html#modelSorting()"><tt>modelSorting</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="complete()"><!-- --></A><H3>
complete</H3>
<PRE>
public final void <B>complete</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QCompleter.html#complete(com.trolltech.qt.core.QRect)">complete</tt></a>(QRect()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="complete(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
complete</H3>
<PRE>
public final void <B>complete</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect)</PRE>
<DL>
<DD><p>For QCompleter::PopupCompletion and QCompletion::UnfilteredPopupCompletion modes, calling this function displays the popup displaying the current completions. By default, if <tt>rect</tt> is not specified, the popup is displayed on the bottom of the <a href="QCompleter.html#widget()"><tt>widget</tt></a>. If <tt>rect</tt> is specified the popup is displayed on the left edge of the rectangle.</p>
<p>For QCompleter::InlineCompletion mode, the <a href="QCompleter.html#highlighted(java.lang.String)"><tt>highlighted</tt></a> signal is fired with the current completion.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="completionColumn()"><!-- --></A><H3>
completionColumn</H3>
<PRE>
public final int <B>completionColumn</B>()</PRE>
<DL>
<DD><p>Returns the column in the model in which completions are searched for..</p>
<p>If the <a href="QCompleter.html#popup()"><tt>popup</tt></a> is a <a href="QListView.html"><tt>QListView</tt></a>, it is automatically setup to display this column.</p>
<p>By default, the match column is 0.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#setCompletionColumn(int)"><tt>setCompletionColumn</tt></a>, 
<a href="QCompleter.html#completionRole()"><tt>completionRole</tt></a>, 
<a href="QCompleter.html#caseSensitivity()"><tt>caseSensitivity</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="completionCount()"><!-- --></A><H3>
completionCount</H3>
<PRE>
public final int <B>completionCount</B>()</PRE>
<DL>
<DD><p>Returns the number of completions for the current prefix. For an unsorted model with a large number of items this can be expensive. Use <a href="QCompleter.html#setCurrentRow(int)"><tt>setCurrentRow</tt></a> and <a href="QCompleter.html#currentCompletion()"><tt>currentCompletion</tt></a> to iterate through all the completions.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="completionMode()"><!-- --></A><H3>
completionMode</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QCompleter.CompletionMode.html" title="enum in com.trolltech.qt.gui">QCompleter.CompletionMode</A> <B>completionMode</B>()</PRE>
<DL>
<DD><p>Returns how the completions are provided to the user.</p>
<p>The default value is QCompleter::PopupCompletion.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#setCompletionMode(com.trolltech.qt.gui.QCompleter.CompletionMode)"><tt>setCompletionMode</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="completionModel()"><!-- --></A><H3>
completionModel</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A> <B>completionModel</B>()</PRE>
<DL>
<DD><p>Returns the completion model. The completion model is a read-only list model that contains all the possible matches for the current completion prefix. The completion model is auto-updated to reflect the current completions.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#completionPrefix()"><tt>completionPrefix</tt></a>, 
<a href="QCompleter.html#model()"><tt>model</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="completionPrefix()"><!-- --></A><H3>
completionPrefix</H3>
<PRE>
public final java.lang.String <B>completionPrefix</B>()</PRE>
<DL>
<DD><p>Returns the completion prefix used to provide completions..</p>
<p>The <a href="QCompleter.html#completionModel()"><tt>completionModel</tt></a> is updated to reflect the list of possible matches for <tt>prefix</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#setCompletionPrefix(java.lang.String)"><tt>setCompletionPrefix</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="completionRole()"><!-- --></A><H3>
completionRole</H3>
<PRE>
public final int <B>completionRole</B>()</PRE>
<DL>
<DD><p>Returns the item role to be used to query the contents of items for matching..</p>
<p>The default role is Qt::EditRole.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#setCompletionRole(int)"><tt>setCompletionRole</tt></a>, 
<a href="QCompleter.html#completionColumn()"><tt>completionColumn</tt></a>, 
<a href="QCompleter.html#caseSensitivity()"><tt>caseSensitivity</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="currentCompletion()"><!-- --></A><H3>
currentCompletion</H3>
<PRE>
public final java.lang.String <B>currentCompletion</B>()</PRE>
<DL>
<DD><p>Returns the current completion string. This includes the <a href="QCompleter.html#completionPrefix()"><tt>completionPrefix</tt></a>. When used alongside <a href="QCompleter.html#setCurrentRow(int)"><tt>setCurrentRow</tt></a>, it can be used to iterate through all the matches.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#setCurrentRow(int)"><tt>setCurrentRow</tt></a>, 
<a href="QCompleter.html#currentIndex()"><tt>currentIndex</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="currentIndex()"><!-- --></A><H3>
currentIndex</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A> <B>currentIndex</B>()</PRE>
<DL>
<DD><p>Returns the model index of the current completion in the <a href="QCompleter.html#completionModel()"><tt>completionModel</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#setCurrentRow(int)"><tt>setCurrentRow</tt></a>, 
<a href="QCompleter.html#currentCompletion()"><tt>currentCompletion</tt></a>, 
<a href="QCompleter.html#model()"><tt>model</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="currentRow()"><!-- --></A><H3>
currentRow</H3>
<PRE>
public final int <B>currentRow</B>()</PRE>
<DL>
<DD><p>Returns the current row.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#setCurrentRow(int)"><tt>setCurrentRow</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="model()"><!-- --></A><H3>
model</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A> <B>model</B>()</PRE>
<DL>
<DD><p>Returns the model that provides completion strings.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#setModel(com.trolltech.qt.core.QAbstractItemModel)"><tt>setModel</tt></a>, 
<a href="QCompleter.html#completionModel()"><tt>completionModel</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="modelSorting()"><!-- --></A><H3>
modelSorting</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QCompleter.ModelSorting.html" title="enum in com.trolltech.qt.gui">QCompleter.ModelSorting</A> <B>modelSorting</B>()</PRE>
<DL>
<DD><p>Returns the way the model is sorted.</p>
<p>By default, no assumptions are made about the order of the items in the model that provides the completions.</p>
<p>If the model's data for the <a href="QCompleter.html#completionColumn()"><tt>completionColumn</tt></a> and <a href="QCompleter.html#completionRole()"><tt>completionRole</tt></a> is sorted in ascending order, you can set this property to <a href="QCompleter.html#ModelSorting-enum"><tt>CaseSensitivelySortedModel</tt></a> or <a href="QCompleter.html#ModelSorting-enum"><tt>CaseInsensitivelySortedModel</tt></a>. On large models, this can lead to significant performance improvements because the completer object can then use a binary search algorithm instead of linear search algorithm.</p>
<p>The sort order (i.e ascending or descending order) of the model is determined dynamically by inspecting the contents of the model.</p>
<p><b>Note:</b> The performance improvements described above cannot take place when the completer's <a href="QCompleter.html#caseSensitivity()"><tt>caseSensitivity</tt></a> is different to the case sensitivity used by the model's when sorting.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#setModelSorting(com.trolltech.qt.gui.QCompleter.ModelSorting)"><tt>setModelSorting</tt></a>, 
<a href="QCompleter.html#setCaseSensitivity(com.trolltech.qt.core.Qt.CaseSensitivity)"><tt>setCaseSensitivity</tt></a>, 
<tt>QCompleter::ModelSorting</tt></DL>
</DD>
</DL>
<HR>

<A NAME="popup()"><!-- --></A><H3>
popup</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QAbstractItemView.html" title="class in com.trolltech.qt.gui">QAbstractItemView</A> <B>popup</B>()</PRE>
<DL>
<DD><p>Returns the popup used to display completions.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#setPopup(com.trolltech.qt.gui.QAbstractItemView)"><tt>setPopup</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setCaseSensitivity(com.trolltech.qt.core.Qt.CaseSensitivity)"><!-- --></A><H3>
setCaseSensitivity</H3>
<PRE>
public final void <B>setCaseSensitivity</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.CaseSensitivity.html" title="enum in com.trolltech.qt.core">Qt.CaseSensitivity</A>&nbsp;caseSensitivity)</PRE>
<DL>
<DD><p>Sets the case sensitivity of the matching to <tt>caseSensitivity</tt>.</p>
<p>The default is Qt::CaseSensitive.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#caseSensitivity()"><tt>caseSensitivity</tt></a>, 
<a href="QCompleter.html#completionColumn()"><tt>completionColumn</tt></a>, 
<a href="QCompleter.html#completionRole()"><tt>completionRole</tt></a>, 
<a href="QCompleter.html#modelSorting()"><tt>modelSorting</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setCompletionColumn(int)"><!-- --></A><H3>
setCompletionColumn</H3>
<PRE>
public final void <B>setCompletionColumn</B>(int&nbsp;column)</PRE>
<DL>
<DD><p>Sets the column in the model in which completions are searched for. to <tt>column</tt>.</p>
<p>If the <a href="QCompleter.html#popup()"><tt>popup</tt></a> is a <a href="QListView.html"><tt>QListView</tt></a>, it is automatically setup to display this column.</p>
<p>By default, the match column is 0.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#completionColumn()"><tt>completionColumn</tt></a>, 
<a href="QCompleter.html#completionRole()"><tt>completionRole</tt></a>, 
<a href="QCompleter.html#caseSensitivity()"><tt>caseSensitivity</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setCompletionMode(com.trolltech.qt.gui.QCompleter.CompletionMode)"><!-- --></A><H3>
setCompletionMode</H3>
<PRE>
public final void <B>setCompletionMode</B>(<A HREF="../../../../com/trolltech/qt/gui/QCompleter.CompletionMode.html" title="enum in com.trolltech.qt.gui">QCompleter.CompletionMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Sets how the completions are provided to the user to <tt>mode</tt>.</p>
<p>The default value is QCompleter::PopupCompletion.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#completionMode()"><tt>completionMode</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setCompletionPrefix(java.lang.String)"><!-- --></A><H3>
setCompletionPrefix</H3>
<PRE>
public final void <B>setCompletionPrefix</B>(java.lang.String&nbsp;prefix)</PRE>
<DL>
<DD><p>Sets the completion prefix used to provide completions. to <tt>prefix</tt>.</p>
<p>The <a href="QCompleter.html#completionModel()"><tt>completionModel</tt></a> is updated to reflect the list of possible matches for <tt>prefix</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#completionPrefix()"><tt>completionPrefix</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setCompletionRole(int)"><!-- --></A><H3>
setCompletionRole</H3>
<PRE>
public final void <B>setCompletionRole</B>(int&nbsp;role)</PRE>
<DL>
<DD><p>Sets the item role to be used to query the contents of items for matching. to <tt>role</tt>.</p>
<p>The default role is Qt::EditRole.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#completionRole()"><tt>completionRole</tt></a>, 
<a href="QCompleter.html#completionColumn()"><tt>completionColumn</tt></a>, 
<a href="QCompleter.html#caseSensitivity()"><tt>caseSensitivity</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setCurrentRow(int)"><!-- --></A><H3>
setCurrentRow</H3>
<PRE>
public final boolean <B>setCurrentRow</B>(int&nbsp;row)</PRE>
<DL>
<DD><p>Sets the current row to the <tt>row</tt> specified. Returns true if successful; otherwise returns false.</p>
<p>This function may be used along with <a href="QCompleter.html#currentCompletion()"><tt>currentCompletion</tt></a> to iterate through all the possible completions.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#currentRow()"><tt>currentRow</tt></a>, 
<a href="QCompleter.html#currentCompletion()"><tt>currentCompletion</tt></a>, 
<a href="QCompleter.html#completionCount()"><tt>completionCount</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setModel(com.trolltech.qt.core.QAbstractItemModel)"><!-- --></A><H3>
setModel</H3>
<PRE>
public final void <B>setModel</B>(<A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A>&nbsp;c)</PRE>
<DL>
<DD><p>Sets the model which provides completions to <tt>c</tt>. The <tt>c</tt> can be list model or a tree model. If a model has been already previously set and it has the <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> as its parent, it is deleted.</p>
<p>For convenience, if <tt>c</tt> is a <a href="QDirModel.html"><tt>QDirModel</tt></a>, <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> switches its <a href="QCompleter.html#caseSensitivity()"><tt>caseSensitivity</tt></a> to Qt::CaseInsensitive on Windows and Qt::CaseSensitive on other platforms.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#completionModel()"><tt>completionModel</tt></a>, 
<a href="QCompleter.html#modelSorting()"><tt>modelSorting</tt></a>, 
<a href="QCompleter.html#handling-tree-models">Handling Tree Models</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setModelSorting(com.trolltech.qt.gui.QCompleter.ModelSorting)"><!-- --></A><H3>
setModelSorting</H3>
<PRE>
public final void <B>setModelSorting</B>(<A HREF="../../../../com/trolltech/qt/gui/QCompleter.ModelSorting.html" title="enum in com.trolltech.qt.gui">QCompleter.ModelSorting</A>&nbsp;sorting)</PRE>
<DL>
<DD><p>Sets the way the model is sorted to <tt>sorting</tt>.</p>
<p>By default, no assumptions are made about the order of the items in the model that provides the completions.</p>
<p>If the model's data for the <a href="QCompleter.html#completionColumn()"><tt>completionColumn</tt></a> and <a href="QCompleter.html#completionRole()"><tt>completionRole</tt></a> is sorted in ascending order, you can set this property to <a href="QCompleter.html#ModelSorting-enum"><tt>CaseSensitivelySortedModel</tt></a> or <a href="QCompleter.html#ModelSorting-enum"><tt>CaseInsensitivelySortedModel</tt></a>. On large models, this can lead to significant performance improvements because the completer object can then use a binary search algorithm instead of linear search algorithm.</p>
<p>The sort order (i.e ascending or descending order) of the model is determined dynamically by inspecting the contents of the model.</p>
<p><b>Note:</b> The performance improvements described above cannot take place when the completer's <a href="QCompleter.html#caseSensitivity()"><tt>caseSensitivity</tt></a> is different to the case sensitivity used by the model's when sorting.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#modelSorting()"><tt>modelSorting</tt></a>, 
<a href="QCompleter.html#setCaseSensitivity(com.trolltech.qt.core.Qt.CaseSensitivity)"><tt>setCaseSensitivity</tt></a>, 
<tt>QCompleter::ModelSorting</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setPopup(com.trolltech.qt.gui.QAbstractItemView)"><!-- --></A><H3>
setPopup</H3>
<PRE>
public final void <B>setPopup</B>(<A HREF="../../../../com/trolltech/qt/gui/QAbstractItemView.html" title="class in com.trolltech.qt.gui">QAbstractItemView</A>&nbsp;popup)</PRE>
<DL>
<DD><p>Sets the popup used to display completions to <tt>popup</tt>. <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> takes ownership of the view.</p>
<p>A <a href="QListView.html"><tt>QListView</tt></a> is automatically created when the <a href="QCompleter.html#completionMode()"><tt>completionMode</tt></a> is set to QCompleter::PopupCompletion or QCompleter::UnfilteredPopupCompletion. The default popup displays the <a href="QCompleter.html#completionColumn()"><tt>completionColumn</tt></a>.</p>
<p>Ensure that this function is called before the view settings are modified. This is required since view's properties may require that a model has been set on the view (for example, hiding columns in the view requires a model to be set on the view).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#popup()"><tt>popup</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWidget(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
setWidget</H3>
<PRE>
public final void <B>setWidget</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD><p>Sets the widget for which completion are provided for to <tt>widget</tt>. This function is automatically called when a <a href="QCompleter.html#QCompleter(com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QObject)"><tt>QCompleter</tt></a> is set on a <a href="QLineEdit.html"><tt>QLineEdit</tt></a> using QLineEdit::setCompleter() or on a <a href="QComboBox.html"><tt>QComboBox</tt></a> using QComboBox::setCompleter(). The widget needs to be set explicitly when providing completions for custom widgets.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#widget()"><tt>widget</tt></a>, 
<a href="QCompleter.html#setModel(com.trolltech.qt.core.QAbstractItemModel)"><tt>setModel</tt></a>, 
<a href="QCompleter.html#setPopup(com.trolltech.qt.gui.QAbstractItemView)"><tt>setPopup</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWrapAround(boolean)"><!-- --></A><H3>
setWrapAround</H3>
<PRE>
public final void <B>setWrapAround</B>(boolean&nbsp;wrap)</PRE>
<DL>
<DD><p>Sets the completions wrap around when navigating through items to <tt>wrap</tt>.</p>
<p>The default is true.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#wrapAround()"><tt>wrapAround</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="widget()"><!-- --></A><H3>
widget</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>widget</B>()</PRE>
<DL>
<DD><p>Returns the widget for which the completer object is providing completions.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#setWidget(com.trolltech.qt.gui.QWidget)"><tt>setWidget</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="wrapAround()"><!-- --></A><H3>
wrapAround</H3>
<PRE>
public final boolean <B>wrapAround</B>()</PRE>
<DL>
<DD><p>Returns the completions wrap around when navigating through items.</p>
<p>The default is true.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#setWrapAround(boolean)"><tt>setWrapAround</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="event(com.trolltech.qt.core.QEvent)"><!-- --></A><H3>
event</H3>
<PRE>
public boolean <B>event</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#event(com.trolltech.qt.core.QEvent)">event</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QObject.html#installEventFilter(com.trolltech.qt.core.QObject)"><tt>installEventFilter</tt></a>, 
<a href="QObject.html#timerEvent(com.trolltech.qt.core.QTimerEvent)"><tt>timerEvent</tt></a>, 
<tt>QApplication::sendEvent</tt>, 
<tt>QApplication::postEvent</tt>, 
<tt>QWidget::event</tt></DL>
</DD>
</DL>
<HR>

<A NAME="eventFilter(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)"><!-- --></A><H3>
eventFilter</H3>
<PRE>
public boolean <B>eventFilter</B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;o,
                           <A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;e)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#eventFilter(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">eventFilter</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QObject.html#installEventFilter(com.trolltech.qt.core.QObject)"><tt>installEventFilter</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="pathFromIndex(com.trolltech.qt.core.QModelIndex)"><!-- --></A><H3>
pathFromIndex</H3>
<PRE>
public java.lang.String <B>pathFromIndex</B>(<A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</PRE>
<DL>
<DD><p>Returns the path for the given <tt>index</tt>. The completer object uses this to obtain the completion text from the underlying model.</p>
<p>The default implementation returns the edit role</tt> of the item for list models. It returns the absolute file path if the model is a <a href="QDirModel.html"><tt>QDirModel</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#splitPath(java.lang.String)"><tt>splitPath</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="splitPath(java.lang.String)"><!-- --></A><H3>
splitPath</H3>
<PRE>
public java.util.List&lt;java.lang.String&gt; <B>splitPath</B>(java.lang.String&nbsp;path)</PRE>
<DL>
<DD><p>Splits the given <tt>path</tt> into strings that are used to match at each level in the <a href="QCompleter.html#model()"><tt>model</tt></a>.</p>
<p>The default implementation of <a href="QCompleter.html#splitPath(java.lang.String)"><tt>splitPath</tt></a> splits a file system path based on QDir::separator() when the sourceModel() is a <a href="QDirModel.html"><tt>QDirModel</tt></a>.</p>
<p>When used with list models, the first item in the returned list is used for matching.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QCompleter.html#pathFromIndex(com.trolltech.qt.core.QModelIndex)"><tt>pathFromIndex</tt></a>, 
<a href="QCompleter.html#handling-tree-models">Handling Tree Models</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QCompleter.html" title="class in com.trolltech.qt.gui">QCompleter</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QCompleter instance pointed to by nativePointer
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QCommonStyle.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QCompleter.CompletionMode.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QCompleter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QCompleter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>