summaryrefslogtreecommitdiffstats
path: root/krecipes/src/dialogs/shoppinglistdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krecipes/src/dialogs/shoppinglistdialog.cpp')
-rw-r--r--krecipes/src/dialogs/shoppinglistdialog.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/krecipes/src/dialogs/shoppinglistdialog.cpp b/krecipes/src/dialogs/shoppinglistdialog.cpp
index e18e846..a0ac00f 100644
--- a/krecipes/src/dialogs/shoppinglistdialog.cpp
+++ b/krecipes/src/dialogs/shoppinglistdialog.cpp
@@ -70,11 +70,11 @@ ShoppingListDialog::ShoppingListDialog( TQWidget *parent, RecipeDB *db ) : TQWid
listview->setDragEnabled( true );
listview->setAcceptDrops( true );
listview->setDropVisualizer( false );
- connect( recipeListView, SIGNAL( textChanged(const TQString&) ), SLOT( ensurePopulated() ) );
- connect( listview, SIGNAL( dropped( TDEListView*, TQDropEvent*, TQListViewItem* ) ),
- this, SLOT( slotDropped( TDEListView*, TQDropEvent*, TQListViewItem* ) ) );
+ connect( recipeListView, TQ_SIGNAL( textChanged(const TQString&) ), TQ_SLOT( ensurePopulated() ) );
+ connect( listview, TQ_SIGNAL( dropped( TDEListView*, TQDropEvent*, TQListViewItem* ) ),
+ this, TQ_SLOT( slotDropped( TDEListView*, TQDropEvent*, TQListViewItem* ) ) );
recipeListView->setListView( listview );
- recipeListView->setCustomFilter( new RecipeFilter( recipeListView->listView() ), SLOT( filter( const TQString & ) ) );
+ recipeListView->setCustomFilter( new RecipeFilter( recipeListView->listView() ), TQ_SLOT( filter( const TQString & ) ) );
recipeListView->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::MinimumExpanding );
TQBoxLayout* vboxl = new TQVBoxLayout( KDialog::spacingHint() );
@@ -100,8 +100,8 @@ ShoppingListDialog::ShoppingListDialog( TQWidget *parent, RecipeDB *db ) : TQWid
slistview->setDragEnabled( true );
slistview->setAcceptDrops( true );
slistview->setDropVisualizer( false );
- connect( slistview, SIGNAL( dropped( TDEListView*, TQDropEvent*, TQListViewItem* ) ),
- this, SLOT( slotDropped( TDEListView*, TQDropEvent*, TQListViewItem* ) ) );
+ connect( slistview, TQ_SIGNAL( dropped( TDEListView*, TQDropEvent*, TQListViewItem* ) ),
+ this, TQ_SLOT( slotDropped( TDEListView*, TQDropEvent*, TQListViewItem* ) ) );
shopRecipeListView->setListView( slistview );
layout->addWidget( shopRecipeListView, 0, 2 );
@@ -139,10 +139,10 @@ ShoppingListDialog::ShoppingListDialog( TQWidget *parent, RecipeDB *db ) : TQWid
actionHandler = new RecipeActionsHandler( recipeListView->listView(), database, RecipeActionsHandler::ExpandAll | RecipeActionsHandler::CollapseAll );
// Connect signals & slots
- connect( addRecipeButton, SIGNAL( clicked() ), this, SLOT( addRecipe() ) );
- connect( removeRecipeButton, SIGNAL( clicked() ), this, SLOT( removeRecipe() ) );
- connect( okButton, SIGNAL( clicked() ), this, SLOT( showShoppingList() ) );
- connect( clearButton, SIGNAL( clicked() ), this, SLOT( clear() ) );
+ connect( addRecipeButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( addRecipe() ) );
+ connect( removeRecipeButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( removeRecipe() ) );
+ connect( okButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( showShoppingList() ) );
+ connect( clearButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( clear() ) );
}
ShoppingListDialog::~ShoppingListDialog()