summaryrefslogtreecommitdiffstats
path: root/kontact_plugin
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-04 10:28:49 +0900
committerMichele Calgaro <[email protected]>2024-01-04 10:28:49 +0900
commitbea15ca3009c2f8505bfa10445c1dc2fc43a4ffe (patch)
tree8911427e76b2ea1dc7d98cf2a9a0f2da987802b5 /kontact_plugin
parent7b0920cd4180823f7a42350d1bdb914d697f4b9c (diff)
downloadbasket-bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe.tar.gz
basket-bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kontact_plugin')
-rw-r--r--kontact_plugin/basket_plugin.cpp4
-rw-r--r--kontact_plugin/uniqueapphandler.cpp8
2 files changed, 6 insertions, 6 deletions
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<BasketUniqueAppHandler>(), 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 );