summaryrefslogtreecommitdiffstats
path: root/krecipes/src/widgets/unitlistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krecipes/src/widgets/unitlistview.cpp')
-rw-r--r--krecipes/src/widgets/unitlistview.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/krecipes/src/widgets/unitlistview.cpp b/krecipes/src/widgets/unitlistview.cpp
index e903fc7..a8dc8ad 100644
--- a/krecipes/src/widgets/unitlistview.cpp
+++ b/krecipes/src/widgets/unitlistview.cpp
@@ -88,8 +88,8 @@ UnitListView::UnitListView( TQWidget *parent, RecipeDB *db ) : DBListViewBase( p
void UnitListView::init()
{
- connect( database, SIGNAL( unitCreated( const Unit & ) ), SLOT( checkCreateUnit( const Unit & ) ) );
- connect( database, SIGNAL( unitRemoved( int ) ), SLOT( removeUnit( int ) ) );
+ connect( database, TQ_SIGNAL( unitCreated( const Unit & ) ), TQ_SLOT( checkCreateUnit( const Unit & ) ) );
+ connect( database, TQ_SIGNAL( unitRemoved( int ) ), TQ_SLOT( removeUnit( int ) ) );
}
void UnitListView::load( int limit, int offset )
@@ -134,10 +134,10 @@ StdUnitListView::StdUnitListView( TQWidget *parent, RecipeDB *db, bool editable
TDEIconLoader il;
kpop = new TDEPopupMenu( this );
- kpop->insertItem( il.loadIcon( "document-new", TDEIcon::NoGroup, 16 ), i18n( "&Create" ), this, SLOT( createNew() ), CTRL + Key_C );
- kpop->insertItem( il.loadIcon( "edit-delete", TDEIcon::NoGroup, 16 ), i18n( "&Delete" ), this, SLOT( remove
+ kpop->insertItem( il.loadIcon( "document-new", TDEIcon::NoGroup, 16 ), i18n( "&Create" ), this, TQ_SLOT( createNew() ), CTRL + Key_C );
+ kpop->insertItem( il.loadIcon( "edit-delete", TDEIcon::NoGroup, 16 ), i18n( "&Delete" ), this, TQ_SLOT( remove
() ), Key_Delete );
- kpop->insertItem( il.loadIcon( "edit", TDEIcon::NoGroup, 16 ), i18n( "&Rename" ), this, SLOT( rename() ), CTRL + Key_R );
+ kpop->insertItem( il.loadIcon( "edit", TDEIcon::NoGroup, 16 ), i18n( "&Rename" ), this, TQ_SLOT( rename() ), CTRL + Key_R );
kpop->polish();
typeComboBox = new TQComboBox( false, viewport() );
@@ -147,12 +147,12 @@ StdUnitListView::StdUnitListView( TQWidget *parent, RecipeDB *db, bool editable
addChild( typeComboBox );
typeComboBox->hide();
- connect( typeComboBox, SIGNAL( activated(int) ), SLOT( updateType(int) ) );
- connect( this, SIGNAL( selectionChanged() ), SLOT( hideTypeCombo() ) );
+ connect( typeComboBox, TQ_SIGNAL( activated(int) ), TQ_SLOT( updateType(int) ) );
+ connect( this, TQ_SIGNAL( selectionChanged() ), TQ_SLOT( hideTypeCombo() ) );
- connect( this, SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), SLOT( showPopup( TDEListView *, TQListViewItem *, const TQPoint & ) ) );
- connect( this, SIGNAL( doubleClicked( TQListViewItem*, const TQPoint &, int ) ), this, SLOT( modUnit( TQListViewItem*, const TQPoint &, int ) ) );
- connect( this, SIGNAL( itemRenamed( TQListViewItem*, const TQString &, int ) ), this, SLOT( saveUnit( TQListViewItem*, const TQString &, int ) ) );
+ connect( this, TQ_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), TQ_SLOT( showPopup( TDEListView *, TQListViewItem *, const TQPoint & ) ) );
+ connect( this, TQ_SIGNAL( doubleClicked( TQListViewItem*, const TQPoint &, int ) ), this, TQ_SLOT( modUnit( TQListViewItem*, const TQPoint &, int ) ) );
+ connect( this, TQ_SIGNAL( itemRenamed( TQListViewItem*, const TQString &, int ) ), this, TQ_SLOT( saveUnit( TQListViewItem*, const TQString &, int ) ) );
}
}