diff options
Diffstat (limited to 'tools/designer/tquic/object.cpp')
-rw-r--r-- | tools/designer/tquic/object.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/designer/tquic/object.cpp b/tools/designer/tquic/object.cpp index 0ef19843f..c32176435 100644 --- a/tools/designer/tquic/object.cpp +++ b/tools/designer/tquic/object.cpp @@ -88,7 +88,7 @@ void TQUic::createObjectDecl( const TQDomElement& e ) \sa createObjectDecl() */ -static bool createdCentralWidget = FALSE; +static bool createdCentralWidget = false; TQString TQUic::createObjectImpl( const TQDomElement &e, const TQString& parentClass, const TQString& par, const TQString& layout ) { @@ -96,7 +96,7 @@ TQString TQUic::createObjectImpl( const TQDomElement &e, const TQString& parentC if ( parent == "this" && isMainWindow ) { if ( !createdCentralWidget ) out << indent << "setCentralWidget( new TQWidget( this, \"qt_central_widget\" ) );" << endl; - createdCentralWidget = TRUE; + createdCentralWidget = true; parent = "centralWidget()"; } TQDomElement n; @@ -153,7 +153,7 @@ TQString TQUic::createObjectImpl( const TQDomElement &e, const TQString& parentC lastItem = "0"; // 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; @@ -168,7 +168,7 @@ TQString TQUic::createObjectImpl( const TQDomElement &e, const TQString& parentC 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; @@ -617,12 +617,12 @@ TQString TQUic::setObjectProperty( const TQString& objClass, const TQString& obj TQString palette = "pal"; if ( !pal_used ) { out << indent << "TQPalette " << palette << ";" << endl; - pal_used = TRUE; + pal_used = true; } TQString cg = "cg"; if ( !cg_used ) { out << indent << "TQColorGroup " << cg << ";" << endl; - cg_used = TRUE; + cg_used = true; } n = e.firstChild().toElement(); while ( !n.isNull() && n.tagName() != "active" ) |