@ -467,50 +467,50 @@ AdvancedSearchDialog::AdvancedSearchDialog( TQWidget *parent, RecipeDB *db ) : T
actionHandler = new RecipeActionsHandler ( resultsListView , database , RecipeActionsHandler : : Open | RecipeActionsHandler : : Edit | RecipeActionsHandler : : Export | RecipeActionsHandler : : CopyToClipboard | RecipeActionsHandler : : Remove ) ;
connect ( titleEdit , SIGNAL( returnPressed ( ) ) , SLOT( search ( ) ) ) ;
connect ( ingredientsAllEdit , SIGNAL( returnPressed ( ) ) , SLOT( search ( ) ) ) ;
connect ( ingredientsAnyEdit , SIGNAL( returnPressed ( ) ) , SLOT( search ( ) ) ) ;
connect ( ingredientsWithoutEdit , SIGNAL( returnPressed ( ) ) , SLOT( search ( ) ) ) ;
connect ( authorsAnyEdit , SIGNAL( returnPressed ( ) ) , SLOT( search ( ) ) ) ;
connect ( authorsAllEdit , SIGNAL( returnPressed ( ) ) , SLOT( search ( ) ) ) ;
connect ( authorsWithoutEdit , SIGNAL( returnPressed ( ) ) , SLOT( search ( ) ) ) ;
connect ( categoriesNotEdit , SIGNAL( returnPressed ( ) ) , SLOT( search ( ) ) ) ;
connect ( categoriesAnyEdit , SIGNAL( returnPressed ( ) ) , SLOT( search ( ) ) ) ;
connect ( categoriesAllEdit , SIGNAL( returnPressed ( ) ) , SLOT( search ( ) ) ) ;
connect ( ingredientsWithoutEdit , SIGNAL( returnPressed ( ) ) , SLOT( search ( ) ) ) ;
connect ( instructionsEdit , SIGNAL( returnPressed ( ) ) , SLOT( search ( ) ) ) ;
connect ( findButton , SIGNAL( clicked ( ) ) , SLOT( search ( ) ) ) ;
connect ( clearButton , SIGNAL( clicked ( ) ) , SLOT( clear ( ) ) ) ;
connect ( enableServingsCheckBox , SIGNAL( toggled ( bool ) ) , servingsSpinBox , SLOT( setEnabled ( bool ) ) ) ;
connect ( enableServingsCheckBox , SIGNAL( toggled ( bool ) ) , servingsComboBox , SLOT( setEnabled ( bool ) ) ) ;
connect ( enablePrepTimeCheckBox , SIGNAL( toggled ( bool ) ) , prepTimeEdit , SLOT( setEnabled ( bool ) ) ) ;
connect ( enablePrepTimeCheckBox , SIGNAL( toggled ( bool ) ) , prepTimeComboBox , SLOT( setEnabled ( bool ) ) ) ;
connect ( titleButton , SIGNAL( toggled ( bool ) ) , titleFrame , SLOT( setShown ( bool ) ) ) ;
connect ( ingredientButton , SIGNAL( toggled ( bool ) ) , ingredientFrame , SLOT( setShown ( bool ) ) ) ;
connect ( authorsButton , SIGNAL( toggled ( bool ) ) , authorsFrame , SLOT( setShown ( bool ) ) ) ;
connect ( categoriesButton , SIGNAL( toggled ( bool ) ) , categoryFrame , SLOT( setShown ( bool ) ) ) ;
connect ( servingsButton , SIGNAL( toggled ( bool ) ) , servingsFrame , SLOT( setShown ( bool ) ) ) ;
connect ( prepTimeButton , SIGNAL( toggled ( bool ) ) , prepTimeFrame , SLOT( setShown ( bool ) ) ) ;
connect ( instructionsButton , SIGNAL( toggled ( bool ) ) , instructionsFrame , SLOT( setShown ( bool ) ) ) ;
connect ( metaDataButton , SIGNAL( toggled ( bool ) ) , metaDataFrame , SLOT( setShown ( bool ) ) ) ;
connect ( ratingsButton , SIGNAL( toggled ( bool ) ) , ratingButtonGroup , SLOT( setShown ( bool ) ) ) ;
connect ( titleButton , SIGNAL( toggled ( bool ) ) , SLOT( buttonSwitched ( ) ) ) ;
connect ( ingredientButton , SIGNAL( toggled ( bool ) ) , SLOT( buttonSwitched ( ) ) ) ;
connect ( authorsButton , SIGNAL( toggled ( bool ) ) , SLOT( buttonSwitched ( ) ) ) ;
connect ( categoriesButton , SIGNAL( toggled ( bool ) ) , SLOT( buttonSwitched ( ) ) ) ;
connect ( servingsButton , SIGNAL( toggled ( bool ) ) , SLOT( buttonSwitched ( ) ) ) ;
connect ( prepTimeButton , SIGNAL( toggled ( bool ) ) , SLOT( buttonSwitched ( ) ) ) ;
connect ( instructionsButton , SIGNAL( toggled ( bool ) ) , SLOT( buttonSwitched ( ) ) ) ;
connect ( metaDataButton , SIGNAL( toggled ( bool ) ) , SLOT( buttonSwitched ( ) ) ) ;
connect ( ratingsButton , SIGNAL( toggled ( bool ) ) , SLOT( buttonSwitched ( ) ) ) ;
connect ( ratingButtonGroup , SIGNAL( clicked ( int ) ) , this , SLOT( activateRatingOption ( int ) ) ) ;
connect ( addCriteriaButton , SIGNAL( clicked ( ) ) , this , SLOT( slotAddRatingCriteria ( ) ) ) ;
connect ( titleEdit , TQ_ SIGNAL( returnPressed ( ) ) , TQ_ SLOT( search ( ) ) ) ;
connect ( ingredientsAllEdit , TQ_ SIGNAL( returnPressed ( ) ) , TQ_ SLOT( search ( ) ) ) ;
connect ( ingredientsAnyEdit , TQ_ SIGNAL( returnPressed ( ) ) , TQ_ SLOT( search ( ) ) ) ;
connect ( ingredientsWithoutEdit , TQ_ SIGNAL( returnPressed ( ) ) , TQ_ SLOT( search ( ) ) ) ;
connect ( authorsAnyEdit , TQ_ SIGNAL( returnPressed ( ) ) , TQ_ SLOT( search ( ) ) ) ;
connect ( authorsAllEdit , TQ_ SIGNAL( returnPressed ( ) ) , TQ_ SLOT( search ( ) ) ) ;
connect ( authorsWithoutEdit , TQ_ SIGNAL( returnPressed ( ) ) , TQ_ SLOT( search ( ) ) ) ;
connect ( categoriesNotEdit , TQ_ SIGNAL( returnPressed ( ) ) , TQ_ SLOT( search ( ) ) ) ;
connect ( categoriesAnyEdit , TQ_ SIGNAL( returnPressed ( ) ) , TQ_ SLOT( search ( ) ) ) ;
connect ( categoriesAllEdit , TQ_ SIGNAL( returnPressed ( ) ) , TQ_ SLOT( search ( ) ) ) ;
connect ( ingredientsWithoutEdit , TQ_ SIGNAL( returnPressed ( ) ) , TQ_ SLOT( search ( ) ) ) ;
connect ( instructionsEdit , TQ_ SIGNAL( returnPressed ( ) ) , TQ_ SLOT( search ( ) ) ) ;
connect ( findButton , TQ_ SIGNAL( clicked ( ) ) , TQ_ SLOT( search ( ) ) ) ;
connect ( clearButton , TQ_ SIGNAL( clicked ( ) ) , TQ_ SLOT( clear ( ) ) ) ;
connect ( enableServingsCheckBox , TQ_ SIGNAL( toggled ( bool ) ) , servingsSpinBox , TQ_ SLOT( setEnabled ( bool ) ) ) ;
connect ( enableServingsCheckBox , TQ_ SIGNAL( toggled ( bool ) ) , servingsComboBox , TQ_ SLOT( setEnabled ( bool ) ) ) ;
connect ( enablePrepTimeCheckBox , TQ_ SIGNAL( toggled ( bool ) ) , prepTimeEdit , TQ_ SLOT( setEnabled ( bool ) ) ) ;
connect ( enablePrepTimeCheckBox , TQ_ SIGNAL( toggled ( bool ) ) , prepTimeComboBox , TQ_ SLOT( setEnabled ( bool ) ) ) ;
connect ( titleButton , TQ_ SIGNAL( toggled ( bool ) ) , titleFrame , TQ_ SLOT( setShown ( bool ) ) ) ;
connect ( ingredientButton , TQ_ SIGNAL( toggled ( bool ) ) , ingredientFrame , TQ_ SLOT( setShown ( bool ) ) ) ;
connect ( authorsButton , TQ_ SIGNAL( toggled ( bool ) ) , authorsFrame , TQ_ SLOT( setShown ( bool ) ) ) ;
connect ( categoriesButton , TQ_ SIGNAL( toggled ( bool ) ) , categoryFrame , TQ_ SLOT( setShown ( bool ) ) ) ;
connect ( servingsButton , TQ_ SIGNAL( toggled ( bool ) ) , servingsFrame , TQ_ SLOT( setShown ( bool ) ) ) ;
connect ( prepTimeButton , TQ_ SIGNAL( toggled ( bool ) ) , prepTimeFrame , TQ_ SLOT( setShown ( bool ) ) ) ;
connect ( instructionsButton , TQ_ SIGNAL( toggled ( bool ) ) , instructionsFrame , TQ_ SLOT( setShown ( bool ) ) ) ;
connect ( metaDataButton , TQ_ SIGNAL( toggled ( bool ) ) , metaDataFrame , TQ_ SLOT( setShown ( bool ) ) ) ;
connect ( ratingsButton , TQ_ SIGNAL( toggled ( bool ) ) , ratingButtonGroup , TQ_ SLOT( setShown ( bool ) ) ) ;
connect ( titleButton , TQ_ SIGNAL( toggled ( bool ) ) , TQ_ SLOT( buttonSwitched ( ) ) ) ;
connect ( ingredientButton , TQ_ SIGNAL( toggled ( bool ) ) , TQ_ SLOT( buttonSwitched ( ) ) ) ;
connect ( authorsButton , TQ_ SIGNAL( toggled ( bool ) ) , TQ_ SLOT( buttonSwitched ( ) ) ) ;
connect ( categoriesButton , TQ_ SIGNAL( toggled ( bool ) ) , TQ_ SLOT( buttonSwitched ( ) ) ) ;
connect ( servingsButton , TQ_ SIGNAL( toggled ( bool ) ) , TQ_ SLOT( buttonSwitched ( ) ) ) ;
connect ( prepTimeButton , TQ_ SIGNAL( toggled ( bool ) ) , TQ_ SLOT( buttonSwitched ( ) ) ) ;
connect ( instructionsButton , TQ_ SIGNAL( toggled ( bool ) ) , TQ_ SLOT( buttonSwitched ( ) ) ) ;
connect ( metaDataButton , TQ_ SIGNAL( toggled ( bool ) ) , TQ_ SLOT( buttonSwitched ( ) ) ) ;
connect ( ratingsButton , TQ_ SIGNAL( toggled ( bool ) ) , TQ_ SLOT( buttonSwitched ( ) ) ) ;
connect ( ratingButtonGroup , TQ_ SIGNAL( clicked ( int ) ) , this , TQ_ SLOT( activateRatingOption ( int ) ) ) ;
connect ( addCriteriaButton , TQ_ SIGNAL( clicked ( ) ) , this , TQ_ SLOT( slotAddRatingCriteria ( ) ) ) ;
titleFrame - > setShown ( false ) ;
ingredientFrame - > setShown ( false ) ;
@ -522,15 +522,15 @@ AdvancedSearchDialog::AdvancedSearchDialog( TQWidget *parent, RecipeDB *db ) : T
metaDataFrame - > setShown ( false ) ;
ratingButtonGroup - > setShown ( false ) ;
connect ( actionHandler , SIGNAL( recipeSelected ( int , int ) ) , SIGNAL( recipeSelected ( int , int ) ) ) ;
connect ( actionHandler , SIGNAL( recipesSelected ( const TQValueList < int > & , int ) ) , SIGNAL( recipesSelected ( const TQValueList < int > & , int ) ) ) ;
connect ( actionHandler , TQ_ SIGNAL( recipeSelected ( int , int ) ) , TQ_ SIGNAL( recipeSelected ( int , int ) ) ) ;
connect ( actionHandler , TQ_ SIGNAL( recipesSelected ( const TQValueList < int > & , int ) ) , TQ_ SIGNAL( recipesSelected ( const TQValueList < int > & , int ) ) ) ;
connect ( database , SIGNAL( recipeRemoved ( int ) ) , SLOT( removeRecipe ( int ) ) ) ;
connect ( database , TQ_ SIGNAL( recipeRemoved ( int ) ) , TQ_ SLOT( removeRecipe ( int ) ) ) ;
clear ( ) ;
TDEPopupMenu * kpop = new TDEPopupMenu ( criteriaListView ) ;
kpop - > insertItem ( i18n ( " &Delete " ) , this , SLOT( slotRemoveRatingCriteria ( ) ) , Key_Delete ) ;
kpop - > insertItem ( i18n ( " &Delete " ) , this , TQ_ SLOT( slotRemoveRatingCriteria ( ) ) , Key_Delete ) ;
}
AdvancedSearchDialog : : ~ AdvancedSearchDialog ( )