diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-30 14:27:29 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-06-25 16:43:08 +0900 |
| commit | 35ced32e331ee29fda1642616c803637952f5b22 (patch) | |
| tree | da44726777f814e19c7ef1e43854f6a1693dd6fb /tools/designer/examples/credit/creditformbase.cpp | |
| parent | 7dd4848d61e4c52091d6c644356c84c67536bde2 (diff) | |
| download | tqt-35ced32e.tar.gz tqt-35ced32e.zip | |
Replace TRUE/FALSE with boolean values true/false - part 1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a7f1e6e2552d9cdbb3d76bff089db522248b9a24)
Diffstat (limited to 'tools/designer/examples/credit/creditformbase.cpp')
| -rw-r--r-- | tools/designer/examples/credit/creditformbase.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/designer/examples/credit/creditformbase.cpp b/tools/designer/examples/credit/creditformbase.cpp index 372a756d3..79ed73d22 100644 --- a/tools/designer/examples/credit/creditformbase.cpp +++ b/tools/designer/examples/credit/creditformbase.cpp @@ -36,7 +36,7 @@ static TQPixmap uic_load_pixmap_CreditFormBase( const TQString &name ) * name 'name' and widget flags set to 'f'. * * The dialog will by default be modeless, unless you set 'modal' to - * TRUE to construct a modal dialog. + * true to construct a modal dialog. */ CreditFormBase::CreditFormBase( TQWidget* parent, const char* name, bool modal, WFlags fl ) : TQDialog( parent, name, modal, fl ) @@ -61,7 +61,7 @@ CreditFormBase::CreditFormBase( TQWidget* parent, const char* name, bool modal, stdRadioButton = new TQRadioButton( creditButtonGroup, "stdRadioButton" ); stdRadioButton->setText( trUtf8( "&Standard", "" ) ); - stdRadioButton->setChecked( TRUE ); + stdRadioButton->setChecked( true ); creditButtonGroupLayout->addWidget( stdRadioButton ); noneRadioButton = new TQRadioButton( creditButtonGroup, "noneRadioButton" ); @@ -74,7 +74,7 @@ CreditFormBase::CreditFormBase( TQWidget* parent, const char* name, bool modal, CreditFormBaseLayout->addWidget( creditButtonGroup ); amountSpinBox = new TQSpinBox( this, "amountSpinBox" ); - amountSpinBox->setEnabled( FALSE ); + amountSpinBox->setEnabled( false ); amountSpinBox->setPrefix( trUtf8( "$ ", "" ) ); amountSpinBox->setButtonSymbols( TQSpinBox::UpDownArrows ); amountSpinBox->setMaxValue( 100000 ); @@ -89,7 +89,7 @@ CreditFormBase::CreditFormBase( TQWidget* parent, const char* name, bool modal, okPushButton = new TQPushButton( this, "okPushButton" ); okPushButton->setText( trUtf8( "OK", "" ) ); - okPushButton->setDefault( TRUE ); + okPushButton->setDefault( true ); Layout4->addWidget( okPushButton ); TQSpacerItem* spacer_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); Layout4->addItem( spacer_2 ); |
