diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-17 08:20:48 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-17 08:20:48 +0000 |
commit | aa0726b20f398264f0a2abc60215be044b106f9c (patch) | |
tree | 070fdbc19a1106cfdd7f651a8ce76bb1b89a513d /kontact_plugin/basket_plugin.cpp | |
parent | d3cf5b3e75aadc3b02d0b56f030d4c3f8c2c749d (diff) | |
download | basket-aa0726b20f398264f0a2abc60215be044b106f9c.tar.gz basket-aa0726b20f398264f0a2abc60215be044b106f9c.zip |
TQt4 port basket
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1232416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kontact_plugin/basket_plugin.cpp')
-rw-r--r-- | kontact_plugin/basket_plugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kontact_plugin/basket_plugin.cpp b/kontact_plugin/basket_plugin.cpp index ea92b33..e6cfb9f 100644 --- a/kontact_plugin/basket_plugin.cpp +++ b/kontact_plugin/basket_plugin.cpp @@ -33,12 +33,12 @@ typedef KGenericFactory<BasketPlugin, Kontact::Core> BasketPluginFactory; K_EXPORT_COMPONENT_FACTORY( libkontact_basket, BasketPluginFactory( "kontact_basketplugin" ) ) -BasketPlugin::BasketPlugin( Kontact::Core *core, const char *, const QStringList& ) +BasketPlugin::BasketPlugin( Kontact::Core *core, const char *, const TQStringList& ) : Kontact::Plugin( core, core, "basket" ) { setInstance( BasketPluginFactory::instance() ); insertNewAction(new KAction( i18n("&New Basket..."), "basket", CTRL+SHIFT+Key_B, - this, SLOT(newBasket()), actionCollection(), "basket_new" )); + this, TQT_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, SIGNAL(showPart()), this, SLOT(showPart())); + connect(part, TQT_SIGNAL(showPart()), this, TQT_SLOT(showPart())); return part; } @@ -75,7 +75,7 @@ void BasketPlugin::showPart() } #if 0 -bool BasketPlugin::createDCOPInterface( const QString& serviceType ) +bool BasketPlugin::createDCOPInterface( const TQString& serviceType ) { kdDebug() << k_funcinfo << serviceType << endl; return false; |