<!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:42 CEST 2007 --> <TITLE> com.trolltech.qt.sql </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.sql package"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="com.trolltech.qt.sql"; } </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> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/opengl/package-summary.html"><B>PREV PACKAGE</B></A> <A HREF="../../../../com/trolltech/qt/svg/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/sql/package-summary.html" target="_top"><B>FRAMES</B></A> <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> <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> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <H2> Package com.trolltech.qt.sql </H2> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Interface Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSql.html" title="interface in com.trolltech.qt.sql">QSql</A></B></TD> <TD>The <a href="QSql.html"><tt>QSql</tt></a> namespace contains miscellaneous identifiers used throughout the Qt SQL library.</TD> </TR> </TABLE> <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Class Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSql.ParamType.html" title="class in com.trolltech.qt.sql">QSql.ParamType</A></B></TD> <TD>This QFlag class provides flags for the int enum.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlDatabase.html" title="class in com.trolltech.qt.sql">QSqlDatabase</A></B></TD> <TD>The <a href="QSqlDatabase.html#QSqlDatabase()"><tt>QSqlDatabase</tt></a> class represents a connection to a database.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlDriver.html" title="class in com.trolltech.qt.sql">QSqlDriver</A></B></TD> <TD>The <a href="QSqlDriver.html#QSqlDriver(com.trolltech.qt.core.QObject)"><tt>QSqlDriver</tt></a> class is an abstract base class for accessing specific SQL databases.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlDriverCreatorBase.html" title="class in com.trolltech.qt.sql">QSqlDriverCreatorBase</A></B></TD> <TD>The <a href="QSqlDriverCreatorBase.html#QSqlDriverCreatorBase()"><tt>QSqlDriverCreatorBase</tt></a> class is the base class for SQL driver factories.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlError.html" title="class in com.trolltech.qt.sql">QSqlError</A></B></TD> <TD>The <a href="QSqlError.html#QSqlError(com.trolltech.qt.sql.QSqlError)"><tt>QSqlError</tt></a> class provides SQL database error information.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlField.html" title="class in com.trolltech.qt.sql">QSqlField</A></B></TD> <TD>The <a href="QSqlField.html#QSqlField(com.trolltech.qt.sql.QSqlField)"><tt>QSqlField</tt></a> class manipulates the fields in SQL database tables and views.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlIndex.html" title="class in com.trolltech.qt.sql">QSqlIndex</A></B></TD> <TD>The <a href="QSqlIndex.html#QSqlIndex(java.lang.String, java.lang.String)"><tt>QSqlIndex</tt></a> class provides functions to manipulate and describe database indexes.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.html" title="class in com.trolltech.qt.sql">QSqlQuery</A></B></TD> <TD>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.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQueryModel.html" title="class in com.trolltech.qt.sql">QSqlQueryModel</A></B></TD> <TD>The <a href="QSqlQueryModel.html#QSqlQueryModel(com.trolltech.qt.core.QObject)"><tt>QSqlQueryModel</tt></a> class provides a read-only data model for SQL result sets.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlRecord.html" title="class in com.trolltech.qt.sql">QSqlRecord</A></B></TD> <TD>The <a href="QSqlRecord.html#QSqlRecord(com.trolltech.qt.sql.QSqlRecord)"><tt>QSqlRecord</tt></a> class encapsulates a database record.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlRelation.html" title="class in com.trolltech.qt.sql">QSqlRelation</A></B></TD> <TD>The <a href="QSqlRelation.html#QSqlRelation(java.lang.String, java.lang.String, java.lang.String)"><tt>QSqlRelation</tt></a> class stores information about an SQL foreign key.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlRelationalTableModel.html" title="class in com.trolltech.qt.sql">QSqlRelationalTableModel</A></B></TD> <TD>The <a href="QSqlRelationalTableModel.html#QSqlRelationalTableModel(com.trolltech.qt.core.QObject, com.trolltech.qt.sql.QSqlDatabase)"><tt>QSqlRelationalTableModel</tt></a> class provides an editable data model for a single database table, with foreign key support.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlResult.html" title="class in com.trolltech.qt.sql">QSqlResult</A></B></TD> <TD>The <a href="QSqlResult.html#QSqlResult(com.trolltech.qt.sql.QSqlDriver)"><tt>QSqlResult</tt></a> class provides an abstract interface for accessing data from specific SQL databases.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlTableModel.html" title="class in com.trolltech.qt.sql">QSqlTableModel</A></B></TD> <TD>The <a href="QSqlTableModel.html#QSqlTableModel(com.trolltech.qt.core.QObject, com.trolltech.qt.sql.QSqlDatabase)"><tt>QSqlTableModel</tt></a> class provides an editable data model for a single database table.</TD> </TR> </TABLE> <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Enum Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSql.Location.html" title="enum in com.trolltech.qt.sql">QSql.Location</A></B></TD> <TD>This enum type describes special SQL navigation locations.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSql.NumericalPrecisionPolicy.html" title="enum in com.trolltech.qt.sql">QSql.NumericalPrecisionPolicy</A></B></TD> <TD>This enum type describes at which precision levels numercial values are read from a database.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSql.ParamTypeFlag.html" title="enum in com.trolltech.qt.sql">QSql.ParamTypeFlag</A></B></TD> <TD>This enum is used to specify the type of a bind parameter.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSql.TableType.html" title="enum in com.trolltech.qt.sql">QSql.TableType</A></B></TD> <TD>This enum type describes types of SQL tables.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlDriver.DriverFeature.html" title="enum in com.trolltech.qt.sql">QSqlDriver.DriverFeature</A></B></TD> <TD>This enum contains a list of features a driver might support.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlDriver.IdentifierType.html" title="enum in com.trolltech.qt.sql">QSqlDriver.IdentifierType</A></B></TD> <TD>This enum contains a list of SQL identifier types.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlDriver.StatementType.html" title="enum in com.trolltech.qt.sql">QSqlDriver.StatementType</A></B></TD> <TD>This enum contains a list of SQL statement (or clause) types the driver can create.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlError.ErrorType.html" title="enum in com.trolltech.qt.sql">QSqlError.ErrorType</A></B></TD> <TD>This enum type describes the type of SQL error that occurred.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlField.RequiredStatus.html" title="enum in com.trolltech.qt.sql">QSqlField.RequiredStatus</A></B></TD> <TD>Specifies whether the field is required or optional.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlQuery.BatchExecutionMode.html" title="enum in com.trolltech.qt.sql">QSqlQuery.BatchExecutionMode</A></B></TD> <TD>Press link for info on QSqlQuery.BatchExecutionMode</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlResult.BindingSyntax.html" title="enum in com.trolltech.qt.sql">QSqlResult.BindingSyntax</A></B></TD> <TD>This enum type specifies the different syntaxes for specifying placeholders in prepared queries.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlResult.VirtualHookOperation.html" title="enum in com.trolltech.qt.sql">QSqlResult.VirtualHookOperation</A></B></TD> <TD>Press link for info on QSqlResult.VirtualHookOperation</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../com/trolltech/qt/sql/QSqlTableModel.EditStrategy.html" title="enum in com.trolltech.qt.sql">QSqlTableModel.EditStrategy</A></B></TD> <TD>This enum type describes which strategy to choose when editing values in the database.</TD> </TR> </TABLE> <P> <DL> </DL> <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> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/opengl/package-summary.html"><B>PREV PACKAGE</B></A> <A HREF="../../../../com/trolltech/qt/svg/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/sql/package-summary.html" target="_top"><B>FRAMES</B></A> <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> <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> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>