Sophie

Sophie

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

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 17:07:13 CEST 2007 -->
<TITLE>
QSqlQuery
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.sql.QSqlQuery class">

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

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QSqlQuery";
}
</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/sql/QSqlIndex.html" title="class in com.trolltech.qt.sql"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.BatchExecutionMode.html" title="enum in com.trolltech.qt.sql"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/sql/QSqlQuery.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QSqlQuery.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;FIELD&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;FIELD&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.sql</FONT>
<BR>
Class QSqlQuery</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 "><B>com.trolltech.qt.sql.QSqlQuery</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>QSqlQuery</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></DL>
</PRE>

<P>
<p>The <a href="QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlDatabase)"><tt>QSqlQuery</tt></a> class provides a means of executing and manipulating SQL statements.</p>
<p><a href="QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlDatabase)"><tt>QSqlQuery</tt></a> encapsulates the functionality involved in creating, navigating and retrieving data from SQL queries which are executed on a <a href="QSqlDatabase.html"><tt>QSqlDatabase</tt></a>. It can be used to execute DML (data manipulation language) statements, such as <tt>SELECT</tt>, <tt>INSERT</tt>, <tt>UPDATE</tt> and <tt>DELETE</tt>, as well as DDL (data definition language) statements, such as <tt>CREATE</tt> <tt>TABLE</tt>. It can also be used to execute database-specific commands which are not standard SQL (e.g&#x2e; <tt>SET DATESTYLE=ISO</tt> for PostgreSQL).</p>
<p>Successfully executed SQL statements set the query's state to active; <a href="QSqlQuery.html#isActive()"><tt>isActive</tt></a> then returns true. Otherwise the query's state is set to inactive. In either case, when executing a new SQL statement, the query is positioned on an invalid record; an active query must be navigated to a valid record (so that <a href="QSqlQuery.html#isValid()"><tt>isValid</tt></a> returns true) before values can be retrieved.</p>
<a name="qsqlquery-examples"></a><p>Navigating records is performed with the following functions:</p>
<ul>
<li><a href="QSqlQuery.html#next()"><tt>next</tt></a></li>
<li><a href="QSqlQuery.html#previous()"><tt>previous</tt></a></li>
<li><a href="QSqlQuery.html#first()"><tt>first</tt></a></li>
<li><a href="QSqlQuery.html#last()"><tt>last</tt></a></li>
<li><a href="QSqlQuery.html#seek(int, boolean)"><tt>seek</tt></a></li>
</ul>
<p>These functions allow the programmer to move forward, backward or arbitrarily through the records returned by the query. If you only need to move forward through the results (e.g&#x2e;, by using <a href="QSqlQuery.html#next()"><tt>next</tt></a>), you can use <a href="QSqlQuery.html#setForwardOnly(boolean)"><tt>setForwardOnly</tt></a>, which will save a significant amount of memory overhead and improve performance on some databases. Once an active query is positioned on a valid record, data can be retrieved using <a href="QSqlQuery.html#value(int)"><tt>value</tt></a>. All data is transferred from the SQL backend using QVariants.</p>
<p>For example:</p>
<pre>        QSqlQuery query(&quot;SELECT country FROM artist&quot;);
        while (query.next()) {
            QString country = query.value(0).toString();
            doSomething(country);
        }</pre>
<p>To access the data returned by a query, use value(int). Each field in the data returned by a <tt>SELECT</tt> statement is accessed by passing the field's position in the statement, starting from 0. This makes using <tt>SELECT *</tt> queries inadvisable because the order of the fields returned is indeterminate.</p>
<p>For the sake of efficiency, there are no functions to access a field by name (unless you use prepared queries with names, as explained below). To convert a field name into an index, use <a href="QSqlQuery.html#record()"><tt>record</tt></a>.indexOf(), for example:</p>
<pre>        QSqlQuery query(&quot;SELECT * FROM artist&quot;);
        int fieldNo = query.record().indexOf(&quot;country&quot;);
        while (query.next()) {
            QString country = query.value(fieldNo).toString();
            doSomething(country);
        }</pre>
<p><a href="QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlDatabase)"><tt>QSqlQuery</tt></a> supports prepared query execution and the binding of parameter values to placeholders. Some databases don't support these features, so for those, Qt emulates the required functionality. For example, the Oracle and ODBC drivers have proper prepared query support, and Qt makes use of it; but for databases that don't have this support, Qt implements the feature itself, e.g&#x2e; by replacing placeholders with actual values when a query is executed. Use <a href="QSqlQuery.html#numRowsAffected()"><tt>numRowsAffected</tt></a> to find out how many rows were affected by a non-<tt>SELECT</tt> query, and <a href="QSqlQuery.html#size()"><tt>size</tt></a> to find how many were retrieved by a <tt>SELECT</tt>.</p>
<p>Oracle databases identify placeholders by using a colon-name syntax, e.g <tt>:name</tt>. ODBC simply uses <tt>?</tt> characters. Qt supports both syntaxes, with the restriction that you can't mix them in the same query.</p>
<p>You can retrieve the values of all the fields in a single variable (a map) using <a href="QSqlQuery.html#boundValues()"><tt>boundValues</tt></a>.</p>
<a name="approaches-to-binding-values"></a>
<h3>Approaches to Binding Values</h3>
<p>Below we present the same example using each of the four different binding approaches, as well as one example of binding values to a stored procedure.</p>
<p><b>Named binding using named placeholders:</b></p>
<pre>        QSqlQuery query;
        query.prepare(&quot;INSERT INTO person (id, forename, surname) &quot;
                      &quot;VALUES (:id, :forename, :surname)&quot;);
        query.bindValue(&quot;:id&quot;, 1001);
        query.bindValue(&quot;:forename&quot;, &quot;Bart&quot;);
        query.bindValue(&quot;:surname&quot;, &quot;Simpson&quot;);
        query.exec();</pre>
<p><b>Positional binding using named placeholders:</b></p>
<pre>        QSqlQuery query;
        query.prepare(&quot;INSERT INTO person (id, forename, surname) &quot;
                      &quot;VALUES (:id, :forename, :surname)&quot;);
        query.bindValue(0, 1001);
        query.bindValue(1, &quot;Bart&quot;);
        query.bindValue(2, &quot;Simpson&quot;);
        query.exec();</pre>
<p><b>Binding values using positional placeholders (version 1):</b></p>
<pre>        QSqlQuery query;
        query.prepare(&quot;INSERT INTO person (id, forename, surname) &quot;
                      &quot;VALUES (?, ?, ?)&quot;);
        query.bindValue(0, 1001);
        query.bindValue(1, &quot;Bart&quot;);
        query.bindValue(2, &quot;Simpson&quot;);
        query.exec();</pre>
<p><b>Binding values using positional placeholders (version 2):</b></p>
<pre>        QSqlQuery query;
        query.prepare(&quot;INSERT INTO person (id, forename, surname) &quot;
                      &quot;VALUES (?, ?, ?)&quot;);
        query.addBindValue(1001);
        query.addBindValue(&quot;Bart&quot;);
        query.addBindValue(&quot;Simpson&quot;);
        query.exec();</pre>
<p><b>Binding values to a stored procedure:</b></p>
<p>This code calls a stored procedure called <tt>AsciiToInt()</tt>, passing it a character through its in parameter, and taking its result in the out parameter.</p>
<pre>        QSqlQuery query;
        query.prepare(&quot;CALL AsciiToInt(?, ?)&quot;);
        query.bindValue(0, &quot;A&quot;);
        query.bindValue(1, 0, QSql::Out);
        query.exec();
        int i = query.boundValue(1).toInt(); <span class="comment">// i is 65</span></pre>
<p>Note that unbound parameters will retain their values.</p>
<p>Stored procedures that uses the return statement to return values, or return multiple result sets, are not fully supported. For specific details see <a href="%2E%2E/sql-driver.html">SQL Database Drivers</tt></a>.</p>
<p><b>Warning:</b> You must load the SQL driver and open the connection before a <a href="QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlDatabase)"><tt>QSqlQuery</tt></a> is created. Also, the connection must remain open while the query exists; otherwise, the behavior of <a href="QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlDatabase)"><tt>QSqlQuery</tt></a> is undefined.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QSqlDatabase.html"><tt>QSqlDatabase</tt></a>, 
<a href="QSqlQueryModel.html"><tt>QSqlQueryModel</tt></a>, 
<a href="QSqlTableModel.html"><tt>QSqlTableModel</tt></a>, 
<a href="%2E%2E/porting4.html#qvariant"><tt>QVariant</tt></a></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/sql/QSqlQuery.BatchExecutionMode.html" title="enum in com.trolltech.qt.sql">QSqlQuery.BatchExecutionMode</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Press link for info on QSqlQuery.BatchExecutionMode</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;

<!-- ======== 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/sql/QSqlQuery.html#QSqlQuery()">QSqlQuery</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlDatabase)"><tt>QSqlQuery</tt></a>(QString(), QSqlDatabase()).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlDatabase)">QSqlQuery</A></B>(<A HREF="../../../../com/trolltech/qt/sql/QSqlDatabase.html" title="class in com.trolltech.qt.sql">QSqlDatabase</A>&nbsp;db)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlDatabase)"><tt>QSqlQuery</tt></a> object using the database <tt>db</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlQuery)">QSqlQuery</A></B>(<A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html" title="class in com.trolltech.qt.sql">QSqlQuery</A>&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a copy of <tt>other</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlResult)">QSqlQuery</A></B>(<A HREF="../../../../com/trolltech/qt/sql/QSqlResult.html" title="class in com.trolltech.qt.sql">QSqlResult</A>&nbsp;r)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlDatabase)"><tt>QSqlQuery</tt></a> object which uses the <a href="QSqlResult.html"><tt>QSqlResult</tt></a> <tt>r</tt> to communicate with a database.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html#QSqlQuery(java.lang.String)">QSqlQuery</A></B>(java.lang.String&nbsp;query)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlDatabase)"><tt>QSqlQuery</tt></a>(<tt>query</tt>, QSqlDatabase()).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html#QSqlQuery(java.lang.String, com.trolltech.qt.sql.QSqlDatabase)">QSqlQuery</A></B>(java.lang.String&nbsp;query,
          <A HREF="../../../../com/trolltech/qt/sql/QSqlDatabase.html" title="class in com.trolltech.qt.sql">QSqlDatabase</A>&nbsp;db)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlDatabase)"><tt>QSqlQuery</tt></a> object using the SQL <tt>query</tt> and the database <tt>db</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;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html#addBindValue(java.lang.Object)">addBindValue</A></B>(java.lang.Object&nbsp;val)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QSqlQuery.html#addBindValue(java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>addBindValue</tt></a>(<tt>val</tt>, QSql::In).</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/sql/QSqlQuery.html#addBindValue(java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)">addBindValue</A></B>(java.lang.Object&nbsp;val,
             <A HREF="../../../../com/trolltech/qt/sql/QSql.ParamType.html" title="class in com.trolltech.qt.sql">QSql.ParamType</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the value <tt>val</tt> to the list of values when using positional value binding.</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/sql/QSqlQuery.html#addBindValue(java.lang.Object, com.trolltech.qt.sql.QSql.ParamTypeFlag...)">addBindValue</A></B>(java.lang.Object&nbsp;val,
             <A HREF="../../../../com/trolltech/qt/sql/QSql.ParamTypeFlag.html" title="enum in com.trolltech.qt.sql">QSql.ParamTypeFlag</A>...&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the value <tt>val</tt> to the list of values when using positional value binding.</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/sql/QSqlQuery.html#at()">at</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current internal position of the query.</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/sql/QSqlQuery.html#bindValue(int, java.lang.Object)">bindValue</A></B>(int&nbsp;pos,
          java.lang.Object&nbsp;val)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QSqlQuery.html#bindValue(java.lang.String, java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>bindValue</tt></a>(<tt>pos</tt>, <tt>val</tt>, QSql::In).</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/sql/QSqlQuery.html#bindValue(int, java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)">bindValue</A></B>(int&nbsp;pos,
          java.lang.Object&nbsp;val,
          <A HREF="../../../../com/trolltech/qt/sql/QSql.ParamType.html" title="class in com.trolltech.qt.sql">QSql.ParamType</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the placeholder in position <tt>pos</tt> to be bound to value <tt>val</tt> in the prepared statement.</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/sql/QSqlQuery.html#bindValue(int, java.lang.Object, com.trolltech.qt.sql.QSql.ParamTypeFlag...)">bindValue</A></B>(int&nbsp;pos,
          java.lang.Object&nbsp;val,
          <A HREF="../../../../com/trolltech/qt/sql/QSql.ParamTypeFlag.html" title="enum in com.trolltech.qt.sql">QSql.ParamTypeFlag</A>...&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the placeholder in position <tt>pos</tt> to be bound to value <tt>val</tt> in the prepared statement.</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/sql/QSqlQuery.html#bindValue(java.lang.String, java.lang.Object)">bindValue</A></B>(java.lang.String&nbsp;placeholder,
          java.lang.Object&nbsp;val)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QSqlQuery.html#bindValue(java.lang.String, java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>bindValue</tt></a>(<tt>placeholder</tt>, <tt>val</tt>, QSql::In).</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/sql/QSqlQuery.html#bindValue(java.lang.String, java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)">bindValue</A></B>(java.lang.String&nbsp;placeholder,
          java.lang.Object&nbsp;val,
          <A HREF="../../../../com/trolltech/qt/sql/QSql.ParamType.html" title="class in com.trolltech.qt.sql">QSql.ParamType</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the placeholder <tt>placeholder</tt> to be bound to value <tt>val</tt> in the prepared statement.</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/sql/QSqlQuery.html#bindValue(java.lang.String, java.lang.Object, com.trolltech.qt.sql.QSql.ParamTypeFlag...)">bindValue</A></B>(java.lang.String&nbsp;placeholder,
          java.lang.Object&nbsp;val,
          <A HREF="../../../../com/trolltech/qt/sql/QSql.ParamTypeFlag.html" title="enum in com.trolltech.qt.sql">QSql.ParamTypeFlag</A>...&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the placeholder <tt>placeholder</tt> to be bound to value <tt>val</tt> in the prepared statement.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html#boundValue(int)">boundValue</A></B>(int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value for the placeholder at position <tt>pos</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html#boundValue(java.lang.String)">boundValue</A></B>(java.lang.String&nbsp;placeholder)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value for the <tt>placeholder</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.SortedMap&lt;java.lang.String,java.lang.Object&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html#boundValues()">boundValues</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a map of the bound values.</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/sql/QSqlQuery.html#clear()">clear</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the result set and releases any resources held by the query.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/sql/QSqlDriver.html" title="class in com.trolltech.qt.sql">QSqlDriver</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html#driver()">driver</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the database driver associated with the query.</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/sql/QSqlQuery.html#exec()">exec</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes a previously prepared SQL query.</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/sql/QSqlQuery.html#exec(java.lang.String)">exec</A></B>(java.lang.String&nbsp;query)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes the SQL in <tt>query</tt>.</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/sql/QSqlQuery.html#execBatch()">execBatch</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QSqlQuery.html#execBatch(com.trolltech.qt.sql.QSqlQuery.BatchExecutionMode)"><tt>execBatch</tt></a>(ValuesAsRows).</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/sql/QSqlQuery.html#execBatch(com.trolltech.qt.sql.QSqlQuery.BatchExecutionMode)">execBatch</A></B>(<A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.BatchExecutionMode.html" title="enum in com.trolltech.qt.sql">QSqlQuery.BatchExecutionMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes a previously prepared SQL query in a batch.</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/sql/QSqlQuery.html#executedQuery()">executedQuery</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the last query that was executed.</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/sql/QSqlQuery.html#first()">first</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the first record in the result, if available, and positions the query on the retrieved record.</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/sql/QSqlQuery.html" title="class in com.trolltech.qt.sql">QSqlQuery</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.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 QSqlQuery instance pointed to by nativePointer</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/sql/QSqlQuery.html#isActive()">isActive</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the query is currently active; otherwise returns false.</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/sql/QSqlQuery.html#isForwardOnly()">isForwardOnly</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if you can only scroll forward through a result set; otherwise returns false.</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/sql/QSqlQuery.html#isNull(int)">isNull</A></B>(int&nbsp;field)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the query is active and positioned on a valid record and the <tt>field</tt> is NULL; otherwise returns false.</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/sql/QSqlQuery.html#isSelect()">isSelect</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the current query is a <tt>SELECT</tt> statement; otherwise returns false.</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/sql/QSqlQuery.html#isValid()">isValid</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the query is currently positioned on a valid record; otherwise returns false.</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/sql/QSqlQuery.html#last()">last</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the last record in the result, if available, and positions the query on the retrieved record.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/sql/QSqlError.html" title="class in com.trolltech.qt.sql">QSqlError</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html#lastError()">lastError</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns error information about the last error (if any) that occurred with this query.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html#lastInsertId()">lastInsertId</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the object ID of the most recent inserted row if the database supports it.</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/sql/QSqlQuery.html#lastQuery()">lastQuery</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the text of the current query being used, or an empty string if there is no current query text.</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/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html#nativePointerArray(com.trolltech.qt.sql.QSqlQuery[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html" title="class in com.trolltech.qt.sql">QSqlQuery</A>[]&nbsp;array)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns a QNativePointer that is pointing to the specified QSqlQuery array.</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/sql/QSqlQuery.html#next()">next</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the next record in the result, if available, and positions the query on the retrieved record.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/sql/QSql.NumericalPrecisionPolicy.html" title="enum in com.trolltech.qt.sql">QSql.NumericalPrecisionPolicy</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html#numericalPrecisionPolicy()">numericalPrecisionPolicy</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current precision policy.</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/sql/QSqlQuery.html#numRowsAffected()">numRowsAffected</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of rows affected by the result's SQL statement, or -1 if it cannot be determined.</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/sql/QSqlQuery.html#prepare(java.lang.String)">prepare</A></B>(java.lang.String&nbsp;query)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prepares the SQL query <tt>query</tt> for execution.</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/sql/QSqlQuery.html#previous()">previous</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the previous record in the result, if available, and positions the query on the retrieved record.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/sql/QSqlRecord.html" title="class in com.trolltech.qt.sql">QSqlRecord</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html#record()">record</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <a href="QSqlRecord.html"><tt>QSqlRecord</tt></a> containing the field information for the current query.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/sql/QSqlResult.html" title="class in com.trolltech.qt.sql">QSqlResult</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html#result()">result</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the result associated with the query.</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/sql/QSqlQuery.html#seek(int)">seek</A></B>(int&nbsp;i)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QSqlQuery.html#seek(int, boolean)">seek</tt></a>(<tt>i</tt>, false).</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/sql/QSqlQuery.html#seek(int, boolean)">seek</A></B>(int&nbsp;i,
     boolean&nbsp;relative)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the record at position <tt>i</tt>, if available, and positions the query on the retrieved record.</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/sql/QSqlQuery.html#setForwardOnly(boolean)">setForwardOnly</A></B>(boolean&nbsp;forward)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets forward only mode to <tt>forward</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/sql/QSqlQuery.html#setNumericalPrecisionPolicy(com.trolltech.qt.sql.QSql.NumericalPrecisionPolicy)">setNumericalPrecisionPolicy</A></B>(<A HREF="../../../../com/trolltech/qt/sql/QSql.NumericalPrecisionPolicy.html" title="enum in com.trolltech.qt.sql">QSql.NumericalPrecisionPolicy</A>&nbsp;precisionPolicy)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Instruct the database driver to return numerical values with a precision specified by <tt>precisionPolicy</tt>.</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/sql/QSqlQuery.html#size()">size</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the size of the result (number of rows returned), or -1 if the size cannot be determined or if the database does not support reporting information about query sizes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html#value(int)">value</A></B>(int&nbsp;i)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of field <tt>i</tt> in the current record.</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#blockSignals(boolean)">blockSignals</A>, <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#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</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>

<!-- ========= 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="QSqlQuery(java.lang.String)"><!-- --></A><H3>
QSqlQuery</H3>
<PRE>
public <B>QSqlQuery</B>(java.lang.String&nbsp;query)</PRE>
<DL>
<DD><p>Equivalent to <a href="QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlDatabase)"><tt>QSqlQuery</tt></a>(<tt>query</tt>, QSqlDatabase()).
<P>
</DL>
<HR>

<A NAME="QSqlQuery()"><!-- --></A><H3>
QSqlQuery</H3>
<PRE>
public <B>QSqlQuery</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlDatabase)"><tt>QSqlQuery</tt></a>(QString(), QSqlDatabase()).
<P>
</DL>
<HR>

<A NAME="QSqlQuery(java.lang.String, com.trolltech.qt.sql.QSqlDatabase)"><!-- --></A><H3>
QSqlQuery</H3>
<PRE>
public <B>QSqlQuery</B>(java.lang.String&nbsp;query,
                 <A HREF="../../../../com/trolltech/qt/sql/QSqlDatabase.html" title="class in com.trolltech.qt.sql">QSqlDatabase</A>&nbsp;db)</PRE>
<DL>
<DD><p>Constructs a <a href="QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlDatabase)"><tt>QSqlQuery</tt></a> object using the SQL <tt>query</tt> and the database <tt>db</tt>. If <tt>db</tt> is not specified, the application's default database is used. If <tt>query</tt> is not an empty string, it will be executed.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QSqlDatabase.html"><tt>QSqlDatabase</tt></a></DL>
</DL>
<HR>

<A NAME="QSqlQuery(com.trolltech.qt.sql.QSqlQuery)"><!-- --></A><H3>
QSqlQuery</H3>
<PRE>
public <B>QSqlQuery</B>(<A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html" title="class in com.trolltech.qt.sql">QSqlQuery</A>&nbsp;other)</PRE>
<DL>
<DD><p>Constructs a copy of <tt>other</tt>.</p>
<P>
</DL>
<HR>

<A NAME="QSqlQuery(com.trolltech.qt.sql.QSqlResult)"><!-- --></A><H3>
QSqlQuery</H3>
<PRE>
public <B>QSqlQuery</B>(<A HREF="../../../../com/trolltech/qt/sql/QSqlResult.html" title="class in com.trolltech.qt.sql">QSqlResult</A>&nbsp;r)</PRE>
<DL>
<DD><p>Constructs a <a href="QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlDatabase)"><tt>QSqlQuery</tt></a> object which uses the <a href="QSqlResult.html"><tt>QSqlResult</tt></a> <tt>r</tt> to communicate with a database.</p>
<P>
</DL>
<HR>

<A NAME="QSqlQuery(com.trolltech.qt.sql.QSqlDatabase)"><!-- --></A><H3>
QSqlQuery</H3>
<PRE>
public <B>QSqlQuery</B>(<A HREF="../../../../com/trolltech/qt/sql/QSqlDatabase.html" title="class in com.trolltech.qt.sql">QSqlDatabase</A>&nbsp;db)</PRE>
<DL>
<DD><p>Constructs a <a href="QSqlQuery.html#QSqlQuery(com.trolltech.qt.sql.QSqlDatabase)"><tt>QSqlQuery</tt></a> object using the database <tt>db</tt>.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QSqlDatabase.html"><tt>QSqlDatabase</tt></a></DL>
</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="addBindValue(java.lang.Object, com.trolltech.qt.sql.QSql.ParamTypeFlag...)"><!-- --></A><H3>
addBindValue</H3>
<PRE>
public final void <B>addBindValue</B>(java.lang.Object&nbsp;val,
                               <A HREF="../../../../com/trolltech/qt/sql/QSql.ParamTypeFlag.html" title="enum in com.trolltech.qt.sql">QSql.ParamTypeFlag</A>...&nbsp;type)</PRE>
<DL>
<DD><p>Adds the value <tt>val</tt> to the list of values when using positional value binding. The order of the <a href="QSqlQuery.html#addBindValue(java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>addBindValue</tt></a> calls determines which placeholder a value will be bound to in the prepared query. If <tt>type</tt> is QSql::Out or QSql::InOut, the placeholder will be overwritten with data from the database after the <a href="QSqlQuery.html#exec()"><tt>exec</tt></a> call.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#bindValue(java.lang.String, java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>bindValue</tt></a>, 
<a href="QSqlQuery.html#prepare(java.lang.String)"><tt>prepare</tt></a>, 
<a href="QSqlQuery.html#exec()"><tt>exec</tt></a>, 
<a href="QSqlQuery.html#boundValue(java.lang.String)"><tt>boundValue</tt></a>, 
<a href="QSqlQuery.html#boundValues()"><tt>boundValues</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="addBindValue(java.lang.Object)"><!-- --></A><H3>
addBindValue</H3>
<PRE>
public final void <B>addBindValue</B>(java.lang.Object&nbsp;val)</PRE>
<DL>
<DD><p>Equivalent to <a href="QSqlQuery.html#addBindValue(java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>addBindValue</tt></a>(<tt>val</tt>, QSql::In).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addBindValue(java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><!-- --></A><H3>
addBindValue</H3>
<PRE>
public final void <B>addBindValue</B>(java.lang.Object&nbsp;val,
                               <A HREF="../../../../com/trolltech/qt/sql/QSql.ParamType.html" title="class in com.trolltech.qt.sql">QSql.ParamType</A>&nbsp;type)</PRE>
<DL>
<DD><p>Adds the value <tt>val</tt> to the list of values when using positional value binding. The order of the <a href="QSqlQuery.html#addBindValue(java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>addBindValue</tt></a> calls determines which placeholder a value will be bound to in the prepared query. If <tt>type</tt> is QSql::Out or QSql::InOut, the placeholder will be overwritten with data from the database after the <a href="QSqlQuery.html#exec()"><tt>exec</tt></a> call.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#bindValue(java.lang.String, java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>bindValue</tt></a>, 
<a href="QSqlQuery.html#prepare(java.lang.String)"><tt>prepare</tt></a>, 
<a href="QSqlQuery.html#exec()"><tt>exec</tt></a>, 
<a href="QSqlQuery.html#boundValue(java.lang.String)"><tt>boundValue</tt></a>, 
<a href="QSqlQuery.html#boundValues()"><tt>boundValues</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="at()"><!-- --></A><H3>
at</H3>
<PRE>
public final int <B>at</B>()</PRE>
<DL>
<DD><p>Returns the current internal position of the query. The first record is at position zero. If the position is invalid, the function returns QSql::BeforeFirstRow or QSql::AfterLastRow, which are special negative values.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#previous()"><tt>previous</tt></a>, 
<a href="QSqlQuery.html#next()"><tt>next</tt></a>, 
<a href="QSqlQuery.html#first()"><tt>first</tt></a>, 
<a href="QSqlQuery.html#last()"><tt>last</tt></a>, 
<a href="QSqlQuery.html#seek(int, boolean)"><tt>seek</tt></a>, 
<a href="QSqlQuery.html#isActive()"><tt>isActive</tt></a>, 
<a href="QSqlQuery.html#isValid()"><tt>isValid</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="bindValue(int, java.lang.Object, com.trolltech.qt.sql.QSql.ParamTypeFlag...)"><!-- --></A><H3>
bindValue</H3>
<PRE>
public final void <B>bindValue</B>(int&nbsp;pos,
                            java.lang.Object&nbsp;val,
                            <A HREF="../../../../com/trolltech/qt/sql/QSql.ParamTypeFlag.html" title="enum in com.trolltech.qt.sql">QSql.ParamTypeFlag</A>...&nbsp;type)</PRE>
<DL>
<DD><p>Set the placeholder in position <tt>pos</tt> to be bound to value <tt>val</tt> in the prepared statement. Field numbering starts at 0. If <tt>type</tt> is QSql::Out or QSql::InOut, the placeholder will be overwritten with data from the database after the <a href="QSqlQuery.html#exec()"><tt>exec</tt></a> call.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="bindValue(int, java.lang.Object)"><!-- --></A><H3>
bindValue</H3>
<PRE>
public final void <B>bindValue</B>(int&nbsp;pos,
                            java.lang.Object&nbsp;val)</PRE>
<DL>
<DD><p>Equivalent to <a href="QSqlQuery.html#bindValue(java.lang.String, java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>bindValue</tt></a>(<tt>pos</tt>, <tt>val</tt>, QSql::In).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="bindValue(int, java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><!-- --></A><H3>
bindValue</H3>
<PRE>
public final void <B>bindValue</B>(int&nbsp;pos,
                            java.lang.Object&nbsp;val,
                            <A HREF="../../../../com/trolltech/qt/sql/QSql.ParamType.html" title="class in com.trolltech.qt.sql">QSql.ParamType</A>&nbsp;type)</PRE>
<DL>
<DD><p>Set the placeholder in position <tt>pos</tt> to be bound to value <tt>val</tt> in the prepared statement. Field numbering starts at 0. If <tt>type</tt> is QSql::Out or QSql::InOut, the placeholder will be overwritten with data from the database after the <a href="QSqlQuery.html#exec()"><tt>exec</tt></a> call.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="bindValue(java.lang.String, java.lang.Object, com.trolltech.qt.sql.QSql.ParamTypeFlag...)"><!-- --></A><H3>
bindValue</H3>
<PRE>
public final void <B>bindValue</B>(java.lang.String&nbsp;placeholder,
                            java.lang.Object&nbsp;val,
                            <A HREF="../../../../com/trolltech/qt/sql/QSql.ParamTypeFlag.html" title="enum in com.trolltech.qt.sql">QSql.ParamTypeFlag</A>...&nbsp;type)</PRE>
<DL>
<DD><p>Set the placeholder <tt>placeholder</tt> to be bound to value <tt>val</tt> in the prepared statement. Note that the placeholder mark (e.g <tt>:</tt>) must be included when specifying the placeholder name. If <tt>type</tt> is QSql::Out or QSql::InOut, the placeholder will be overwritten with data from the database after the <a href="QSqlQuery.html#exec()"><tt>exec</tt></a> call.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#addBindValue(java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>addBindValue</tt></a>, 
<a href="QSqlQuery.html#prepare(java.lang.String)"><tt>prepare</tt></a>, 
<a href="QSqlQuery.html#exec()"><tt>exec</tt></a>, 
<a href="QSqlQuery.html#boundValue(java.lang.String)"><tt>boundValue</tt></a>, 
<a href="QSqlQuery.html#boundValues()"><tt>boundValues</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="bindValue(java.lang.String, java.lang.Object)"><!-- --></A><H3>
bindValue</H3>
<PRE>
public final void <B>bindValue</B>(java.lang.String&nbsp;placeholder,
                            java.lang.Object&nbsp;val)</PRE>
<DL>
<DD><p>Equivalent to <a href="QSqlQuery.html#bindValue(java.lang.String, java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>bindValue</tt></a>(<tt>placeholder</tt>, <tt>val</tt>, QSql::In).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="bindValue(java.lang.String, java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><!-- --></A><H3>
bindValue</H3>
<PRE>
public final void <B>bindValue</B>(java.lang.String&nbsp;placeholder,
                            java.lang.Object&nbsp;val,
                            <A HREF="../../../../com/trolltech/qt/sql/QSql.ParamType.html" title="class in com.trolltech.qt.sql">QSql.ParamType</A>&nbsp;type)</PRE>
<DL>
<DD><p>Set the placeholder <tt>placeholder</tt> to be bound to value <tt>val</tt> in the prepared statement. Note that the placeholder mark (e.g <tt>:</tt>) must be included when specifying the placeholder name. If <tt>type</tt> is QSql::Out or QSql::InOut, the placeholder will be overwritten with data from the database after the <a href="QSqlQuery.html#exec()"><tt>exec</tt></a> call.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#addBindValue(java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>addBindValue</tt></a>, 
<a href="QSqlQuery.html#prepare(java.lang.String)"><tt>prepare</tt></a>, 
<a href="QSqlQuery.html#exec()"><tt>exec</tt></a>, 
<a href="QSqlQuery.html#boundValue(java.lang.String)"><tt>boundValue</tt></a>, 
<a href="QSqlQuery.html#boundValues()"><tt>boundValues</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="boundValue(int)"><!-- --></A><H3>
boundValue</H3>
<PRE>
public final java.lang.Object <B>boundValue</B>(int&nbsp;pos)</PRE>
<DL>
<DD><p>Returns the value for the placeholder at position <tt>pos</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="boundValue(java.lang.String)"><!-- --></A><H3>
boundValue</H3>
<PRE>
public final java.lang.Object <B>boundValue</B>(java.lang.String&nbsp;placeholder)</PRE>
<DL>
<DD><p>Returns the value for the <tt>placeholder</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#boundValues()"><tt>boundValues</tt></a>, 
<a href="QSqlQuery.html#bindValue(java.lang.String, java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>bindValue</tt></a>, 
<a href="QSqlQuery.html#addBindValue(java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>addBindValue</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="boundValues()"><!-- --></A><H3>
boundValues</H3>
<PRE>
public final java.util.SortedMap&lt;java.lang.String,java.lang.Object&gt; <B>boundValues</B>()</PRE>
<DL>
<DD><p>Returns a map of the bound values.</p>
<p>With named binding, the bound values can be examined in the following ways:</p>
<pre>        QMapIterator&lt;QString, QVariant&gt; i(query.boundValues());
        while (i.hasNext()) {
            i.next();
            cout &lt;&lt; i.key().toAscii().data() &lt;&lt; &quot;: &quot;
                 &lt;&lt; i.value().toString().toAscii().data() &lt;&lt; endl;
        }</pre>
<p>With positional binding, the code becomes:</p>
<pre>        QList&lt;QVariant&gt; list = query.boundValues().values();
        for (int i = 0; i &lt; list.size(); ++i)
            cout &lt;&lt; i &lt;&lt; &quot;: &quot; &lt;&lt; list.at(i).toString().toAscii().data() &lt;&lt; endl;</pre>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#boundValue(java.lang.String)"><tt>boundValue</tt></a>, 
<a href="QSqlQuery.html#bindValue(java.lang.String, java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>bindValue</tt></a>, 
<a href="QSqlQuery.html#addBindValue(java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>addBindValue</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="clear()"><!-- --></A><H3>
clear</H3>
<PRE>
public final void <B>clear</B>()</PRE>
<DL>
<DD><p>Clears the result set and releases any resources held by the query. You should rarely if ever need to call this function.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="driver()"><!-- --></A><H3>
driver</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/sql/QSqlDriver.html" title="class in com.trolltech.qt.sql">QSqlDriver</A> <B>driver</B>()</PRE>
<DL>
<DD><p>Returns the database driver associated with the query.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="exec(java.lang.String)"><!-- --></A><H3>
exec</H3>
<PRE>
public final boolean <B>exec</B>(java.lang.String&nbsp;query)</PRE>
<DL>
<DD><p>Executes the SQL in <tt>query</tt>. Returns true and sets the query state to active if the query was successful; otherwise returns false. The <tt>query</tt> string must use syntax appropriate for the SQL database being queried (for example, standard SQL).</p>
<p>After the query is executed, the query is positioned on an <i>invalid</i> record and must be navigated to a valid record before data values can be retrieved (for example, using <a href="QSqlQuery.html#next()"><tt>next</tt></a>).</p>
<p>Note that the last error for this query is reset when <a href="QSqlQuery.html#exec()"><tt>exec</tt></a> is called.</p>
<p>Example:</p>
<pre>        QSqlQuery query;
        query.prepare(&quot;INSERT INTO person (id, forename, surname) &quot;
                      &quot;VALUES (:id, :forename, :surname)&quot;);
        query.bindValue(&quot;:id&quot;, 1001);
        query.bindValue(&quot;:forename&quot;, &quot;Bart&quot;);
        query.bindValue(&quot;:surname&quot;, &quot;Simpson&quot;);
        query.exec();</pre>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#isActive()"><tt>isActive</tt></a>, 
<a href="QSqlQuery.html#isValid()"><tt>isValid</tt></a>, 
<a href="QSqlQuery.html#next()"><tt>next</tt></a>, 
<a href="QSqlQuery.html#previous()"><tt>previous</tt></a>, 
<a href="QSqlQuery.html#first()"><tt>first</tt></a>, 
<a href="QSqlQuery.html#last()"><tt>last</tt></a>, 
<a href="QSqlQuery.html#seek(int, boolean)"><tt>seek</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="exec()"><!-- --></A><H3>
exec</H3>
<PRE>
public final boolean <B>exec</B>()</PRE>
<DL>
<DD><p>Executes a previously prepared SQL query. Returns true if the query executed successfully; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#prepare(java.lang.String)"><tt>prepare</tt></a>, 
<a href="QSqlQuery.html#bindValue(java.lang.String, java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>bindValue</tt></a>, 
<a href="QSqlQuery.html#addBindValue(java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>addBindValue</tt></a>, 
<a href="QSqlQuery.html#boundValue(java.lang.String)"><tt>boundValue</tt></a>, 
<a href="QSqlQuery.html#boundValues()"><tt>boundValues</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="execBatch()"><!-- --></A><H3>
execBatch</H3>
<PRE>
public final boolean <B>execBatch</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QSqlQuery.html#execBatch(com.trolltech.qt.sql.QSqlQuery.BatchExecutionMode)"><tt>execBatch</tt></a>(ValuesAsRows).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="execBatch(com.trolltech.qt.sql.QSqlQuery.BatchExecutionMode)"><!-- --></A><H3>
execBatch</H3>
<PRE>
public final boolean <B>execBatch</B>(<A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.BatchExecutionMode.html" title="enum in com.trolltech.qt.sql">QSqlQuery.BatchExecutionMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Executes a previously prepared SQL query in a batch. All the bound parameters have to be lists of variants. If the database doesn't support batch executions, the driver will simulate it using conventional <a href="QSqlQuery.html#exec()"><tt>exec</tt></a> calls.</p>
<p>Returns true if the query is executed successfully; otherwise returns false.</p>
<p>Example:</p>
<pre>    QSqlQuery q;
    q.prepare(&quot;insert into myTable values (?, ?)&quot;);

    QVariantList ints;
    ints &lt;&lt; 1 &lt;&lt; 2 &lt;&lt; 3 &lt;&lt; 4;
    q.addBindValue(ints);

    QVariantList names;
    names &lt;&lt; &quot;Harald&quot; &lt;&lt; &quot;Boris&quot; &lt;&lt; &quot;Trond&quot; &lt;&lt; QVariant(QVariant::String);
    q.addBindValue(names);

    if (!q.execBatch())
        qDebug() &lt;&lt; q.lastError();</pre>
<p>The example above inserts four new rows into <tt>myTable</tt>:</p>
<pre>    1  Harald
    2  Boris
    3  Trond
    4  NULL</pre>
<p>To bind NULL values, a null <a href="%2E%2E/porting4.html#qvariant"><tt>QVariant</tt></a> has to be added to the bound QVariantList, for example: <tt>QVariant(QVariant::String)</tt></p>
<p>Note that every bound QVariantList must contain the same amount of variants. Note that the type of the QVariants in a list must not change. For example, you cannot mix integer and string variants within a QVariantList.</p>
<p>The <tt>mode</tt> parameter indicates how the bound QVariantList will be interpreted. If <tt>mode</tt> is <tt>ValuesAsRows</tt>, every variant within the QVariantList will be interpreted as a value for a new row. <tt>ValuesAsColumns</tt> is a special case for the Oracle driver. In this mode, every entry within a QVariantList will be interpreted as array-value for an IN or OUT value within a stored procedure. Note that this will only work if the IN or OUT value is a table-type consisting of only one column of a basic type, for example <tt>TYPE myType IS TABLE OF VARCHAR(64) INDEX BY BINARY_INTEGER;</tt></p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#prepare(java.lang.String)"><tt>prepare</tt></a>, 
<a href="QSqlQuery.html#bindValue(java.lang.String, java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>bindValue</tt></a>, 
<a href="QSqlQuery.html#addBindValue(java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>addBindValue</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="executedQuery()"><!-- --></A><H3>
executedQuery</H3>
<PRE>
public final java.lang.String <B>executedQuery</B>()</PRE>
<DL>
<DD><p>Returns the last query that was executed.</p>
<p>In most cases this function returns the same string as <a href="QSqlQuery.html#lastQuery()"><tt>lastQuery</tt></a>. If a prepared query with placeholders is executed on a DBMS that does not support it, the preparation of this query is emulated. The placeholders in the original query are replaced with their bound values to form a new query. This function returns the modified query. It is mostly useful for debugging purposes.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#lastQuery()"><tt>lastQuery</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="first()"><!-- --></A><H3>
first</H3>
<PRE>
public final boolean <B>first</B>()</PRE>
<DL>
<DD><p>Retrieves the first record in the result, if available, and positions the query on the retrieved record. Note that the result must be in an active state and <a href="QSqlQuery.html#isSelect()"><tt>isSelect</tt></a> must return true before calling this function or it will do nothing and return false. Returns true if successful. If unsuccessful the query position is set to an invalid position and false is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#next()"><tt>next</tt></a>, 
<a href="QSqlQuery.html#previous()"><tt>previous</tt></a>, 
<a href="QSqlQuery.html#last()"><tt>last</tt></a>, 
<a href="QSqlQuery.html#seek(int, boolean)"><tt>seek</tt></a>, 
<a href="QSqlQuery.html#at()"><tt>at</tt></a>, 
<a href="QSqlQuery.html#isActive()"><tt>isActive</tt></a>, 
<a href="QSqlQuery.html#isValid()"><tt>isValid</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isActive()"><!-- --></A><H3>
isActive</H3>
<PRE>
public final boolean <B>isActive</B>()</PRE>
<DL>
<DD><p>Returns true if the query is currently active; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isForwardOnly()"><!-- --></A><H3>
isForwardOnly</H3>
<PRE>
public final boolean <B>isForwardOnly</B>()</PRE>
<DL>
<DD><p>Returns true if you can only scroll forward through a result set; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#setForwardOnly(boolean)"><tt>setForwardOnly</tt></a>, 
<a href="QSqlQuery.html#next()"><tt>next</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isNull(int)"><!-- --></A><H3>
isNull</H3>
<PRE>
public final boolean <B>isNull</B>(int&nbsp;field)</PRE>
<DL>
<DD><p>Returns true if the query is active and positioned on a valid record and the <tt>field</tt> is NULL; otherwise returns false. Note that for some drivers, <a href="QSqlQuery.html#isNull(int)"><tt>isNull</tt></a> will not return accurate information until after an attempt is made to retrieve data.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#isActive()"><tt>isActive</tt></a>, 
<a href="QSqlQuery.html#isValid()"><tt>isValid</tt></a>, 
<a href="QSqlQuery.html#value(int)"><tt>value</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isSelect()"><!-- --></A><H3>
isSelect</H3>
<PRE>
public final boolean <B>isSelect</B>()</PRE>
<DL>
<DD><p>Returns true if the current query is a <tt>SELECT</tt> statement; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isValid()"><!-- --></A><H3>
isValid</H3>
<PRE>
public final boolean <B>isValid</B>()</PRE>
<DL>
<DD><p>Returns true if the query is currently positioned on a valid record; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="last()"><!-- --></A><H3>
last</H3>
<PRE>
public final boolean <B>last</B>()</PRE>
<DL>
<DD><p>Retrieves the last record in the result, if available, and positions the query on the retrieved record. Note that the result must be in an active state and <a href="QSqlQuery.html#isSelect()"><tt>isSelect</tt></a> must return true before calling this function or it will do nothing and return false. Returns true if successful. If unsuccessful the query position is set to an invalid position and false is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#next()"><tt>next</tt></a>, 
<a href="QSqlQuery.html#previous()"><tt>previous</tt></a>, 
<a href="QSqlQuery.html#first()"><tt>first</tt></a>, 
<a href="QSqlQuery.html#seek(int, boolean)"><tt>seek</tt></a>, 
<a href="QSqlQuery.html#at()"><tt>at</tt></a>, 
<a href="QSqlQuery.html#isActive()"><tt>isActive</tt></a>, 
<a href="QSqlQuery.html#isValid()"><tt>isValid</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="lastError()"><!-- --></A><H3>
lastError</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/sql/QSqlError.html" title="class in com.trolltech.qt.sql">QSqlError</A> <B>lastError</B>()</PRE>
<DL>
<DD><p>Returns error information about the last error (if any) that occurred with this query.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlError.html"><tt>QSqlError</tt></a>, 
<tt>QSqlDatabase::lastError</tt></DL>
</DD>
</DL>
<HR>

<A NAME="lastInsertId()"><!-- --></A><H3>
lastInsertId</H3>
<PRE>
public final java.lang.Object <B>lastInsertId</B>()</PRE>
<DL>
<DD><p>Returns the object ID of the most recent inserted row if the database supports it. An invalid <a href="%2E%2E/porting4.html#qvariant"><tt>QVariant</tt></a> will be returned if the query did not insert any value or if the database does not report the id back. If more than one row was touched by the insert, the behavior is undefined.</p>
<p>Note that for Oracle databases the row's ROWID will be returned, while for MySQL databases the row's auto-increment field will be returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QSqlDriver::hasFeature</tt></DL>
</DD>
</DL>
<HR>

<A NAME="lastQuery()"><!-- --></A><H3>
lastQuery</H3>
<PRE>
public final java.lang.String <B>lastQuery</B>()</PRE>
<DL>
<DD><p>Returns the text of the current query being used, or an empty string if there is no current query text.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#executedQuery()"><tt>executedQuery</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="next()"><!-- --></A><H3>
next</H3>
<PRE>
public final boolean <B>next</B>()</PRE>
<DL>
<DD><p>Retrieves the next record in the result, if available, and positions the query on the retrieved record. Note that the result must be in an active state and <a href="QSqlQuery.html#isSelect()"><tt>isSelect</tt></a> must return true before calling this function or it will do nothing and return false.</p>
<p>The following rules apply:</p>
<ul>
<li>If the result is currently located before the first record, e.g&#x2e; immediately after a query is executed, an attempt is made to retrieve the first record.</li>
<li>If the result is currently located after the last record, there is no change and false is returned.</li>
<li>If the result is located somewhere in the middle, an attempt is made to retrieve the next record.</li>
</ul>
<p>If the record could not be retrieved, the result is positioned after the last record and false is returned. If the record is successfully retrieved, true is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#previous()"><tt>previous</tt></a>, 
<a href="QSqlQuery.html#first()"><tt>first</tt></a>, 
<a href="QSqlQuery.html#last()"><tt>last</tt></a>, 
<a href="QSqlQuery.html#seek(int, boolean)"><tt>seek</tt></a>, 
<a href="QSqlQuery.html#at()"><tt>at</tt></a>, 
<a href="QSqlQuery.html#isActive()"><tt>isActive</tt></a>, 
<a href="QSqlQuery.html#isValid()"><tt>isValid</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="numRowsAffected()"><!-- --></A><H3>
numRowsAffected</H3>
<PRE>
public final int <B>numRowsAffected</B>()</PRE>
<DL>
<DD><p>Returns the number of rows affected by the result's SQL statement, or -1 if it cannot be determined. Note that for <tt>SELECT</tt> statements, the value is undefined; use <a href="QSqlQuery.html#size()"><tt>size</tt></a> instead. If the query is not active (<a href="QSqlQuery.html#isActive()"><tt>isActive</tt></a> returns false), -1 is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#size()"><tt>size</tt></a>, 
<tt>QSqlDriver::hasFeature</tt></DL>
</DD>
</DL>
<HR>

<A NAME="numericalPrecisionPolicy()"><!-- --></A><H3>
numericalPrecisionPolicy</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/sql/QSql.NumericalPrecisionPolicy.html" title="enum in com.trolltech.qt.sql">QSql.NumericalPrecisionPolicy</A> <B>numericalPrecisionPolicy</B>()</PRE>
<DL>
<DD><p>Returns the current precision policy.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QSql::NumericalPrecisionPolicy</tt>, 
<a href="QSqlQuery.html#setNumericalPrecisionPolicy(com.trolltech.qt.sql.QSql.NumericalPrecisionPolicy)"><tt>setNumericalPrecisionPolicy</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="prepare(java.lang.String)"><!-- --></A><H3>
prepare</H3>
<PRE>
public final boolean <B>prepare</B>(java.lang.String&nbsp;query)</PRE>
<DL>
<DD><p>Prepares the SQL query <tt>query</tt> for execution. Returns true if the query is prepared successfully; otherwise returns false.</p>
<p>The query may contain placeholders for binding values. Both Oracle style colon-name (e.g&#x2e;, <tt>:surname</tt>), and ODBC style (<tt>?</tt>) placeholders are supported; but they cannot be mixed in the same query. See the <a href="QSqlQuery.html#qsqlquery-examples">Detailed Description</tt></a> for examples.</p>
<p>Portability note: Some databases choose to delay preparing a query until it is executed the first time. In this case, preparing a syntactically wrong query succeeds, but every consecutive <a href="QSqlQuery.html#exec()"><tt>exec</tt></a> will fail.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#exec()"><tt>exec</tt></a>, 
<a href="QSqlQuery.html#bindValue(java.lang.String, java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>bindValue</tt></a>, 
<a href="QSqlQuery.html#addBindValue(java.lang.Object, com.trolltech.qt.sql.QSql.ParamType)"><tt>addBindValue</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="previous()"><!-- --></A><H3>
previous</H3>
<PRE>
public final boolean <B>previous</B>()</PRE>
<DL>
<DD><p>Retrieves the previous record in the result, if available, and positions the query on the retrieved record. Note that the result must be in an active state and <a href="QSqlQuery.html#isSelect()"><tt>isSelect</tt></a> must return true before calling this function or it will do nothing and return false.</p>
<p>The following rules apply:</p>
<ul>
<li>If the result is currently located before the first record, there is no change and false is returned.</li>
<li>If the result is currently located after the last record, an attempt is made to retrieve the last record.</li>
<li>If the result is somewhere in the middle, an attempt is made to retrieve the previous record.</li>
</ul>
<p>If the record could not be retrieved, the result is positioned before the first record and false is returned. If the record is successfully retrieved, true is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#next()"><tt>next</tt></a>, 
<a href="QSqlQuery.html#first()"><tt>first</tt></a>, 
<a href="QSqlQuery.html#last()"><tt>last</tt></a>, 
<a href="QSqlQuery.html#seek(int, boolean)"><tt>seek</tt></a>, 
<a href="QSqlQuery.html#at()"><tt>at</tt></a>, 
<a href="QSqlQuery.html#isActive()"><tt>isActive</tt></a>, 
<a href="QSqlQuery.html#isValid()"><tt>isValid</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="record()"><!-- --></A><H3>
record</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/sql/QSqlRecord.html" title="class in com.trolltech.qt.sql">QSqlRecord</A> <B>record</B>()</PRE>
<DL>
<DD><p>Returns a <a href="QSqlRecord.html"><tt>QSqlRecord</tt></a> containing the field information for the current query. If the query points to a valid row (<a href="QSqlQuery.html#isValid()"><tt>isValid</tt></a> returns true), the record is populated with the row's values. An empty record is returned when there is no active query (<a href="QSqlQuery.html#isActive()"><tt>isActive</tt></a> returns false).</p>
<p>To retrieve values from a query, <a href="QSqlQuery.html#value(int)"><tt>value</tt></a> should be used since its index-based lookup is faster.</p>
<p>In the following example, a <tt>SELECT * FROM</tt> query is executed. Since the order of the columns is not defined, QSqlRecord::indexOf() is used to obtain the index of a column.</p>
<pre>    QSqlQuery q(&quot;select * from employees&quot;);
    QSqlRecord rec = q.record();

    qDebug() &lt;&lt; &quot;Number of columns: &quot; &lt;&lt; rec.count();

    int nameCol = rec.indexOf(&quot;name&quot;); <span class="comment">// index of the field &quot;name&quot;</span>
    while (q.next())
        qDebug() &lt;&lt; q.value(nameCol).toString(); <span class="comment">// output all names</span></pre>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#value(int)"><tt>value</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="result()"><!-- --></A><H3>
result</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/sql/QSqlResult.html" title="class in com.trolltech.qt.sql">QSqlResult</A> <B>result</B>()</PRE>
<DL>
<DD><p>Returns the result associated with the query.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="seek(int)"><!-- --></A><H3>
seek</H3>
<PRE>
public final boolean <B>seek</B>(int&nbsp;i)</PRE>
<DL>
<DD><p>Equivalent to <a href="QSqlQuery.html#seek(int, boolean)">seek</tt></a>(<tt>i</tt>, false).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="seek(int, boolean)"><!-- --></A><H3>
seek</H3>
<PRE>
public final boolean <B>seek</B>(int&nbsp;i,
                          boolean&nbsp;relative)</PRE>
<DL>
<DD><p>Retrieves the record at position <tt>i</tt>, if available, and positions the query on the retrieved record. The first record is at position 0. Note that the query must be in an active state and <a href="QSqlQuery.html#isSelect()"><tt>isSelect</tt></a> must return true before calling this function.</p>
<p>If <tt>relative</tt> is false (the default), the following rules apply:</p>
<ul>
<li>If <tt>i</tt> is negative, the result is positioned before the first record and false is returned.</li>
<li>Otherwise, an attempt is made to move to the record at position <tt>i</tt>. If the record at position <tt>i</tt> could not be retrieved, the result is positioned after the last record and false is returned. If the record is successfully retrieved, true is returned.</li>
</ul>
<p>If <tt>relative</tt> is true, the following rules apply:</p>
<ul>
<li>If the result is currently positioned before the first record or on the first record, and <tt>i</tt> is negative, there is no change, and false is returned.</li>
<li>If the result is currently located after the last record, and <tt>i</tt> is positive, there is no change, and false is returned.</li>
<li>If the result is currently located somewhere in the middle, and the relative offset <tt>i</tt> moves the result below zero, the result is positioned before the first record and false is returned.</li>
<li>Otherwise, an attempt is made to move to the record <tt>i</tt> records ahead of the current record (or <tt>i</tt> records behind the current record if <tt>i</tt> is negative). If the record at offset <tt>i</tt> could not be retrieved, the result is positioned after the last record if <tt>i</tt> &gt;= 0, (or before the first record if <tt>i</tt> is negative), and false is returned. If the record is successfully retrieved, true is returned.</li>
</ul>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#next()"><tt>next</tt></a>, 
<a href="QSqlQuery.html#previous()"><tt>previous</tt></a>, 
<a href="QSqlQuery.html#first()"><tt>first</tt></a>, 
<a href="QSqlQuery.html#last()"><tt>last</tt></a>, 
<a href="QSqlQuery.html#at()"><tt>at</tt></a>, 
<a href="QSqlQuery.html#isActive()"><tt>isActive</tt></a>, 
<a href="QSqlQuery.html#isValid()"><tt>isValid</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setForwardOnly(boolean)"><!-- --></A><H3>
setForwardOnly</H3>
<PRE>
public final void <B>setForwardOnly</B>(boolean&nbsp;forward)</PRE>
<DL>
<DD><p>Sets forward only mode to <tt>forward</tt>. If <tt>forward</tt> is true, only <a href="QSqlQuery.html#next()"><tt>next</tt></a> and <a href="QSqlQuery.html#seek(int, boolean)"><tt>seek</tt></a> with positive values, are allowed for navigating the results.</p>
<p>Forward only mode can be (depending on the driver) more memory efficient since results do not need to be cached. It will also improve performance on some databases. For this to be true, you must call <tt>setForwardMode()</tt> before the query is prepared or executed. Note that the constructor that takes a query and a database may execute the query.</p>
<p>Forward only mode is off by default.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#isForwardOnly()"><tt>isForwardOnly</tt></a>, 
<a href="QSqlQuery.html#next()"><tt>next</tt></a>, 
<a href="QSqlQuery.html#seek(int, boolean)"><tt>seek</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setNumericalPrecisionPolicy(com.trolltech.qt.sql.QSql.NumericalPrecisionPolicy)"><!-- --></A><H3>
setNumericalPrecisionPolicy</H3>
<PRE>
public final void <B>setNumericalPrecisionPolicy</B>(<A HREF="../../../../com/trolltech/qt/sql/QSql.NumericalPrecisionPolicy.html" title="enum in com.trolltech.qt.sql">QSql.NumericalPrecisionPolicy</A>&nbsp;precisionPolicy)</PRE>
<DL>
<DD><p>Instruct the database driver to return numerical values with a precision specified by <tt>precisionPolicy</tt>.</p>
<p>The Oracle driver, for example, retrieves numerical values as strings by default to prevent the loss of precision. If the high precision doesn't matter, use this method to increase execution speed by bypassing string conversions.</p>
<p>Note: Drivers that don't support fetching numerical values with low precision will ignore the precision policy. You can use QSqlDriver::hasFeature() to find out whether a driver supports this feature.</p>
<p>Note: Setting the precision policy doesn't affect the currently active query. Call <a href="QSqlQuery.html#exec()">exec(</tt>QString)</tt></a> or <a href="QSqlQuery.html#prepare(java.lang.String)"><tt>prepare</tt></a> in order to activate the policy.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QSql::NumericalPrecisionPolicy</tt>, 
<a href="QSqlQuery.html#numericalPrecisionPolicy()"><tt>numericalPrecisionPolicy</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="size()"><!-- --></A><H3>
size</H3>
<PRE>
public final int <B>size</B>()</PRE>
<DL>
<DD><p>Returns the size of the result (number of rows returned), or -1 if the size cannot be determined or if the database does not support reporting information about query sizes. Note that for non-<tt>SELECT</tt> statements (<a href="QSqlQuery.html#isSelect()"><tt>isSelect</tt></a> returns false), <a href="QSqlQuery.html#size()"><tt>size</tt></a> will return -1. If the query is not active (<a href="QSqlQuery.html#isActive()"><tt>isActive</tt></a> returns false), -1 is returned.</p>
<p>To determine the number of rows affected by a non-<tt>SELECT</tt> statement, use <a href="QSqlQuery.html#numRowsAffected()"><tt>numRowsAffected</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#isActive()"><tt>isActive</tt></a>, 
<a href="QSqlQuery.html#numRowsAffected()"><tt>numRowsAffected</tt></a>, 
<tt>QSqlDriver::hasFeature</tt></DL>
</DD>
</DL>
<HR>

<A NAME="value(int)"><!-- --></A><H3>
value</H3>
<PRE>
public final java.lang.Object <B>value</B>(int&nbsp;i)</PRE>
<DL>
<DD><p>Returns the value of field <tt>i</tt> in the current record.</p>
<p>The fields are numbered from left to right using the text of the <tt>SELECT</tt> statement, e.g&#x2e; in</p>
<pre>    SELECT forename, surname FROM people;</pre>
<p>field 0 is <tt>forename</tt> and field 1 is <tt>surname</tt>. Using <tt>SELECT *</tt> is not recommended because the order of the fields in the query is undefined.</p>
<p>An invalid <a href="%2E%2E/porting4.html#qvariant"><tt>QVariant</tt></a> is returned if field <tt>i</tt> does not exist, if the query is inactive, or if the query is positioned on an invalid record.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlQuery.html#previous()"><tt>previous</tt></a>, 
<a href="QSqlQuery.html#next()"><tt>next</tt></a>, 
<a href="QSqlQuery.html#first()"><tt>first</tt></a>, 
<a href="QSqlQuery.html#last()"><tt>last</tt></a>, 
<a href="QSqlQuery.html#seek(int, boolean)"><tt>seek</tt></a>, 
<a href="QSqlQuery.html#isActive()"><tt>isActive</tt></a>, 
<a href="QSqlQuery.html#isValid()"><tt>isValid</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/sql/QSqlQuery.html" title="class in com.trolltech.qt.sql">QSqlQuery</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 QSqlQuery 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>
<HR>

<A NAME="nativePointerArray(com.trolltech.qt.sql.QSqlQuery[])"><!-- --></A><H3>
nativePointerArray</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> <B>nativePointerArray</B>(<A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html" title="class in com.trolltech.qt.sql">QSqlQuery</A>[]&nbsp;array)</PRE>
<DL>
<DD>This function returns a QNativePointer that is pointing to the specified QSqlQuery array.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>array</CODE> - the array that the returned pointer will point to.
<DT><B>Returns:</B><DD>a QNativePointer that is pointing to the specified array.</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/sql/QSqlIndex.html" title="class in com.trolltech.qt.sql"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.BatchExecutionMode.html" title="enum in com.trolltech.qt.sql"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/sql/QSqlQuery.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QSqlQuery.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;FIELD&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;FIELD&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>