From bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 Jan 2024 10:28:49 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- kontact_plugin/basket_plugin.cpp | 4 ++-- kontact_plugin/uniqueapphandler.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kontact_plugin') diff --git a/kontact_plugin/basket_plugin.cpp b/kontact_plugin/basket_plugin.cpp index f973e48..8ebaed5 100644 --- a/kontact_plugin/basket_plugin.cpp +++ b/kontact_plugin/basket_plugin.cpp @@ -38,7 +38,7 @@ BasketPlugin::BasketPlugin( Kontact::Core *core, const char *, const TQStringLis { setInstance( BasketPluginFactory::instance() ); insertNewAction(new TDEAction( i18n("&New Basket..."), "basket", CTRL+SHIFT+Key_B, - this, TQT_SLOT(newBasket()), actionCollection(), "basket_new" )); + this, TQ_SLOT(newBasket()), actionCollection(), "basket_new" )); m_uniqueAppWatcher = new Kontact::UniqueAppWatcher( new Kontact::UniqueAppHandlerFactory(), this); @@ -55,7 +55,7 @@ KParts::ReadOnlyPart* BasketPlugin::createPart() return 0; m_stub = new BasketDcopInterface_stub(dcopClient(), "basket", "BasketIface"); - connect(part, TQT_SIGNAL(showPart()), this, TQT_SLOT(showPart())); + connect(part, TQ_SIGNAL(showPart()), this, TQ_SLOT(showPart())); return part; } diff --git a/kontact_plugin/uniqueapphandler.cpp b/kontact_plugin/uniqueapphandler.cpp index 77d5bdf..c72d8ef 100644 --- a/kontact_plugin/uniqueapphandler.cpp +++ b/kontact_plugin/uniqueapphandler.cpp @@ -141,8 +141,8 @@ UniqueAppWatcher::UniqueAppWatcher( UniqueAppHandlerFactoryBase* factory, Plugin if ( mRunningStandalone ) { kapp->dcopClient()->setNotifications( true ); - connect( kapp->dcopClient(), TQT_SIGNAL( applicationRemoved( const TQCString& ) ), - this, TQT_SLOT( unregisteredFromDCOP( const TQCString& ) ) ); + connect( kapp->dcopClient(), TQ_SIGNAL( applicationRemoved( const TQCString& ) ), + this, TQ_SLOT( unregisteredFromDCOP( const TQCString& ) ) ); } else { mFactory->createHandler( mPlugin ); } @@ -159,8 +159,8 @@ UniqueAppWatcher::~UniqueAppWatcher() void UniqueAppWatcher::unregisteredFromDCOP( const TQCString& appId ) { if ( appId == mPlugin->name() && mRunningStandalone ) { - disconnect( kapp->dcopClient(), TQT_SIGNAL( applicationRemoved( const TQCString& ) ), - this, TQT_SLOT( unregisteredFromDCOP( const TQCString& ) ) ); + disconnect( kapp->dcopClient(), TQ_SIGNAL( applicationRemoved( const TQCString& ) ), + this, TQ_SLOT( unregisteredFromDCOP( const TQCString& ) ) ); kdDebug(5601) << k_funcinfo << appId << endl; mFactory->createHandler( mPlugin ); kapp->dcopClient()->setNotifications( false ); -- cgit v1.2.1