diff options
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(); |