diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-02 13:19:40 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-03 10:33:33 +0900 |
commit | 35ae72ca02b756a4829dca2f3642652739b6a2bd (patch) | |
tree | 0d13159afe4f3eba0fdb7cc23372667794b96e8e /puic/object.cpp | |
parent | 8e2be4fd190957e3fc2c37ab19deed3299f4e3d3 (diff) | |
download | libtqt-perl-r14.1.4.tar.gz libtqt-perl-r14.1.4.zip |
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.cpp | 8 |
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; |