summaryrefslogtreecommitdiffstats
path: root/krecipes/src/dialogs/dietwizarddialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-28 21:16:39 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-02 21:17:00 +0900
commitdd228586bd5b9ebce4232be9e354bf4619a13fdd (patch)
tree11b13ec8c944f968930f8c7fee6a7dfb5fdbb6b5 /krecipes/src/dialogs/dietwizarddialog.cpp
parentc72be0a6c7b634249f31c9ec6461ee63c2a654b7 (diff)
downloadkrecipes-dd228586.tar.gz
krecipes-dd228586.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c7dcbcecefbabfeece27deadb5507bfccd0a31b0)
Diffstat (limited to 'krecipes/src/dialogs/dietwizarddialog.cpp')
-rw-r--r--krecipes/src/dialogs/dietwizarddialog.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/krecipes/src/dialogs/dietwizarddialog.cpp b/krecipes/src/dialogs/dietwizarddialog.cpp
index a5d8192..6c66921 100644
--- a/krecipes/src/dialogs/dietwizarddialog.cpp
+++ b/krecipes/src/dialogs/dietwizarddialog.cpp
@@ -97,10 +97,10 @@ DietWizardDialog::DietWizardDialog( TQWidget *parent, RecipeDB *db ) : TQVBox( p
mealTabs->setCurrentPage( mealTabs->indexOf( mealTab ) );
// Signals & Slots
- connect( mealNumberSelector, SIGNAL( valueChanged( int ) ), this, SLOT( changeMealNumber( int ) ) );
- connect( dayNumberSelector, SIGNAL( valueChanged( int ) ), this, SLOT( changeDayNumber( int ) ) );
- connect( okButton, SIGNAL( clicked() ), this, SLOT( createDiet() ) );
- connect( clearButton, SIGNAL( clicked() ), this, SLOT( clear() ) );
+ connect( mealNumberSelector, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( changeMealNumber( int ) ) );
+ connect( dayNumberSelector, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( changeDayNumber( int ) ) );
+ connect( okButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( createDiet() ) );
+ connect( clearButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( clear() ) );
}
@@ -246,7 +246,7 @@ void DietWizardDialog::createDiet( void )
// display the list
DietViewDialog dietDisplay( this, *dietRList, dayNumber, mealNumber, dishNumbers );
- connect( &dietDisplay, SIGNAL( signalOk() ), this, SLOT( createShoppingList() ) );
+ connect( &dietDisplay, TQ_SIGNAL( signalOk() ), this, TQ_SLOT( createShoppingList() ) );
dietDisplay.exec();
}
@@ -366,9 +366,9 @@ MealInput::MealInput( TQWidget *parent, RecipeDB *db ) : TQWidget( parent ),
dishNumberInput->setValue( dishNumber );
// Signals & Slots
- connect( dishNumberInput, SIGNAL( valueChanged( int ) ), this, SLOT( changeDishNumber( int ) ) );
- connect( buttonPrev, SIGNAL( clicked() ), this, SLOT( prevDish() ) );
- connect( buttonNext, SIGNAL( clicked() ), this, SLOT( nextDish() ) );
+ connect( dishNumberInput, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( changeDishNumber( int ) ) );
+ connect( buttonPrev, TQ_SIGNAL( clicked() ), this, TQ_SLOT( prevDish() ) );
+ connect( buttonNext, TQ_SIGNAL( clicked() ), this, TQ_SLOT( nextDish() ) );
}
@@ -494,11 +494,11 @@ DishInput::DishInput( TQWidget* parent, RecipeDB *db, const TQString &title ) :
// Connect Signals & Slots
- connect( constraintsView, SIGNAL( executed( TQListViewItem* ) ), this, SLOT( insertConstraintsEditBoxes( TQListViewItem* ) ) );
- connect( constraintsView, SIGNAL( selectionChanged() ), this, SLOT( hideConstraintInputs() ) );
- connect( constraintsEditBox1, SIGNAL( valueChanged( double ) ), this, SLOT( setMinValue( double ) ) );
- connect( constraintsEditBox2, SIGNAL( valueChanged( double ) ), this, SLOT( setMaxValue( double ) ) );
- connect( categoriesEnabledBox, SIGNAL( toggled( bool ) ), this, SLOT( enableCategories( bool ) ) );
+ connect( constraintsView, TQ_SIGNAL( executed( TQListViewItem* ) ), this, TQ_SLOT( insertConstraintsEditBoxes( TQListViewItem* ) ) );
+ connect( constraintsView, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( hideConstraintInputs() ) );
+ connect( constraintsEditBox1, TQ_SIGNAL( valueChanged( double ) ), this, TQ_SLOT( setMinValue( double ) ) );
+ connect( constraintsEditBox2, TQ_SIGNAL( valueChanged( double ) ), this, TQ_SLOT( setMaxValue( double ) ) );
+ connect( categoriesEnabledBox, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( enableCategories( bool ) ) );
}
DishInput::~DishInput()