diff options
Diffstat (limited to 'krecipes/src/dialogs/dietwizarddialog.cpp')
-rw-r--r-- | krecipes/src/dialogs/dietwizarddialog.cpp | 26 |
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() |