summaryrefslogtreecommitdiffstats
path: root/puic/object.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-02 13:19:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-03 10:33:33 +0900
commit35ae72ca02b756a4829dca2f3642652739b6a2bd (patch)
tree0d13159afe4f3eba0fdb7cc23372667794b96e8e /puic/object.cpp
parent8e2be4fd190957e3fc2c37ab19deed3299f4e3d3 (diff)
downloadlibtqt-perl-r14.1.4.tar.gz
libtqt-perl-r14.1.4.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4r14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f3c7a90bfa0646afefeaa7af84edf625cdadf78d)
Diffstat (limited to 'puic/object.cpp')
-rw-r--r--puic/object.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/puic/object.cpp b/puic/object.cpp
index 21f532e..ef7dd39 100644
--- a/puic/object.cpp
+++ b/puic/object.cpp
@@ -97,7 +97,7 @@ void Uic::createAttrDecl( const TQDomElement& e )
\sa createObjectDecl()
*/
-static bool createdCentralWidget = FALSE;
+static bool createdCentralWidget = false;
TQString Uic::createObjectImpl( const TQDomElement &e, const TQString& parentClass, const TQString& par, const TQString& layout )
{
@@ -105,7 +105,7 @@ TQString Uic::createObjectImpl( const TQDomElement &e, const TQString& parentCla
if ( parent == "this" && isMainWindow ) {
if ( !createdCentralWidget )
out << indent << "setCentralWidget(TQt::Widget(this, \"qt_central_widget\"));" << endl;
- createdCentralWidget = TRUE;
+ createdCentralWidget = true;
parent = "centralWidget()";
}
TQDomElement n;
@@ -172,7 +172,7 @@ TQString Uic::createObjectImpl( const TQDomElement &e, const TQString& parentCla
lastItem = "undef";
// set the properties and insert items
- bool hadFrameShadow = FALSE;
+ bool hadFrameShadow = false;
for ( n = e.firstChild().toElement(); !n.isNull(); n = n.nextSibling().toElement() ) {
if ( n.tagName() == "property" ) {
bool stdset = stdsetdef;
@@ -187,7 +187,7 @@ TQString Uic::createObjectImpl( const TQDomElement &e, const TQString& parentCla
if ( prop == "name" )
continue;
if ( isLine && prop == "frameShadow" )
- hadFrameShadow = TRUE;
+ hadFrameShadow = true;
if ( prop == "buddy" && value.startsWith("\"") && value.endsWith("\"") ) {
buddies << Buddy( objName, value.mid(1, value.length() - 2 ) );
continue;