summaryrefslogtreecommitdiffstats
path: root/tools/designer/examples/book/connection.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-30 14:27:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-06-25 16:43:08 +0900
commit35ced32e331ee29fda1642616c803637952f5b22 (patch)
treeda44726777f814e19c7ef1e43854f6a1693dd6fb /tools/designer/examples/book/connection.cpp
parent7dd4848d61e4c52091d6c644356c84c67536bde2 (diff)
downloadtqt-35ced32e.tar.gz
tqt-35ced32e.zip
Replace TRUE/FALSE with boolean values true/false - part 1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a7f1e6e2552d9cdbb3d76bff089db522248b9a24)
Diffstat (limited to 'tools/designer/examples/book/connection.cpp')
-rw-r--r--tools/designer/examples/book/connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/designer/examples/book/connection.cpp b/tools/designer/examples/book/connection.cpp
index d9b0df31f..24d38746c 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;
}