From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kontact/plugins/knode/knode_plugin.cpp | 12 ++++++------ kontact/plugins/knode/knode_plugin.h | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'kontact/plugins/knode') diff --git a/kontact/plugins/knode/knode_plugin.cpp b/kontact/plugins/knode/knode_plugin.cpp index 6ad7fedb1..131c8bdf4 100644 --- a/kontact/plugins/knode/knode_plugin.cpp +++ b/kontact/plugins/knode/knode_plugin.cpp @@ -36,7 +36,7 @@ #include -#include +#include typedef KGenericFactory KNodePluginFactory; @@ -44,13 +44,13 @@ K_EXPORT_COMPONENT_FACTORY( libkontact_knodeplugin, KNodePluginFactory( "kontact_knodeplugin" ) ) -KNodePlugin::KNodePlugin( Kontact::Core *core, const char *, const QStringList& ) +KNodePlugin::KNodePlugin( Kontact::Core *core, const char *, const TQStringList& ) : Kontact::Plugin( core, core, "knode" ), mStub(0) { setInstance( KNodePluginFactory::instance() ); insertNewAction( new KAction( i18n( "New Article..." ), "mail_new", CTRL+SHIFT+Key_A, - this, SLOT( slotPostArticle() ), actionCollection(), "post_article" ) ); + this, TQT_SLOT( slotPostArticle() ), actionCollection(), "post_article" ) ); mUniqueAppWatcher = new Kontact::UniqueAppWatcher( new Kontact::UniqueAppHandlerFactory(), this ); @@ -60,7 +60,7 @@ KNodePlugin::~KNodePlugin() { } -bool KNodePlugin::createDCOPInterface( const QString& /*serviceType*/ ) +bool KNodePlugin::createDCOPInterface( const TQString& /*serviceType*/ ) { return false; } @@ -70,9 +70,9 @@ bool KNodePlugin::isRunningStandalone() return mUniqueAppWatcher->isRunningStandalone(); } -QStringList KNodePlugin::invisibleToolbarActions() const +TQStringList KNodePlugin::invisibleToolbarActions() const { - return QStringList( "article_postNew" ); + return TQStringList( "article_postNew" ); } void KNodePlugin::slotPostArticle() diff --git a/kontact/plugins/knode/knode_plugin.h b/kontact/plugins/knode/knode_plugin.h index 78d4275ed..3701dc7ba 100644 --- a/kontact/plugins/knode/knode_plugin.h +++ b/kontact/plugins/knode/knode_plugin.h @@ -45,14 +45,14 @@ class KNodePlugin : public Kontact::Plugin Q_OBJECT public: - KNodePlugin( Kontact::Core *core, const char *name, const QStringList& ); + KNodePlugin( Kontact::Core *core, const char *name, const TQStringList& ); ~KNodePlugin(); - virtual bool createDCOPInterface( const QString& serviceType ); + virtual bool createDCOPInterface( const TQString& serviceType ); virtual bool isRunningStandalone(); int weight() const { return 500; } - virtual QStringList invisibleToolbarActions() const; + virtual TQStringList invisibleToolbarActions() const; protected: virtual KParts::ReadOnlyPart* createPart(); -- cgit v1.2.1