Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2210

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

<class name="QSqlIndex" doc="/**
&lt;p&gt;The &lt;a href=&quot;QSqlIndex.html#QSqlIndex(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;QSqlIndex&lt;/tt&gt;&lt;/a&gt; class provides functions to manipulate and describe database indexes.&lt;/p&gt;
&lt;p&gt;An &lt;i&gt;index&lt;/i&gt; refers to a single table or view in a database. Information about the fields that comprise the index can be used to generate SQL statements, or to affect the behavior of a &lt;a href=&quot;%2E%2E/porting4.html#qsqlcursor&quot;&gt;&lt;tt&gt;QSqlCursor&lt;/tt&gt;&lt;/a&gt; object.&lt;/p&gt;
 */">
    <method name="public QSqlIndex(com.trolltech.qt.sql.QSqlIndex other)" doc="/**
&lt;p&gt;Constructs a copy of &lt;tt&gt;other&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QSqlIndex(java.lang.String cursorName, java.lang.String name)" doc="/**
&lt;p&gt;Constructs an empty index using the cursor name &lt;tt&gt;cursorName&lt;/tt&gt; and index name &lt;tt&gt;name&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QSqlIndex(java.lang.String cursorName)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QSqlIndex.html#QSqlIndex(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;QSqlIndex&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;cursorName&lt;/tt&gt;, QString()). */"/>
    <method name="public QSqlIndex()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QSqlIndex.html#QSqlIndex(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;QSqlIndex&lt;/tt&gt;&lt;/a&gt;(QString(), QString()). */"/>
    <method name="public final void append(com.trolltech.qt.sql.QSqlField field)" doc="/**
&lt;p&gt;Appends the field &lt;tt&gt;field&lt;/tt&gt; to the list of indexed fields. The field is appended with an ascending sort order.&lt;/p&gt;
 */"/>
    <method name="public final void append(com.trolltech.qt.sql.QSqlField field, boolean desc)" doc="/**
&lt;p&gt;Appends the field &lt;tt&gt;field&lt;/tt&gt; to the list of indexed fields. The field is appended with an ascending sort order, unless &lt;tt&gt;desc&lt;/tt&gt; is true.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.String cursorName()" doc="/**
&lt;p&gt;Returns the name of the cursor which the index is associated with.&lt;/p&gt;

@see &lt;a href=&quot;QSqlIndex.html#setCursorName(java.lang.String)&quot;&gt;&lt;tt&gt;setCursorName&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isDescending(int i)" doc="/**
&lt;p&gt;Returns true if field &lt;tt&gt;i&lt;/tt&gt; in the index is sorted in descending order; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.String name()" doc="/**
&lt;p&gt;Returns the name of the index.&lt;/p&gt;

@see &lt;a href=&quot;QSqlIndex.html#setName(java.lang.String)&quot;&gt;&lt;tt&gt;setName&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCursorName(java.lang.String cursorName)" doc="/**
&lt;p&gt;Sets the name of the cursor that the index is associated with to &lt;tt&gt;cursorName&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QSqlIndex.html#cursorName()&quot;&gt;&lt;tt&gt;cursorName&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDescending(int i, boolean desc)" doc="/**
&lt;p&gt;If &lt;tt&gt;desc&lt;/tt&gt; is true, field &lt;tt&gt;i&lt;/tt&gt; is sorted in descending order. Otherwise, field &lt;tt&gt;i&lt;/tt&gt; is sorted in ascending order (the default). If the field does not exist, nothing happens.&lt;/p&gt;

@see &lt;a href=&quot;QSqlIndex.html#isDescending(int)&quot;&gt;&lt;tt&gt;isDescending&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setName(java.lang.String name)" doc="/**
&lt;p&gt;Sets the name of the index to &lt;tt&gt;name&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QSqlIndex.html#name()&quot;&gt;&lt;tt&gt;name&lt;/tt&gt;&lt;/a&gt; */"/>
</class>