summaryrefslogtreecommitdiffstats
path: root/tools/designer/uic/subclassing.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/subclassing.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/subclassing.cpp')
-rw-r--r--tools/designer/uic/subclassing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/designer/uic/subclassing.cpp b/tools/designer/uic/subclassing.cpp
index 17e651f06..cb7a1a92b 100644
--- a/tools/designer/uic/subclassing.cpp
+++ b/tools/designer/uic/subclassing.cpp
@@ -70,7 +70,7 @@ void Uic::createSubDecl( const TQDomElement &e, const TQString& subClass )
// constructor
if ( objClass == "TQDialog" || objClass == "TQWizard" ) {
- out << " " << subClass << "( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );" << endl;
+ out << " " << subClass << "( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );" << endl;
} else { // standard TQWidget
out << " " << subClass << "( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );" << endl;
}
@@ -215,7 +215,7 @@ void Uic::createSubImpl( const TQDomElement &e, const TQString& subClass )
out << " * name 'name' and widget flags set to 'f' " << endl;
out << " *" << endl;
out << " * The " << objClass.mid(1).lower() << " will by default be modeless, unless you set 'modal' to" << endl;
- out << " * TRUE to construct a modal " << objClass.mid(1).lower() << "." << endl;
+ out << " * true to construct a modal " << objClass.mid(1).lower() << "." << endl;
out << " */" << endl;
out << subClass << "::" << subClass << "( TQWidget* parent, const char* name, bool modal, WFlags fl )" << endl;
out << " : " << nameOfClass << "( parent, name, modal, fl )" << endl;