summaryrefslogtreecommitdiffstats
path: root/doc/html/tqsqldriver.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqsqldriver.html')
-rw-r--r--doc/html/tqsqldriver.html42
1 files changed, 21 insertions, 21 deletions
diff --git a/doc/html/tqsqldriver.html b/doc/html/tqsqldriver.html
index 3b5103805..0797e6ac2 100644
--- a/doc/html/tqsqldriver.html
+++ b/doc/html/tqsqldriver.html
@@ -53,7 +53,7 @@ SQL databases.
<li class=fn>virtual TQSqlRecordInfo <a href="#recordInfo"><b>recordInfo</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;tablename ) const</li>
<li class=fn>virtual TQSqlRecordInfo <a href="#recordInfo-2"><b>recordInfo</b></a> ( const&nbsp;TQSqlQuery&nbsp;&amp;&nbsp;query ) const</li>
<li class=fn>virtual TQString <a href="#nullText"><b>nullText</b></a> () const</li>
-<li class=fn>virtual TQString <a href="#formatValue"><b>formatValue</b></a> ( const&nbsp;TQSqlField&nbsp;*&nbsp;field, bool&nbsp;trimStrings = FALSE ) const</li>
+<li class=fn>virtual TQString <a href="#formatValue"><b>formatValue</b></a> ( const&nbsp;TQSqlField&nbsp;*&nbsp;field, bool&nbsp;trimStrings = false ) const</li>
<li class=fn>TQSqlError <a href="#lastError"><b>lastError</b></a> () const</li>
<li class=fn>virtual bool <a href="#hasFeature"><b>hasFeature</b></a> ( DriverFeature&nbsp;f ) const = 0</li>
<li class=fn>virtual bool <a href="#open"><b>open</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;db, const&nbsp;TQString&nbsp;&amp;&nbsp;user = TQString::null, const&nbsp;TQString&nbsp;&amp;&nbsp;password = TQString::null, const&nbsp;TQString&nbsp;&amp;&nbsp;host = TQString::null, int&nbsp;port = -1 ) = 0</li>
@@ -111,24 +111,24 @@ Destroys the object and frees any allocated resources.
<h3 class=fn>bool <a name="beginTransaction"></a>TQSqlDriver::beginTransaction ()<tt> [virtual]</tt>
</h3>
Protected function which derived classes can reimplement to begin
-a transaction. If successful, return TRUE, otherwise return FALSE.
-The default implementation returns FALSE.
+a transaction. If successful, return true, otherwise return false.
+The default implementation returns false.
<p> <p>See also <a href="#commitTransaction">commitTransaction</a>() and <a href="#rollbackTransaction">rollbackTransaction</a>().
<h3 class=fn>void <a name="close"></a>TQSqlDriver::close ()<tt> [pure virtual]</tt>
</h3>
<p> Derived classes must reimplement this abstract virtual function in
-order to close the database connection. Return TRUE on success,
-FALSE on failure.
+order to close the database connection. Return true on success,
+false on failure.
<p> <p>See also <a href="#setOpen">setOpen</a>().
<p>
<h3 class=fn>bool <a name="commitTransaction"></a>TQSqlDriver::commitTransaction ()<tt> [virtual]</tt>
</h3>
Protected function which derived classes can reimplement to commit
-a transaction. If successful, return TRUE, otherwise return FALSE.
-The default implementation returns FALSE.
+a transaction. If successful, return true, otherwise return false.
+The default implementation returns false.
<p> <p>See also <a href="#beginTransaction">beginTransaction</a>() and <a href="#rollbackTransaction">rollbackTransaction</a>().
<h3 class=fn><a href="tqsqlquery.html">TQSqlQuery</a> <a name="createQuery"></a>TQSqlDriver::createQuery () const<tt> [pure virtual]</tt>
@@ -138,7 +138,7 @@ The default implementation returns FALSE.
reimplement this function and return a <a href="tqsqlquery.html">TQSqlQuery</a> object
appropriate for their database to the caller.
<p>
-<h3 class=fn><a href="tqstring.html">TQString</a> <a name="formatValue"></a>TQSqlDriver::formatValue ( const&nbsp;<a href="tqsqlfield.html">TQSqlField</a>&nbsp;*&nbsp;field, bool&nbsp;trimStrings = FALSE ) const<tt> [virtual]</tt>
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="formatValue"></a>TQSqlDriver::formatValue ( const&nbsp;<a href="tqsqlfield.html">TQSqlField</a>&nbsp;*&nbsp;field, bool&nbsp;trimStrings = false ) const<tt> [virtual]</tt>
</h3>
Returns a string representation of the <em>field</em> value for the
database. This is used, for example, when constructing INSERT and
@@ -151,7 +151,7 @@ according to the following rules:
in single quotation marks, which is appropriate for many SQL
databases. Any embedded single-quote characters are escaped
(replaced with two single-quote characters). If <em>trimStrings</em> is
-TRUE (the default is FALSE), all trailing whitespace is trimmed
+true (the default is false), all trailing whitespace is trimmed
from the field.
<p> <li> If <em>field</em> is date/time data, the value is formatted in ISO
format and enclosed in single quotation marks. If the date/time
@@ -167,21 +167,21 @@ and the result returned.
<h3 class=fn>bool <a name="hasFeature"></a>TQSqlDriver::hasFeature ( <a href="tqsqldriver.html#DriverFeature-enum">DriverFeature</a>&nbsp;f ) const<tt> [pure virtual]</tt>
</h3>
-<p> Returns TRUE if the driver supports feature <em>f</em>; otherwise
-returns FALSE.
+<p> Returns true if the driver supports feature <em>f</em>; otherwise
+returns false.
<p> Note that some databases need to be <a href="#open">open</a>() before this can be
determined.
<p> <p>See also <a href="#DriverFeature-enum">DriverFeature</a>.
<h3 class=fn>bool <a name="isOpen"></a>TQSqlDriver::isOpen () const
</h3>
-Returns TRUE if the database connection is open; otherwise returns
-FALSE.
+Returns true if the database connection is open; otherwise returns
+false.
<h3 class=fn>bool <a name="isOpenError"></a>TQSqlDriver::isOpenError () const
</h3>
-Returns TRUE if the there was an error opening the database
-connection; otherwise returns FALSE.
+Returns true if the there was an error opening the database
+connection; otherwise returns false.
<h3 class=fn><a href="tqsqlerror.html">TQSqlError</a> <a name="lastError"></a>TQSqlDriver::lastError () const
</h3>
@@ -201,7 +201,7 @@ UPDATE statements. The default implementation returns the string
<p> Derived classes must reimplement this abstract virtual function in
order to open a database connection on database <em>db</em>, using user
name <em>user</em>, password <em>password</em>, host <em>host</em> and port <em>port</em>.
-<p> The function <em>must</em> return TRUE on success and FALSE on failure.
+<p> The function <em>must</em> return true on success and false on failure.
<p> <p>See also <a href="#setOpen">setOpen</a>().
<p>
@@ -210,7 +210,7 @@ name <em>user</em>, password <em>password</em>, host <em>host</em> and port <em>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Open a database connection on database <em>db</em>, using user name <em>user</em>, password <em>password</em>, host <em>host</em>, port <em>port</em> and
connection options <em>connOpts</em>.
-<p> Returns TRUE on success and FALSE on failure.
+<p> Returns true on success and false on failure.
<p> <p>See also <a href="#setOpen">setOpen</a>().
<h3 class=fn><a href="tqsqlindex.html">TQSqlIndex</a> <a name="primaryIndex"></a>TQSqlDriver::primaryIndex ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;tableName ) const<tt> [virtual]</tt>
@@ -246,8 +246,8 @@ a table as parameter.
<h3 class=fn>bool <a name="rollbackTransaction"></a>TQSqlDriver::rollbackTransaction ()<tt> [virtual]</tt>
</h3>
Protected function which derived classes can reimplement to
-rollback a transaction. If successful, return TRUE, otherwise
-return FALSE. The default implementation returns FALSE.
+rollback a transaction. If successful, return true, otherwise
+return false. The default implementation returns false.
<p> <p>See also <a href="#beginTransaction">beginTransaction</a>() and <a href="#commitTransaction">commitTransaction</a>().
<h3 class=fn>void <a name="setLastError"></a>TQSqlDriver::setLastError ( const&nbsp;<a href="tqsqlerror.html">TQSqlError</a>&nbsp;&amp;&nbsp;e )<tt> [virtual protected]</tt>
@@ -266,8 +266,8 @@ Protected function which sets the open state of the database to <em>o</em>. Deri
</h3>
Protected function which sets the open error state of the database
to <em>e</em>. Derived classes can use this function to report the
-status of <a href="#open">open</a>(). Note that if <em>e</em> is TRUE the open state of the
-database is set to closed (i.e. <a href="#isOpen">isOpen</a>() returns FALSE).
+status of <a href="#open">open</a>(). Note that if <em>e</em> is true the open state of the
+database is set to closed (i.e. <a href="#isOpen">isOpen</a>() returns false).
<p> <p>See also <a href="#open">open</a>().
<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="tables"></a>TQSqlDriver::tables ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;tableType ) const<tt> [virtual]</tt>