diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-28 21:16:39 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-02 21:17:00 +0900 |
commit | dd228586bd5b9ebce4232be9e354bf4619a13fdd (patch) | |
tree | 11b13ec8c944f968930f8c7fee6a7dfb5fdbb6b5 /krecipes/src/widgets/propertylistview.cpp | |
parent | c72be0a6c7b634249f31c9ec6461ee63c2a654b7 (diff) | |
download | krecipes-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/widgets/propertylistview.cpp')
-rw-r--r-- | krecipes/src/widgets/propertylistview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/krecipes/src/widgets/propertylistview.cpp b/krecipes/src/widgets/propertylistview.cpp index f86bed6..29a3321 100644 --- a/krecipes/src/widgets/propertylistview.cpp +++ b/krecipes/src/widgets/propertylistview.cpp @@ -89,8 +89,8 @@ PropertyListView::PropertyListView( TQWidget *parent, RecipeDB *db ) : TDEListVi setAllColumnsShowFocus( true ); setDefaultRenameAction( TQListView::Reject ); - connect( db, SIGNAL( propertyCreated( const IngredientProperty & ) ), SLOT( createProperty( const IngredientProperty & ) ) ); - connect( db, SIGNAL( propertyRemoved( int ) ), SLOT( removeProperty( int ) ) ); + connect( db, TQ_SIGNAL( propertyCreated( const IngredientProperty & ) ), TQ_SLOT( createProperty( const IngredientProperty & ) ) ); + connect( db, TQ_SIGNAL( propertyRemoved( int ) ), TQ_SLOT( removeProperty( int ) ) ); } void PropertyListView::reload() @@ -130,17 +130,17 @@ StdPropertyListView::StdPropertyListView( TQWidget *parent, RecipeDB *db, bool e TDEIconLoader *il = new TDEIconLoader; 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(); delete il; - connect( this, SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), SLOT( showPopup( TDEListView *, TQListViewItem *, const TQPoint & ) ) ); - connect( this, SIGNAL( doubleClicked( TQListViewItem* ) ), this, SLOT( modProperty( TQListViewItem* ) ) ); - connect( this, SIGNAL( itemRenamed( TQListViewItem* ) ), this, SLOT( saveProperty( TQListViewItem* ) ) ); + connect( this, TQ_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), TQ_SLOT( showPopup( TDEListView *, TQListViewItem *, const TQPoint & ) ) ); + connect( this, TQ_SIGNAL( doubleClicked( TQListViewItem* ) ), this, TQ_SLOT( modProperty( TQListViewItem* ) ) ); + connect( this, TQ_SIGNAL( itemRenamed( TQListViewItem* ) ), this, TQ_SLOT( saveProperty( TQListViewItem* ) ) ); } } |