diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-30 14:27:29 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-06-25 16:29:01 +0900 |
| commit | a7f1e6e2552d9cdbb3d76bff089db522248b9a24 (patch) | |
| tree | 2e6dd07698083df817163d572443aaf6fdd26651 /tools/designer/examples/book/connection.cpp | |
| parent | 2584dba8aabfa2db8297dcfa258d33545ed6af43 (diff) | |
| download | tqt-a7f1e6e2552d9cdbb3d76bff089db522248b9a24.tar.gz tqt-a7f1e6e2552d9cdbb3d76bff089db522248b9a24.zip | |
Replace TRUE/FALSE with boolean values true/false - part 1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tools/designer/examples/book/connection.cpp')
| -rw-r--r-- | tools/designer/examples/book/connection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/designer/examples/book/connection.cpp b/tools/designer/examples/book/connection.cpp index ff56e15d0..15fa43c56 100644 --- a/tools/designer/examples/book/connection.cpp +++ b/tools/designer/examples/book/connection.cpp @@ -21,7 +21,7 @@ bool createConnections() tqWarning( "Failed to open books database: " + defaultDB->lastError().driverText() ); tqWarning( defaultDB->lastError().databaseText() ); - return FALSE; + return false; } TQSqlQuery q(TQString::null, defaultDB); @@ -46,7 +46,7 @@ bool createConnections() q.exec("INSERT INTO sequence VALUES ( 'author', 2 )"); q.exec("INSERT INTO sequence VALUES ( 'book', 5 )"); - return TRUE; + return true; } |
