From 3b3f9ec8f31978030c17309fae48335bea5c1587 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 14 Jan 2024 12:33:20 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- kaddressbook/viewmanager.cpp | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'kaddressbook/viewmanager.cpp') diff --git a/kaddressbook/viewmanager.cpp b/kaddressbook/viewmanager.cpp index bbda53419..125b95c79 100644 --- a/kaddressbook/viewmanager.cpp +++ b/kaddressbook/viewmanager.cpp @@ -216,15 +216,15 @@ void ViewManager::setActiveView( const TQString &name ) view->readConfig( config ); // The manager just relays the signals - connect( view, TQT_SIGNAL( selected( const TQString& ) ), - TQT_SIGNAL( selected( const TQString & ) ) ); - connect( view, TQT_SIGNAL( executed( const TQString& ) ), - TQT_SIGNAL( executed( const TQString& ) ) ); - connect( view, TQT_SIGNAL( modified() ), TQT_SIGNAL( modified() ) ); - connect( view, TQT_SIGNAL( dropped( TQDropEvent* ) ), - TQT_SLOT( dropped( TQDropEvent* ) ) ); - connect( view, TQT_SIGNAL( startDrag() ), TQT_SLOT( startDrag() ) ); - connect( view, TQT_SIGNAL( sortFieldChanged() ), TQT_SIGNAL( sortFieldChanged() ) ); + connect( view, TQ_SIGNAL( selected( const TQString& ) ), + TQ_SIGNAL( selected( const TQString & ) ) ); + connect( view, TQ_SIGNAL( executed( const TQString& ) ), + TQ_SIGNAL( executed( const TQString& ) ) ); + connect( view, TQ_SIGNAL( modified() ), TQ_SIGNAL( modified() ) ); + connect( view, TQ_SIGNAL( dropped( TQDropEvent* ) ), + TQ_SLOT( dropped( TQDropEvent* ) ) ); + connect( view, TQ_SIGNAL( startDrag() ), TQ_SLOT( startDrag() ) ); + connect( view, TQ_SIGNAL( sortFieldChanged() ), TQ_SIGNAL( sortFieldChanged() ) ); } } @@ -568,33 +568,33 @@ void ViewManager::initActions() #if TDE_VERSION >= 309 mActionSelectView->setMenuAccelsEnabled( false ); #endif - connect( mActionSelectView, TQT_SIGNAL( activated( const TQString& ) ), - TQT_SLOT( setActiveView( const TQString& ) ) ); + connect( mActionSelectView, TQ_SIGNAL( activated( const TQString& ) ), + TQ_SLOT( setActiveView( const TQString& ) ) ); TDEAction *action; action = new TDEAction( i18n( "Modify View..." ), "configure", 0, this, - TQT_SLOT( editView() ), mCore->actionCollection(), + TQ_SLOT( editView() ), mCore->actionCollection(), "view_modify" ); action->setWhatsThis( i18n( "By pressing this button a dialog opens that allows you to modify the view of the addressbook. There you can add or remove fields that you want to be shown or hidden in the addressbook like the name for example." ) ); action = new TDEAction( i18n( "Add View..." ), "window-new", 0, this, - TQT_SLOT( addView() ), mCore->actionCollection(), + TQ_SLOT( addView() ), mCore->actionCollection(), "view_add" ); action->setWhatsThis( i18n( "You can add a new view by choosing one from the dialog that appears after pressing the button. You have to give the view a name, so that you can distinguish between the different views." ) ); mActionDeleteView = new TDEAction( i18n( "Delete View" ), "view_remove", 0, - this, TQT_SLOT( deleteView() ), + this, TQ_SLOT( deleteView() ), mCore->actionCollection(), "view_delete" ); mActionDeleteView->setWhatsThis( i18n( "By pressing this button you can delete the actual view, which you have added before." ) ); action = new TDEAction( i18n( "Refresh View" ), "reload", 0, this, - TQT_SLOT( refreshView() ), mCore->actionCollection(), + TQ_SLOT( refreshView() ), mCore->actionCollection(), "view_refresh" ); action->setWhatsThis( i18n( "The view will be refreshed by pressing this button." ) ); action = new TDEAction( i18n( "Edit &Filters..." ), "filter", 0, this, - TQT_SLOT( configureFilters() ), mCore->actionCollection(), + TQ_SLOT( configureFilters() ), mCore->actionCollection(), "options_edit_filters" ); action->setWhatsThis( i18n( "Edit the contact filters

You will be presented with a dialog, where you can add, remove and edit filters." ) ); } -- cgit v1.2.1