summaryrefslogtreecommitdiffstats
path: root/src/widgets/tqwidgetplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/tqwidgetplugin.cpp')
-rw-r--r--src/widgets/tqwidgetplugin.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/widgets/tqwidgetplugin.cpp b/src/widgets/tqwidgetplugin.cpp
index 5508ac7f0..3444ebd61 100644
--- a/src/widgets/tqwidgetplugin.cpp
+++ b/src/widgets/tqwidgetplugin.cpp
@@ -221,7 +221,7 @@ bool TQWidgetPluginPrivate::isContainer( const TQString &widget ) const
bool TQWidgetPluginPrivate::init()
{
- return TRUE;
+ return true;
}
void TQWidgetPluginPrivate::cleanup()
@@ -280,7 +280,7 @@ bool TQWidgetPluginPrivate::isPassiveInteractor( const TQString &key, TQWidget *
TQWidgetContainerPlugin *p = (TQWidgetContainerPlugin*)plugin->tqt_cast( "TQWidgetContainerPlugin" );
if ( p )
return p->isPassiveInteractor( key, widget );
- return FALSE;
+ return false;
}
bool TQWidgetPluginPrivate::supportsPages( const TQString &key ) const
@@ -427,14 +427,14 @@ TQString TQWidgetPlugin::whatsThis( const TQString & ) const
}
/*!
- Returns TRUE if the custom widget of class \a key can contain
- other widgets, e.g. like TQFrame; otherwise returns FALSE.
+ Returns true if the custom widget of class \a key can contain
+ other widgets, e.g. like TQFrame; otherwise returns false.
- The default implementation returns FALSE.
+ The default implementation returns false.
*/
bool TQWidgetPlugin::isContainer( const TQString & ) const
{
- return FALSE;
+ return false;
}
#ifdef QT_CONTAINER_CUSTOM_WIDGETS
@@ -574,8 +574,8 @@ TQWidget *TQWidgetContainerPlugin::page( const TQString &, TQWidget *, int ) con
/*!
Operates on the plugin's \a key class.
- Returns TRUE if the \a container custom widget is a passive
- interactor for class \e key; otherwise returns FALSE. The \a
+ Returns true if the \a container custom widget is a passive
+ interactor for class \e key; otherwise returns false. The \a
container is a child widget of the actual custom widget.
Usually, when a custom widget is used in \e{TQt Designer}'s design
@@ -583,35 +583,35 @@ TQWidget *TQWidgetContainerPlugin::page( const TQString &, TQWidget *, int ) con
Designer} filters and processes them itself. If one or more
widgets of a custom widget still need to receive such events, for
example, because the widget needs to change pages, this function
- must return TRUE for the widget. In such cases \e{TQt Designer}
+ must return true for the widget. In such cases \e{TQt Designer}
will not filter out key and mouse events destined for the widget.
If the custom widget is a tab widget, the tab bar is the passive
interactor, since that's what the user will use to change pages.
- The default implementation returns FALSE.
+ The default implementation returns false.
*/
bool TQWidgetContainerPlugin::isPassiveInteractor( const TQString &,
TQWidget *container ) const
{
Q_UNUSED( container )
- return FALSE;
+ return false;
}
/*!
Operates on the plugin's \a key class.
- Returns TRUE if the widget supports pages; otherwise returns
- FALSE. If the custom widget is a tab widget this function should
- return TRUE.
+ Returns true if the widget supports pages; otherwise returns
+ false. If the custom widget is a tab widget this function should
+ return true.
- The default implementation returns FALSE.
+ The default implementation returns false.
*/
bool TQWidgetContainerPlugin::supportsPages( const TQString & ) const
{
- return FALSE;
+ return false;
}
/*!