Sophie

Sophie

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

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:14 CEST 2007 -->
<TITLE>
QSqlRecord
</TITLE>

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

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

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QSqlRecord";
}
</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/QSqlQueryModel.html" title="class in com.trolltech.qt.sql"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/sql/QSqlRelation.html" title="class 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/QSqlRecord.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QSqlRecord.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_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter">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 QSqlRecord</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.QSqlRecord</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>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/trolltech/qt/sql/QSqlIndex.html" title="class in com.trolltech.qt.sql">QSqlIndex</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QSqlRecord</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="QSqlRecord.html#QSqlRecord(com.trolltech.qt.sql.QSqlRecord)"><tt>QSqlRecord</tt></a> class encapsulates a database record.</p>
<p>The <a href="QSqlRecord.html#QSqlRecord(com.trolltech.qt.sql.QSqlRecord)"><tt>QSqlRecord</tt></a> class encapsulates the functionality and characteristics of a database record (usually a row in a table or view within the database). <a href="QSqlRecord.html#QSqlRecord(com.trolltech.qt.sql.QSqlRecord)"><tt>QSqlRecord</tt></a> supports adding and removing fields as well as setting and retrieving field values.</p>
<p>The values of a record's fields' can be set by name or position with <a href="QSqlRecord.html#setValue(java.lang.String, java.lang.Object)"><tt>setValue</tt></a>; if you want to set a field to null use <a href="QSqlRecord.html#setNull(java.lang.String)"><tt>setNull</tt></a>. To find the position of a field by name use <a href="QSqlRecord.html#indexOf(java.lang.String)"><tt>indexOf</tt></a>, and to find the name of a field at a particular position use <a href="QSqlRecord.html#fieldName(int)"><tt>fieldName</tt></a>. Use <a href="QSqlRecord.html#field(java.lang.String)"><tt>field</tt></a> to retrieve a <a href="QSqlField.html"><tt>QSqlField</tt></a> object for a given field. Use <a href="QSqlRecord.html#contains(java.lang.String)"><tt>contains</tt></a> to see if the record contains a particular field name.</p>
<p>When queries are generated to be executed on the database only those fields for which <a href="QSqlRecord.html#isGenerated(int)"><tt>isGenerated</tt></a> is true are included in the generated SQL.</p>
<p>A record can have fields added with <a href="QSqlRecord.html#append(com.trolltech.qt.sql.QSqlField)"><tt>append</tt></a> or <a href="QSqlRecord.html#insert(int, com.trolltech.qt.sql.QSqlField)"><tt>insert</tt></a>, replaced with <a href="QSqlRecord.html#replace(int, com.trolltech.qt.sql.QSqlField)"><tt>replace</tt></a>, and removed with <a href="QSqlRecord.html#remove(int)"><tt>remove</tt></a>. All the fields can be removed with <a href="QSqlRecord.html#clear()"><tt>clear</tt></a>. The number of fields is given by <a href="QSqlRecord.html#count()"><tt>count</tt></a>; all their values can be cleared (to null) using <a href="QSqlRecord.html#clearValues()"><tt>clearValues</tt></a>.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QSqlField.html"><tt>QSqlField</tt></a>, 
<tt>QSqlQuery::record</tt></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>
</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/QSqlRecord.html#QSqlRecord()">QSqlRecord</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an empty record.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlRecord.html#QSqlRecord(com.trolltech.qt.sql.QSqlRecord)">QSqlRecord</A></B>(<A HREF="../../../../com/trolltech/qt/sql/QSqlRecord.html" title="class in com.trolltech.qt.sql">QSqlRecord</A>&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a copy of <tt>other</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/QSqlRecord.html#append(com.trolltech.qt.sql.QSqlField)">append</A></B>(<A HREF="../../../../com/trolltech/qt/sql/QSqlField.html" title="class in com.trolltech.qt.sql">QSqlField</A>&nbsp;field)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Append a copy of field <tt>field</tt> to the end of the 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/QSqlRecord.html#clear()">clear</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes all the record's fields.</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/QSqlRecord.html#clearValues()">clearValues</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the value of all fields in the record and sets each field to null.</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/QSqlRecord.html#contains(java.lang.String)">contains</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if there is a field in the record called <tt>name</tt>; otherwise returns false.</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/QSqlRecord.html#count()">count</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of fields in the record.</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/QSqlRecord.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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/QSqlField.html" title="class in com.trolltech.qt.sql">QSqlField</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlRecord.html#field(int)">field</A></B>(int&nbsp;i)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the field at position <tt>i</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/sql/QSqlField.html" title="class in com.trolltech.qt.sql">QSqlField</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlRecord.html#field(java.lang.String)">field</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the field called <tt>name</tt>.</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/QSqlRecord.html#fieldName(int)">fieldName</A></B>(int&nbsp;i)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the field at position <tt>i</tt>.</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/QSqlRecord.html" title="class in com.trolltech.qt.sql">QSqlRecord</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/sql/QSqlRecord.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 QSqlRecord instance pointed to by nativePointer</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/QSqlRecord.html#indexOf(java.lang.String)">indexOf</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the position of the field called <tt>name</tt> within the record, or -1 if it cannot be found.</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/QSqlRecord.html#insert(int, com.trolltech.qt.sql.QSqlField)">insert</A></B>(int&nbsp;pos,
       <A HREF="../../../../com/trolltech/qt/sql/QSqlField.html" title="class in com.trolltech.qt.sql">QSqlField</A>&nbsp;field)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the field <tt>field</tt> at position <tt>pos</tt> in the record.</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/QSqlRecord.html#isEmpty()">isEmpty</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if there are no fields in the 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/QSqlRecord.html#isGenerated(int)">isGenerated</A></B>(int&nbsp;i)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the record has a field at position <tt>i</tt> and this field is to be generated (the default); 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/QSqlRecord.html#isGenerated(java.lang.String)">isGenerated</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the record has a field called <tt>name</tt> and this field is to be generated (the default); 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/QSqlRecord.html#isNull(int)">isNull</A></B>(int&nbsp;i)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the field <tt>i</tt> is null or if there is no field at position <tt>i</tt>; 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/QSqlRecord.html#isNull(java.lang.String)">isNull</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the field called <tt>name</tt> is null or if there is no field called <tt>name</tt>; otherwise returns false.</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/QSqlRecord.html#nativePointerArray(com.trolltech.qt.sql.QSqlRecord[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/sql/QSqlRecord.html" title="class in com.trolltech.qt.sql">QSqlRecord</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 QSqlRecord array.</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/QSqlRecord.html#remove(int)">remove</A></B>(int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the field at position <tt>pos</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/QSqlRecord.html#replace(int, com.trolltech.qt.sql.QSqlField)">replace</A></B>(int&nbsp;pos,
        <A HREF="../../../../com/trolltech/qt/sql/QSqlField.html" title="class in com.trolltech.qt.sql">QSqlField</A>&nbsp;field)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replaces the field at position <tt>pos</tt> with the given <tt>field</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/QSqlRecord.html#setGenerated(int, boolean)">setGenerated</A></B>(int&nbsp;i,
             boolean&nbsp;generated)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the generated flag for the field <tt>i</tt> to <tt>generated</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/QSqlRecord.html#setGenerated(java.lang.String, boolean)">setGenerated</A></B>(java.lang.String&nbsp;name,
             boolean&nbsp;generated)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the generated flag for the field called <tt>name</tt> to <tt>generated</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/QSqlRecord.html#setNull(int)">setNull</A></B>(int&nbsp;i)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of field <tt>i</tt> to null.</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/QSqlRecord.html#setNull(java.lang.String)">setNull</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of the field called <tt>name</tt> to null.</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/QSqlRecord.html#setValue(int, java.lang.Object)">setValue</A></B>(int&nbsp;i,
         java.lang.Object&nbsp;val)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of the field at position <tt>i</tt> to <tt>val</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/QSqlRecord.html#setValue(java.lang.String, java.lang.Object)">setValue</A></B>(java.lang.String&nbsp;name,
         java.lang.Object&nbsp;val)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of the field called <tt>name</tt> to <tt>val</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/QSqlRecord.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 the field located at position <tt>i</tt> in the record.</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/QSqlRecord.html#value(java.lang.String)">value</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of the field called <tt>name</tt> in the 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, 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="QSqlRecord()"><!-- --></A><H3>
QSqlRecord</H3>
<PRE>
public <B>QSqlRecord</B>()</PRE>
<DL>
<DD><p>Constructs an empty record.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#isEmpty()"><tt>isEmpty</tt></a>, 
<a href="QSqlRecord.html#append(com.trolltech.qt.sql.QSqlField)"><tt>append</tt></a>, 
<a href="QSqlRecord.html#insert(int, com.trolltech.qt.sql.QSqlField)"><tt>insert</tt></a></DL>
</DL>
<HR>

<A NAME="QSqlRecord(com.trolltech.qt.sql.QSqlRecord)"><!-- --></A><H3>
QSqlRecord</H3>
<PRE>
public <B>QSqlRecord</B>(<A HREF="../../../../com/trolltech/qt/sql/QSqlRecord.html" title="class in com.trolltech.qt.sql">QSqlRecord</A>&nbsp;other)</PRE>
<DL>
<DD><p>Constructs a copy of <tt>other</tt>.</p>
<p><a href="QSqlRecord.html#QSqlRecord(com.trolltech.qt.sql.QSqlRecord)"><tt>QSqlRecord</tt></a> is implicitly shared</tt>. This means you can make copies of a record in constant time</tt>.</p>
<P>
</DL>

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

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

<A NAME="append(com.trolltech.qt.sql.QSqlField)"><!-- --></A><H3>
append</H3>
<PRE>
public void <B>append</B>(<A HREF="../../../../com/trolltech/qt/sql/QSqlField.html" title="class in com.trolltech.qt.sql">QSqlField</A>&nbsp;field)</PRE>
<DL>
<DD><p>Append a copy of field <tt>field</tt> to the end of the record.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#insert(int, com.trolltech.qt.sql.QSqlField)"><tt>insert</tt></a>, 
<a href="QSqlRecord.html#replace(int, com.trolltech.qt.sql.QSqlField)"><tt>replace</tt></a>, 
<a href="QSqlRecord.html#remove(int)"><tt>remove</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="clear()"><!-- --></A><H3>
clear</H3>
<PRE>
public final void <B>clear</B>()</PRE>
<DL>
<DD><p>Removes all the record's fields.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#clearValues()"><tt>clearValues</tt></a>, 
<a href="QSqlRecord.html#isEmpty()"><tt>isEmpty</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="clearValues()"><!-- --></A><H3>
clearValues</H3>
<PRE>
public final void <B>clearValues</B>()</PRE>
<DL>
<DD><p>Clears the value of all fields in the record and sets each field to null.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#setValue(java.lang.String, java.lang.Object)"><tt>setValue</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="contains(java.lang.String)"><!-- --></A><H3>
contains</H3>
<PRE>
public final boolean <B>contains</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>Returns true if there is a field in the record called <tt>name</tt>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="count()"><!-- --></A><H3>
count</H3>
<PRE>
public final int <B>count</B>()</PRE>
<DL>
<DD><p>Returns the number of fields in the record.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#isEmpty()"><tt>isEmpty</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="field(int)"><!-- --></A><H3>
field</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/sql/QSqlField.html" title="class in com.trolltech.qt.sql">QSqlField</A> <B>field</B>(int&nbsp;i)</PRE>
<DL>
<DD><p>Returns the field at position <tt>i</tt>. If the position is out of range, an empty field is returned.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="field(java.lang.String)"><!-- --></A><H3>
field</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/sql/QSqlField.html" title="class in com.trolltech.qt.sql">QSqlField</A> <B>field</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>Returns the field called <tt>name</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fieldName(int)"><!-- --></A><H3>
fieldName</H3>
<PRE>
public final java.lang.String <B>fieldName</B>(int&nbsp;i)</PRE>
<DL>
<DD><p>Returns the name of the field at position <tt>i</tt>. If the field does not exist, an empty string is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#indexOf(java.lang.String)"><tt>indexOf</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="indexOf(java.lang.String)"><!-- --></A><H3>
indexOf</H3>
<PRE>
public final int <B>indexOf</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>Returns the position of the field called <tt>name</tt> within the record, or -1 if it cannot be found. Field names are not case-sensitive. If more than one field matches, the first one is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#fieldName(int)"><tt>fieldName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="insert(int, com.trolltech.qt.sql.QSqlField)"><!-- --></A><H3>
insert</H3>
<PRE>
public final void <B>insert</B>(int&nbsp;pos,
                         <A HREF="../../../../com/trolltech/qt/sql/QSqlField.html" title="class in com.trolltech.qt.sql">QSqlField</A>&nbsp;field)</PRE>
<DL>
<DD><p>Inserts the field <tt>field</tt> at position <tt>pos</tt> in the record.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#append(com.trolltech.qt.sql.QSqlField)"><tt>append</tt></a>, 
<a href="QSqlRecord.html#replace(int, com.trolltech.qt.sql.QSqlField)"><tt>replace</tt></a>, 
<a href="QSqlRecord.html#remove(int)"><tt>remove</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isEmpty()"><!-- --></A><H3>
isEmpty</H3>
<PRE>
public final boolean <B>isEmpty</B>()</PRE>
<DL>
<DD><p>Returns true if there are no fields in the record; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#append(com.trolltech.qt.sql.QSqlField)"><tt>append</tt></a>, 
<a href="QSqlRecord.html#insert(int, com.trolltech.qt.sql.QSqlField)"><tt>insert</tt></a>, 
<a href="QSqlRecord.html#clear()"><tt>clear</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isGenerated(java.lang.String)"><!-- --></A><H3>
isGenerated</H3>
<PRE>
public final boolean <B>isGenerated</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>Returns true if the record has a field called <tt>name</tt> and this field is to be generated (the default); otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#setGenerated(java.lang.String, boolean)"><tt>setGenerated</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isGenerated(int)"><!-- --></A><H3>
isGenerated</H3>
<PRE>
public final boolean <B>isGenerated</B>(int&nbsp;i)</PRE>
<DL>
<DD><p>Returns true if the record has a field at position <tt>i</tt> and this field is to be generated (the default); otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#setGenerated(java.lang.String, boolean)"><tt>setGenerated</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isNull(java.lang.String)"><!-- --></A><H3>
isNull</H3>
<PRE>
public final boolean <B>isNull</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>Returns true if the field called <tt>name</tt> is null or if there is no field called <tt>name</tt>; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#setNull(java.lang.String)"><tt>setNull</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isNull(int)"><!-- --></A><H3>
isNull</H3>
<PRE>
public final boolean <B>isNull</B>(int&nbsp;i)</PRE>
<DL>
<DD><p>Returns true if the field <tt>i</tt> is null or if there is no field at position <tt>i</tt>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="remove(int)"><!-- --></A><H3>
remove</H3>
<PRE>
public final void <B>remove</B>(int&nbsp;pos)</PRE>
<DL>
<DD><p>Removes the field at position <tt>pos</tt>. If <tt>pos</tt> is out of range, nothing happens.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#append(com.trolltech.qt.sql.QSqlField)"><tt>append</tt></a>, 
<a href="QSqlRecord.html#insert(int, com.trolltech.qt.sql.QSqlField)"><tt>insert</tt></a>, 
<a href="QSqlRecord.html#replace(int, com.trolltech.qt.sql.QSqlField)"><tt>replace</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="replace(int, com.trolltech.qt.sql.QSqlField)"><!-- --></A><H3>
replace</H3>
<PRE>
public final void <B>replace</B>(int&nbsp;pos,
                          <A HREF="../../../../com/trolltech/qt/sql/QSqlField.html" title="class in com.trolltech.qt.sql">QSqlField</A>&nbsp;field)</PRE>
<DL>
<DD><p>Replaces the field at position <tt>pos</tt> with the given <tt>field</tt>. If <tt>pos</tt> is out of range, nothing happens.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#append(com.trolltech.qt.sql.QSqlField)"><tt>append</tt></a>, 
<a href="QSqlRecord.html#insert(int, com.trolltech.qt.sql.QSqlField)"><tt>insert</tt></a>, 
<a href="QSqlRecord.html#remove(int)"><tt>remove</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setGenerated(int, boolean)"><!-- --></A><H3>
setGenerated</H3>
<PRE>
public final void <B>setGenerated</B>(int&nbsp;i,
                               boolean&nbsp;generated)</PRE>
<DL>
<DD><p>Sets the generated flag for the field <tt>i</tt> to <tt>generated</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#isGenerated(int)"><tt>isGenerated</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setGenerated(java.lang.String, boolean)"><!-- --></A><H3>
setGenerated</H3>
<PRE>
public final void <B>setGenerated</B>(java.lang.String&nbsp;name,
                               boolean&nbsp;generated)</PRE>
<DL>
<DD><p>Sets the generated flag for the field called <tt>name</tt> to <tt>generated</tt>. If the field does not exist, nothing happens. Only fields that have <tt>generated</tt> set to true are included in the SQL that is generated by <a href="QSqlQueryModel.html"><tt>QSqlQueryModel</tt></a> for example.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#isGenerated(int)"><tt>isGenerated</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setNull(int)"><!-- --></A><H3>
setNull</H3>
<PRE>
public final void <B>setNull</B>(int&nbsp;i)</PRE>
<DL>
<DD><p>Sets the value of field <tt>i</tt> to null. If the field does not exist, nothing happens.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#setValue(java.lang.String, java.lang.Object)"><tt>setValue</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setNull(java.lang.String)"><!-- --></A><H3>
setNull</H3>
<PRE>
public final void <B>setNull</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>Sets the value of the field called <tt>name</tt> to null. If the field does not exist, nothing happens.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#isNull(int)"><tt>isNull</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setValue(int, java.lang.Object)"><!-- --></A><H3>
setValue</H3>
<PRE>
public final void <B>setValue</B>(int&nbsp;i,
                           java.lang.Object&nbsp;val)</PRE>
<DL>
<DD><p>Sets the value of the field at position <tt>i</tt> to <tt>val</tt>. If the field does not exist, nothing happens.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#setNull(java.lang.String)"><tt>setNull</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setValue(java.lang.String, java.lang.Object)"><!-- --></A><H3>
setValue</H3>
<PRE>
public final void <B>setValue</B>(java.lang.String&nbsp;name,
                           java.lang.Object&nbsp;val)</PRE>
<DL>
<DD><p>Sets the value of the field called <tt>name</tt> to <tt>val</tt>. If the field does not exist, nothing happens.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#value(java.lang.String)"><tt>value</tt></a></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 the field located at position <tt>i</tt> in the record. If <tt>i</tt> is out of bounds, an invalid <a href="%2E%2E/porting4.html#qvariant"><tt>QVariant</tt></a> is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#fieldName(int)"><tt>fieldName</tt></a>, 
<a href="QSqlRecord.html#isNull(int)"><tt>isNull</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="value(java.lang.String)"><!-- --></A><H3>
value</H3>
<PRE>
public final java.lang.Object <B>value</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>Returns the value of the field called <tt>name</tt> in the record. If field <tt>name</tt> does not exist an invalid variant is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSqlRecord.html#setValue(java.lang.String, java.lang.Object)"><tt>setValue</tt></a>, 
<a href="QSqlRecord.html#indexOf(java.lang.String)"><tt>indexOf</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/QSqlRecord.html" title="class in com.trolltech.qt.sql">QSqlRecord</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 QSqlRecord 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.QSqlRecord[])"><!-- --></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/QSqlRecord.html" title="class in com.trolltech.qt.sql">QSqlRecord</A>[]&nbsp;array)</PRE>
<DL>
<DD>This function returns a QNativePointer that is pointing to the specified QSqlRecord 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>
<HR>

<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(java.lang.Object&nbsp;other)</PRE>
<DL>
<DD>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
</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/QSqlQueryModel.html" title="class in com.trolltech.qt.sql"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/sql/QSqlRelation.html" title="class 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/QSqlRecord.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QSqlRecord.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_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter">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>