diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
commit | dcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch) | |
tree | d57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/tqsqldatabase.html | |
parent | 649c4c61a1f1f479f4532b196f68df476cef2680 (diff) | |
download | tqt-rename/true-false-4.tar.gz tqt-rename/true-false-4.zip |
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqsqldatabase.html')
-rw-r--r-- | doc/html/tqsqldatabase.html | 36 |
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 TQString & type, const TQString & connectionName = defaultConnection )</li> <li class=fn>TQSqlDatabase * <a href="#addDatabase-2"><b>addDatabase</b></a> ( TQSqlDriver * driver, const TQString & connectionName = defaultConnection )</li> -<li class=fn>TQSqlDatabase * <a href="#database"><b>database</b></a> ( const TQString & connectionName = defaultConnection, bool open = TRUE )</li> +<li class=fn>TQSqlDatabase * <a href="#database"><b>database</b></a> ( const TQString & connectionName = defaultConnection, bool open = true )</li> <li class=fn>void <a href="#removeDatabase"><b>removeDatabase</b></a> ( const TQString & connectionName )</li> <li class=fn>void <a href="#removeDatabase-2"><b>removeDatabase</b></a> ( TQSqlDatabase * db )</li> <li class=fn>bool <a href="#contains"><b>contains</b></a> ( const TQString & 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 <a href="tqstring.html">TQString</a> & 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> * <a name="database"></a>TQSqlDatabase::database ( const <a href="tqstring.html">TQString</a> & connectionName = defaultConnection, bool open = TRUE )<tt> [static]</tt> +<h3 class=fn><a href="tqsqldatabase.html">TQSqlDatabase</a> * <a name="database"></a>TQSqlDatabase::database ( const <a href="tqstring.html">TQString</a> & connectionName = defaultConnection, bool 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 <a href="tqstring.html">TQString</a> & 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 <a href="tqstring.html">TQString</a> & user, const <a href="tqstring.html">TQString</a> & 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 <a href="tqstring.html">TQString</a> & 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 |