summaryrefslogtreecommitdiffstats
path: root/src/widgets/tqwidgetstack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/tqwidgetstack.cpp')
-rw-r--r--src/widgets/tqwidgetstack.cpp10
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;
}
/*!