summaryrefslogtreecommitdiffstats
path: root/doc/html/tqsqlcursor.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqsqlcursor.html')
-rw-r--r--doc/html/tqsqlcursor.html40
1 files changed, 20 insertions, 20 deletions
diff --git a/doc/html/tqsqlcursor.html b/doc/html/tqsqlcursor.html
index 30a9ca993..e10c52c05 100644
--- a/doc/html/tqsqlcursor.html
+++ b/doc/html/tqsqlcursor.html
@@ -220,7 +220,7 @@ database.
in the database.
</ul>
<hr><h2>Member Function Documentation</h2>
-<h3 class=fn><a name="TQSqlCursor"></a>TQSqlCursor::TQSqlCursor ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name = TQString::null, bool&nbsp;autopopulate = TRUE, <a href="tqsqldatabase.html">TQSqlDatabase</a>&nbsp;*&nbsp;db = 0 )
+<h3 class=fn><a name="TQSqlCursor"></a>TQSqlCursor::TQSqlCursor ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;name = TQString::null, bool&nbsp;autopopulate = TRUE, <a href="tqsqldatabase.html">TQSqlDatabase</a>&nbsp;*&nbsp;db = 0 )
</h3>
Constructs a cursor on database <em>db</em> using table or view <em>name</em>.
<p> If <em>autopopulate</em> is TRUE (the default), the <em>name</em> of the
@@ -251,7 +251,7 @@ Destroys the object and frees any allocated resources.
Append a copy of field <em>fieldInfo</em> to the end of the cursor. Note
that all references to the cursor edit buffer become invalidated.
-<h3 class=fn><a href="ntqvariant.html">TQVariant</a> <a name="calculateField"></a>TQSqlCursor::calculateField ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name )<tt> [virtual protected]</tt>
+<h3 class=fn><a href="ntqvariant.html">TQVariant</a> <a name="calculateField"></a>TQSqlCursor::calculateField ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;name )<tt> [virtual protected]</tt>
</h3>
Protected virtual function which is called whenever a field needs
to be calculated. If calculated fields are being used, derived
@@ -315,7 +315,7 @@ cursor edit buffer and not on the contents of the cursor itself.
<p> <p>See also <a href="#primeDelete">primeDelete</a>(), <a href="#setMode">setMode</a>(), and <a href="tqsqlquery.html#lastError">lastError</a>().
<p>Example: <a href="sql.html#x2205">sql/overview/delete/main.cpp</a>.
-<h3 class=fn>int <a name="del-2"></a>TQSqlCursor::del ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter, bool&nbsp;invalidate = TRUE )<tt> [virtual protected]</tt>
+<h3 class=fn>int <a name="del-2"></a>TQSqlCursor::del ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter, bool&nbsp;invalidate = TRUE )<tt> [virtual protected]</tt>
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Deletes the current cursor record from the database using the
@@ -335,12 +335,12 @@ the cursor remains valid. The cursor retains ownership of the
returned pointer, so it must not be deleted or modified.
<p> <p>See also <a href="#primeInsert">primeInsert</a>(), <a href="#primeUpdate">primeUpdate</a>(), and <a href="#primeDelete">primeDelete</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="filter"></a>TQSqlCursor::filter () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="filter"></a>TQSqlCursor::filter () const
</h3>
Returns the current filter, or an empty string if there is no
current filter.
-<h3 class=fn><a href="tqsqlindex.html">TQSqlIndex</a> <a name="index"></a>TQSqlCursor::index ( const&nbsp;<a href="ntqstringlist.html">TQStringList</a>&nbsp;&amp;&nbsp;fieldNames ) const<tt> [virtual]</tt>
+<h3 class=fn><a href="tqsqlindex.html">TQSqlIndex</a> <a name="index"></a>TQSqlCursor::index ( const&nbsp;<a href="tqstringlist.html">TQStringList</a>&nbsp;&amp;&nbsp;fieldNames ) const<tt> [virtual]</tt>
</h3>
Returns an index composed of <em>fieldNames</em>, all in ASCending
order. Note that all field names must exist in the cursor,
@@ -348,7 +348,7 @@ otherwise an empty index is returned.
<p> <p>See also <a href="tqsqlindex.html">TQSqlIndex</a>.
<p>Examples: <a href="sql.html#x2188">sql/overview/extract/main.cpp</a>, <a href="sql.html#x2181">sql/overview/order1/main.cpp</a>, <a href="sql.html#x2184">sql/overview/order2/main.cpp</a>, and <a href="sql.html#x2241">sql/overview/table3/main.cpp</a>.
-<h3 class=fn><a href="tqsqlindex.html">TQSqlIndex</a> <a name="index-2"></a>TQSqlCursor::index ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;fieldName ) const
+<h3 class=fn><a href="tqsqlindex.html">TQSqlIndex</a> <a name="index-2"></a>TQSqlCursor::index ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;fieldName ) const
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Returns an index based on <em>fieldName</em>.
@@ -394,7 +394,7 @@ contents of the cursor edit buffer and not on the contents of the
cursor itself.
<p> <p>See also <a href="#setMode">setMode</a>() and <a href="tqsqlquery.html#lastError">lastError</a>().
-<h3 class=fn>bool <a name="isCalculated"></a>TQSqlCursor::isCalculated ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name ) const
+<h3 class=fn>bool <a name="isCalculated"></a>TQSqlCursor::isCalculated ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;name ) const
</h3>
Returns TRUE if the field <em>name</em> exists and is calculated;
otherwise returns FALSE.
@@ -406,7 +406,7 @@ Returns TRUE if the field <em>i</em> is NULL or if there is no field at
position <em>i</em>; otherwise returns FALSE.
<p> This is the same as calling <a href="tqsqlrecord.html#isNull">TQSqlRecord::isNull</a>( <em>i</em> )
-<h3 class=fn>bool <a name="isNull-2"></a>TQSqlCursor::isNull ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name ) const
+<h3 class=fn>bool <a name="isNull-2"></a>TQSqlCursor::isNull ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;name ) const
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Returns TRUE if the field called <em>name</em> is NULL or if there is no
@@ -420,7 +420,7 @@ The default is FALSE. Read-only cursors cannot be edited using
<a href="#insert">insert</a>(), <a href="#update">update</a>() or <a href="#del">del</a>().
<p> <p>See also <a href="#setMode">setMode</a>().
-<h3 class=fn>bool <a name="isTrimmed"></a>TQSqlCursor::isTrimmed ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name ) const
+<h3 class=fn>bool <a name="isTrimmed"></a>TQSqlCursor::isTrimmed ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;name ) const
</h3>
Returns TRUE if the field <em>name</em> exists and is trimmed; otherwise
returns FALSE.
@@ -433,7 +433,7 @@ database any trailing (right-most) spaces are removed.
Returns the current cursor mode.
<p> <p>See also <a href="#setMode">setMode</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="name"></a>TQSqlCursor::name () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="name"></a>TQSqlCursor::name () const
</h3>
Returns the name of the cursor.
@@ -487,7 +487,7 @@ happens. Note that all references to the cursor edit buffer become
invalidated.
<p>Reimplemented from <a href="tqsqlrecord.html#remove">TQSqlRecord</a>.
-<h3 class=fn>bool <a name="select"></a>TQSqlCursor::select ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter, const&nbsp;<a href="tqsqlindex.html">TQSqlIndex</a>&nbsp;&amp;&nbsp;sort = TQSqlIndex ( ) )<tt> [virtual]</tt>
+<h3 class=fn>bool <a name="select"></a>TQSqlCursor::select ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter, const&nbsp;<a href="tqsqlindex.html">TQSqlIndex</a>&nbsp;&amp;&nbsp;sort = TQSqlIndex ( ) )<tt> [virtual]</tt>
</h3>
Selects all fields in the cursor from the database matching the
filter criteria <em>filter</em>. The data is returned in the order
@@ -579,7 +579,7 @@ to the current cursor value, <tt>WHERE id=10</tt>, in this case. When
used as the sort (second) argument the field names it contains are
used for the ORDER BY clause, <tt>ORDER BY id</tt> in this example.
-<h3 class=fn>void <a name="setCalculated"></a>TQSqlCursor::setCalculated ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name, bool&nbsp;calculated )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setCalculated"></a>TQSqlCursor::setCalculated ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;name, bool&nbsp;calculated )<tt> [virtual]</tt>
</h3>
Sets field <em>name</em> to <em>calculated</em>. If the field <em>name</em> does not
exist, nothing happens. The value of a calculated field is set by
@@ -589,7 +589,7 @@ fields do not appear in generated SQL statements sent to the
database.
<p> <p>See also <a href="#calculateField">calculateField</a>() and <a href="tqsqlrecord.html#setGenerated">TQSqlRecord::setGenerated</a>().
-<h3 class=fn>void <a name="setFilter"></a>TQSqlCursor::setFilter ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setFilter"></a>TQSqlCursor::setFilter ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter )<tt> [virtual]</tt>
</h3>
Sets the current filter to <em>filter</em>. Note that no new records are
selected. To select new records, use <a href="#select">select</a>(). The <em>filter</em> will
@@ -598,7 +598,7 @@ specify a filter.
<p> The filter is a SQL <tt>WHERE</tt> clause without the keyword 'WHERE',
e.g. <tt>name='Dave'</tt> which will be processed by the DBMS.
-<h3 class=fn>void <a name="setGenerated"></a>TQSqlCursor::setGenerated ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name, bool&nbsp;generated )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setGenerated"></a>TQSqlCursor::setGenerated ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;name, bool&nbsp;generated )<tt> [virtual]</tt>
</h3>
Sets the generated flag for the field <em>name</em> to <em>generated</em>. If
the field does not exist, nothing happens. Only fields that have
@@ -630,7 +630,7 @@ cursor is <a href="#Mode-enum">TQSqlCursor::Writable</a>.
</pre>
-<h3 class=fn>void <a name="setName"></a>TQSqlCursor::setName ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name, bool&nbsp;autopopulate = TRUE )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setName"></a>TQSqlCursor::setName ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;name, bool&nbsp;autopopulate = TRUE )<tt> [virtual]</tt>
</h3>
Sets the name of the cursor to <em>name</em>. If <em>autopopulate</em> is TRUE
(the default), the <em>name</em> must correspond to a valid table or
@@ -653,7 +653,7 @@ selected. To select new records, use <a href="#select">select</a>(). The <em>sor
apply to any subsequent select() calls that do not explicitly
specify a sort.
-<h3 class=fn>void <a name="setTrimmed"></a>TQSqlCursor::setTrimmed ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name, bool&nbsp;trim )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setTrimmed"></a>TQSqlCursor::setTrimmed ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;name, bool&nbsp;trim )<tt> [virtual]</tt>
</h3>
Sets field <em>name</em>'s trimmed status to <em>trim</em>. If the field <em>name</em> does not exist, nothing happens.
<p> When a trimmed field of type string or cstring is read from the
@@ -665,7 +665,7 @@ database any trailing (right-most) spaces are removed.
Returns the current sort, or an empty index if there is no current
sort.
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString"></a>TQSqlCursor::toString ( <a href="tqsqlrecord.html">TQSqlRecord</a>&nbsp;*&nbsp;rec, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;prefix, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;fieldSep, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;sep ) const<tt> [virtual protected]</tt>
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString"></a>TQSqlCursor::toString ( <a href="tqsqlrecord.html">TQSqlRecord</a>&nbsp;*&nbsp;rec, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;prefix, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;fieldSep, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;sep ) const<tt> [virtual protected]</tt>
</h3>
Returns a formatted string composed of all the fields in <em>rec</em>.
Each field is composed of the <em>prefix</em> (e.g. table or view name),
@@ -675,7 +675,7 @@ The fields are then joined together separated by <em>sep</em>. Fields
where <a href="tqsqlrecord.html#isGenerated">isGenerated</a>() returns FALSE are not included. This function
is useful for generating SQL statements.
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-3"></a>TQSqlCursor::toString ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;prefix, <a href="tqsqlfield.html">TQSqlField</a>&nbsp;*&nbsp;field, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;fieldSep ) const<tt> [virtual protected]</tt>
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString-3"></a>TQSqlCursor::toString ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;prefix, <a href="tqsqlfield.html">TQSqlField</a>&nbsp;*&nbsp;field, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;fieldSep ) const<tt> [virtual protected]</tt>
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Returns a formatted string composed of the <em>prefix</em> (e.g. table
@@ -684,7 +684,7 @@ field value. If the <em>prefix</em> is empty then the string will begin
with the <em>field</em> name. This function is useful for generating SQL
statements.
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-4"></a>TQSqlCursor::toString ( const&nbsp;<a href="tqsqlindex.html">TQSqlIndex</a>&nbsp;&amp;&nbsp;i, <a href="tqsqlrecord.html">TQSqlRecord</a>&nbsp;*&nbsp;rec, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;prefix, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;fieldSep, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;sep ) const<tt> [virtual protected]</tt>
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString-4"></a>TQSqlCursor::toString ( const&nbsp;<a href="tqsqlindex.html">TQSqlIndex</a>&nbsp;&amp;&nbsp;i, <a href="tqsqlrecord.html">TQSqlRecord</a>&nbsp;*&nbsp;rec, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;prefix, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;fieldSep, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;sep ) const<tt> [virtual protected]</tt>
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Returns a formatted string composed of all the fields in the index
@@ -734,7 +734,7 @@ records the database may be changed into an inconsistent state.
<p> <p>See also <a href="#setMode">setMode</a>() and <a href="tqsqlquery.html#lastError">lastError</a>().
<p>Example: <a href="sql.html#x2201">sql/overview/update/main.cpp</a>.
-<h3 class=fn>int <a name="update-2"></a>TQSqlCursor::update ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter, bool&nbsp;invalidate = TRUE )<tt> [virtual protected]</tt>
+<h3 class=fn>int <a name="update-2"></a>TQSqlCursor::update ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter, bool&nbsp;invalidate = TRUE )<tt> [virtual protected]</tt>
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Updates the database with the current contents of the cursor edit