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/tqsqldriver.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/tqsqldriver.html')
-rw-r--r-- | doc/html/tqsqldriver.html | 42 |
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 TQString & tablename ) const</li> <li class=fn>virtual TQSqlRecordInfo <a href="#recordInfo-2"><b>recordInfo</b></a> ( const TQSqlQuery & 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 TQSqlField * field, bool trimStrings = FALSE ) const</li> +<li class=fn>virtual TQString <a href="#formatValue"><b>formatValue</b></a> ( const TQSqlField * field, bool 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 f ) const = 0</li> <li class=fn>virtual bool <a href="#open"><b>open</b></a> ( const TQString & db, const TQString & user = TQString::null, const TQString & password = TQString::null, const TQString & host = TQString::null, int 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 <a href="tqsqlfield.html">TQSqlField</a> * field, bool trimStrings = FALSE ) const<tt> [virtual]</tt> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="formatValue"></a>TQSqlDriver::formatValue ( const <a href="tqsqlfield.html">TQSqlField</a> * field, bool 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> 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 <a href="tqstring.html">TQString</a> & 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 <a href="tqsqlerror.html">TQSqlError</a> & 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 <a href="tqstring.html">TQString</a> & tableType ) const<tt> [virtual]</tt> |