diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-26 14:08:52 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-27 22:38:28 +0900 |
| commit | 50326e196a9245af21604da7dc3a36eea52784ed (patch) | |
| tree | 955f50c739379c59d3846c5c6ec25c8f5856fb91 /src/widgets/tqwidgetstack.cpp | |
| parent | 854c5d5c9cfd48a2d5a17366fb6805219eab4859 (diff) | |
| download | tqt-50326e196a9245af21604da7dc3a36eea52784ed.tar.gz tqt-50326e196a9245af21604da7dc3a36eea52784ed.zip | |
Replace TRUE/FALSE with boolean values true/false - part 10
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/widgets/tqwidgetstack.cpp')
| -rw-r--r-- | src/widgets/tqwidgetstack.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/widgets/tqwidgetstack.cpp b/src/widgets/tqwidgetstack.cpp index d751fb243..267a79d54 100644 --- a/src/widgets/tqwidgetstack.cpp +++ b/src/widgets/tqwidgetstack.cpp @@ -87,7 +87,7 @@ public: bool eventFilter( TQObject *o, TQEvent * e ) { if ( e->type() == TQEvent::LayoutHint && o->isWidgetType() ) ((TQWidget*)o)->updateGeometry(); - return FALSE; + return false; } }; @@ -230,7 +230,7 @@ int TQWidgetStack::addWidget( TQWidget * w, int id ) w->hide(); if ( w->parent() != this ) - w->reparent( this, contentsRect().topLeft(), FALSE ); + w->reparent( this, contentsRect().topLeft(), false ); w->setGeometry( contentsRect() ); updateGeometry(); return id; @@ -280,7 +280,7 @@ static bool isChildOf( TQWidget* child, TQWidget *parent ) { const TQObjectList *list = parent->children(); if ( !child || !list ) - return FALSE; + return false; TQObjectListIt it(*list); TQObject *obj; while ( (obj = it.current()) ) { @@ -289,9 +289,9 @@ static bool isChildOf( TQWidget* child, TQWidget *parent ) continue; TQWidget *widget = (TQWidget *)obj; if ( widget == child || isChildOf( child, widget ) ) - return TRUE; + return true; } - return FALSE; + return false; } /*! |
