diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-23 11:11:07 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-25 12:57:45 +0900 |
commit | e3823d26a868a9ebb395f4b6e6ff874acae4b595 (patch) | |
tree | b933885a86ba51ab080fc282537c22db7d9d59ee /src/widgets/ingredientinputwidget.cpp | |
parent | 96267a56c09f17c01d909ec8a8b60f1749782755 (diff) | |
download | krecipes-r14.1.4.tar.gz krecipes-r14.1.4.zip |
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d881a9b6b5bcd95524d5e2bd8aea25d89f53f404)
Diffstat (limited to 'src/widgets/ingredientinputwidget.cpp')
-rw-r--r-- | src/widgets/ingredientinputwidget.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/widgets/ingredientinputwidget.cpp b/src/widgets/ingredientinputwidget.cpp index 3c0aa7e..ddf9a16 100644 --- a/src/widgets/ingredientinputwidget.cpp +++ b/src/widgets/ingredientinputwidget.cpp @@ -60,13 +60,13 @@ IngredientInput::IngredientInput( RecipeDB *db, TQWidget *parent, bool allowHead } header_ing_stack = new TQWidgetStack(ingredientVBox); - ingredientBox = new IngredientComboBox( TRUE, header_ing_stack, database ); - ingredientBox->setAutoCompletion( TRUE ); + ingredientBox = new IngredientComboBox( true, header_ing_stack, database ); + ingredientBox->setAutoCompletion( true ); ingredientBox->lineEdit() ->disconnect( ingredientBox ); //so hitting enter doesn't enter the item into the box ingredientBox->setSizePolicy( TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Fixed ) ); header_ing_stack->addWidget( ingredientBox ); - headerBox = new HeaderComboBox( TRUE, header_ing_stack, database ); - headerBox->setAutoCompletion( TRUE ); + headerBox = new HeaderComboBox( true, header_ing_stack, database ); + headerBox->setAutoCompletion( true ); headerBox->lineEdit() ->disconnect( ingredientBox ); //so hitting enter doesn't enter the item into the box headerBox->setSizePolicy( TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Fixed ) ); header_ing_stack->addWidget( headerBox ); @@ -79,15 +79,15 @@ IngredientInput::IngredientInput( RecipeDB *db, TQWidget *parent, bool allowHead TQVBox *unitVBox = new TQVBox( this ); unitLabel = new TQLabel( i18n( "Unit:" ), unitVBox ); - unitBox = new KComboBox( TRUE, unitVBox ); - unitBox->setAutoCompletion( TRUE ); + unitBox = new KComboBox( true, unitVBox ); + unitBox->setAutoCompletion( true ); unitBox->lineEdit() ->disconnect( unitBox ); //so hitting enter doesn't enter the item into the box unitBox->setSizePolicy( TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Fixed ) ); TQVBox *prepMethodVBox = new TQVBox( this ); prepMethodLabel = new TQLabel( i18n( "Preparation Method:" ), prepMethodVBox ); - prepMethodBox = new PrepMethodComboBox( TRUE, prepMethodVBox, database ); - prepMethodBox->setAutoCompletion( TRUE ); + prepMethodBox = new PrepMethodComboBox( true, prepMethodVBox, database ); + prepMethodBox->setAutoCompletion( true ); prepMethodBox->lineEdit() ->disconnect( prepMethodBox ); //so hitting enter doesn't enter the item into the box prepMethodBox->setSizePolicy( TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Fixed ) ); |