summaryrefslogtreecommitdiffstats
path: root/doc/html/tqsqldatabase.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqsqldatabase.html')
-rw-r--r--doc/html/tqsqldatabase.html36
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/html/tqsqldatabase.html b/doc/html/tqsqldatabase.html
index 57528aec3..9c8d96172 100644
--- a/doc/html/tqsqldatabase.html
+++ b/doc/html/tqsqldatabase.html
@@ -75,7 +75,7 @@ connections and to provide transaction handling.
<ul>
<li class=fn>TQSqlDatabase * <a href="#addDatabase"><b>addDatabase</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;type, const&nbsp;TQString&nbsp;&amp;&nbsp;connectionName = defaultConnection )</li>
<li class=fn>TQSqlDatabase * <a href="#addDatabase-2"><b>addDatabase</b></a> ( TQSqlDriver&nbsp;*&nbsp;driver, const&nbsp;TQString&nbsp;&amp;&nbsp;connectionName = defaultConnection )</li>
-<li class=fn>TQSqlDatabase * <a href="#database"><b>database</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;connectionName = defaultConnection, bool&nbsp;open = TRUE )</li>
+<li class=fn>TQSqlDatabase * <a href="#database"><b>database</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;connectionName = defaultConnection, bool&nbsp;open = true )</li>
<li class=fn>void <a href="#removeDatabase"><b>removeDatabase</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;connectionName )</li>
<li class=fn>void <a href="#removeDatabase-2"><b>removeDatabase</b></a> ( TQSqlDatabase&nbsp;*&nbsp;db )</li>
<li class=fn>bool <a href="#contains"><b>contains</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;connectionName = defaultConnection )</li>
@@ -276,8 +276,8 @@ Closes the database connection, freeing any resources acquired.
<h3 class=fn>bool <a name="commit"></a>TQSqlDatabase::commit ()
</h3>
Commits a transaction to the database if the driver supports
-transactions. Returns TRUE if the operation succeeded; otherwise
-returns FALSE.
+transactions. Returns true if the operation succeeded; otherwise
+returns false.
<p> <p>See also <a href="tqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>() and <a href="#rollback">rollback</a>().
<h3 class=fn><a href="tqstring.html">TQString</a> <a name="connectOptions"></a>TQSqlDatabase::connectOptions () const
@@ -285,13 +285,13 @@ returns FALSE.
See the <a href="tqsqldatabase.html#connectOptions-prop">"connectOptions"</a> property for details.
<h3 class=fn>bool <a name="contains"></a>TQSqlDatabase::contains ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;connectionName = defaultConnection )<tt> [static]</tt>
</h3>
-Returns TRUE if the list of database connections contains <em>connectionName</em>; otherwise returns FALSE.
+Returns true if the list of database connections contains <em>connectionName</em>; otherwise returns false.
-<h3 class=fn><a href="tqsqldatabase.html">TQSqlDatabase</a>&nbsp;* <a name="database"></a>TQSqlDatabase::database ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;connectionName = defaultConnection, bool&nbsp;open = TRUE )<tt> [static]</tt>
+<h3 class=fn><a href="tqsqldatabase.html">TQSqlDatabase</a>&nbsp;* <a name="database"></a>TQSqlDatabase::database ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;connectionName = defaultConnection, bool&nbsp;open = true )<tt> [static]</tt>
</h3>
Returns the database connection called <em>connectionName</em>. The
database connection must have been previously added with
-<a href="#addDatabase">addDatabase</a>(). If <em>open</em> is TRUE (the default) and the database
+<a href="#addDatabase">addDatabase</a>(). If <em>open</em> is true (the default) and the database
connection is not already open it is opened now. If no <em>connectionName</em> is specified the default connection is used. If <em>connectionName</em> does not exist in the list of databases, 0 is
returned. The pointer returned is owned by TQSqlDatabase and should
<em>not</em> be deleted.
@@ -340,19 +340,19 @@ is not affected.
See the <a href="tqsqldatabase.html#hostName-prop">"hostName"</a> property for details.
<h3 class=fn>bool <a name="isDriverAvailable"></a>TQSqlDatabase::isDriverAvailable ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;name )<tt> [static]</tt>
</h3>
-Returns TRUE if a driver called <em>name</em> is available; otherwise
-returns FALSE.
+Returns true if a driver called <em>name</em> is available; otherwise
+returns false.
<p> <p>See also <a href="#drivers">drivers</a>().
<h3 class=fn>bool <a name="isOpen"></a>TQSqlDatabase::isOpen () const
</h3>
-Returns TRUE if the database connection is currently open;
-otherwise returns FALSE.
+Returns true if the database connection is currently open;
+otherwise returns false.
<h3 class=fn>bool <a name="isOpenError"></a>TQSqlDatabase::isOpenError () const
</h3>
-Returns TRUE if there was an error opening the database
-connection; otherwise returns FALSE. Error information can be
+Returns true if there was an error opening the database
+connection; otherwise returns false. Error information can be
retrieved using the <a href="#lastError">lastError</a>() function.
<h3 class=fn><a href="tqsqlerror.html">TQSqlError</a> <a name="lastError"></a>TQSqlDatabase::lastError () const
@@ -364,7 +364,7 @@ database. See <a href="tqsqlerror.html">TQSqlError</a> for more information.
<h3 class=fn>bool <a name="open"></a>TQSqlDatabase::open ()
</h3>
Opens the database connection using the current connection values.
-Returns TRUE on success; otherwise returns FALSE. Error
+Returns true on success; otherwise returns false. Error
information can be retrieved using the <a href="#lastError">lastError</a>() function.
<p> <p>See also <a href="#lastError">lastError</a>().
@@ -372,7 +372,7 @@ information can be retrieved using the <a href="#lastError">lastError</a>() func
<h3 class=fn>bool <a name="open-2"></a>TQSqlDatabase::open ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;user, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;password )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-<p> Opens the database connection using the given <em>user</em> name and <em>password</em>. Returns TRUE on success; otherwise returns FALSE. Error
+<p> Opens the database connection using the given <em>user</em> name and <em>password</em>. Returns true on success; otherwise returns false. Error
information can be retrieved using the <a href="#lastError">lastError</a>() function.
<p> This function does not store the password it is given. Instead,
the password is passed directly to the driver for opening a
@@ -459,8 +459,8 @@ will occur.
<h3 class=fn>bool <a name="rollback"></a>TQSqlDatabase::rollback ()
</h3>
Rolls a transaction back on the database if the driver supports
-transactions. Returns TRUE if the operation succeeded; otherwise
-returns FALSE.
+transactions. Returns true if the operation succeeded; otherwise
+returns false.
<p> <p>See also <a href="tqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>(), <a href="#commit">commit</a>(), and <a href="#transaction">transaction</a>().
<h3 class=fn>void <a name="setConnectOptions"></a>TQSqlDatabase::setConnectOptions ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;options = TQString::null )
@@ -519,8 +519,8 @@ over a copy, e.g.
<h3 class=fn>bool <a name="transaction"></a>TQSqlDatabase::transaction ()
</h3>
Begins a transaction on the database if the driver supports
-transactions. Returns TRUE if the operation succeeded; otherwise
-returns FALSE.
+transactions. Returns true if the operation succeeded; otherwise
+returns false.
<p> <p>See also <a href="tqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>(), <a href="#commit">commit</a>(), and <a href="#rollback">rollback</a>().
<h3 class=fn><a href="tqstring.html">TQString</a> <a name="userName"></a>TQSqlDatabase::userName () const