diff options
Diffstat (limited to 'src/dialogs/tqtabdialog.cpp')
| -rw-r--r-- | src/dialogs/tqtabdialog.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/dialogs/tqtabdialog.cpp b/src/dialogs/tqtabdialog.cpp index b312ccc64..c0ad02698 100644 --- a/src/dialogs/tqtabdialog.cpp +++ b/src/dialogs/tqtabdialog.cpp @@ -196,7 +196,7 @@ TQTabDialog::TQTabDialog( TQWidget *parent, const char *name, bool modal, d->ok = new TQPushButton( this, "ok" ); TQ_CHECK_PTR( d->ok ); d->ok->setText( tr("OK") ); - d->ok->setDefault( TRUE ); + d->ok->setDefault( true ); connect( d->ok, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(applyButtonPressed()) ); connect( d->ok, TQ_SIGNAL(clicked()), @@ -242,8 +242,8 @@ void TQTabDialog::setFont( const TQFont & font ) /*! - Returns TRUE if the tab dialog has a Defaults button; otherwise - returns FALSE. + Returns true if the tab dialog has a Defaults button; otherwise + returns false. \sa setDefaultButton() defaultButtonPressed() hasApplyButton() hasCancelButton() @@ -256,8 +256,8 @@ bool TQTabDialog::hasDefaultButton() const /*! - Returns TRUE if the tab dialog has a Help button; otherwise returns - FALSE. + Returns true if the tab dialog has a Help button; otherwise returns + false. \sa setHelpButton() helpButtonPressed() hasApplyButton() hasCancelButton() @@ -284,8 +284,8 @@ bool TQTabDialog::hasHelpButton() const /*! - Returns TRUE if the tab dialog has a Cancel button; otherwise - returns FALSE. + Returns true if the tab dialog has a Cancel button; otherwise + returns false. \sa setCancelButton() cancelButtonPressed() hasApplyButton() hasDefaultButton() @@ -322,8 +322,8 @@ bool TQTabDialog::hasCancelButton() const /*! - Returns TRUE if the tab dialog has an Apply button; otherwise - returns FALSE. + Returns true if the tab dialog has an Apply button; otherwise + returns false. \sa setApplyButton() applyButtonPressed() hasCancelButton() hasDefaultButton() @@ -336,8 +336,8 @@ bool TQTabDialog::hasApplyButton() const /*! - Returns TRUE if the tab dialog has an OK button; otherwise returns - FALSE. + Returns true if the tab dialog has an OK button; otherwise returns + false. \sa setOkButton() hasApplyButton() hasCancelButton() hasDefaultButton() @@ -543,11 +543,11 @@ void TQTabDialog::showPage( TQWidget * w ) /*! \obsolete - Returns TRUE if the page with object name \a name is enabled and - FALSE if it is disabled. + Returns true if the page with object name \a name is enabled and + false if it is disabled. If \a name is 0 or not the name of any of the pages, isTabEnabled() - returns FALSE. + returns false. \sa setTabEnabled(), TQWidget::isEnabled() */ @@ -555,9 +555,9 @@ void TQTabDialog::showPage( TQWidget * w ) bool TQTabDialog::isTabEnabled( const char* name ) const { if ( !name ) - return FALSE; + return false; TQObjectList * l - = ((TQTabDialog *)this)->queryList( "TQWidget", name, FALSE, TRUE ); + = ((TQTabDialog *)this)->queryList( "TQWidget", name, false, true ); if ( l && l->first() ) { TQWidget * w; while( l->current() ) { @@ -572,7 +572,7 @@ bool TQTabDialog::isTabEnabled( const char* name ) const } } delete l; - return FALSE; + return false; } @@ -600,7 +600,7 @@ void TQTabDialog::setTabEnabled( const char* name, bool enable ) if ( !name ) return; TQObjectList * l - = ((TQTabDialog *)this)->queryList( "TQWidget", name, FALSE, TRUE ); + = ((TQTabDialog *)this)->queryList( "TQWidget", name, false, true ); if ( l && l->first() ) { TQObjectListIt it(*l); TQObject *o; @@ -632,7 +632,7 @@ void TQTabDialog::setTabEnabled( const char* name, bool enable ) /*! - Returns TRUE if the page \a w is enabled; otherwise returns FALSE. + Returns true if the page \a w is enabled; otherwise returns false. \sa setTabEnabled(), TQWidget::isEnabled() */ @@ -643,7 +643,7 @@ bool TQTabDialog::isTabEnabled( TQWidget* w ) const } /*! - If \a enable is TRUE the page \a w is enabled; otherwise \a w is + If \a enable is true the page \a w is enabled; otherwise \a w is disabled. The page's tab is redrawn appropriately. TQTabWidget uses TQWidget::setEnabled() internally, rather than keeping a |
