diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kontact/plugins/knode | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kontact/plugins/knode')
-rw-r--r-- | kontact/plugins/knode/knode_plugin.cpp | 12 | ||||
-rw-r--r-- | kontact/plugins/knode/knode_plugin.h | 6 |
2 files changed, 9 insertions, 9 deletions
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 <dcopclient.h> -#include <qwidget.h> +#include <tqwidget.h> typedef KGenericFactory<KNodePlugin, Kontact::Core> 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<KNodeUniqueAppHandler>(), 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(); |