summaryrefslogtreecommitdiffstats
path: root/tools/designer/uic/embed.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/uic/embed.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/uic/embed.cpp')
-rw-r--r--tools/designer/uic/embed.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/designer/uic/embed.cpp b/tools/designer/uic/embed.cpp
index aa4597d34..0a89ca533 100644
--- a/tools/designer/uic/embed.cpp
+++ b/tools/designer/uic/embed.cpp
@@ -150,7 +150,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima
out << "\n";
TQPtrList<EmbedImage> list_image;
- list_image.setAutoDelete( TRUE );
+ list_image.setAutoDelete( true );
int image_count = 0;
for ( it = images.begin(); it != images.end(); ++it ) {
TQImage img;
@@ -217,9 +217,9 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima
else
out << "0, ";
if ( e->alpha )
- out << "TRUE, ";
+ out << "true, ";
else
- out << "FALSE, ";
+ out << "false, ";
out << "\"" << e->name << "\" },\n";
e = list_image.next();
}
@@ -258,7 +258,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima
" );\n"
#endif
" if ( embed_image_vec[i].alpha )\n"
- " img.setAlphaBuffer(TRUE);\n"
+ " img.setAlphaBuffer(true);\n"
" return img;\n"
" }\n"
" }\n"