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/akregator/akregator_plugin.cpp | 16 ++++++++-------- kontact/plugins/akregator/akregator_plugin.h | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'kontact/plugins/akregator') diff --git a/kontact/plugins/akregator/akregator_plugin.cpp b/kontact/plugins/akregator/akregator_plugin.cpp index d57cea7f..16f80e80 100644 --- a/kontact/plugins/akregator/akregator_plugin.cpp +++ b/kontact/plugins/akregator/akregator_plugin.cpp @@ -22,7 +22,7 @@ without including the source code for Qt in the source distribution. */ -#include +#include #include #include @@ -48,13 +48,13 @@ typedef KGenericFactory PluginFactory; K_EXPORT_COMPONENT_FACTORY( libkontact_akregator, PluginFactory( "kontact_akregator" ) ) -Plugin::Plugin( Kontact::Core *core, const char *, const QStringList& ) +Plugin::Plugin( Kontact::Core *core, const char *, const TQStringList& ) : Kontact::Plugin( core, core, "akregator" ), m_stub(0) { setInstance( PluginFactory::instance() ); - insertNewAction( new KAction( i18n( "New Feed..." ), "bookmark_add", CTRL+SHIFT+Key_F, this, SLOT( addFeed() ), actionCollection(), "feed_new" ) ); + insertNewAction( new KAction( i18n( "New Feed..." ), "bookmark_add", CTRL+SHIFT+Key_F, this, TQT_SLOT( addFeed() ), actionCollection(), "feed_new" ) ); m_uniqueAppWatcher = new Kontact::UniqueAppWatcher( new Kontact::UniqueAppHandlerFactory(), this ); @@ -69,9 +69,9 @@ bool Plugin::isRunningStandalone() return m_uniqueAppWatcher->isRunningStandalone(); } -QStringList Plugin::invisibleToolbarActions() const +TQStringList Plugin::invisibleToolbarActions() const { - return QStringList( "file_new_contact" ); + return TQStringList( "file_new_contact" ); } @@ -90,7 +90,7 @@ MyBasePart* Plugin::createPart() { MyBasePart* p = loadPart(); - connect(p, SIGNAL(showPart()), this, SLOT(showPart())); + connect(p, TQT_SIGNAL(showPart()), this, TQT_SLOT(showPart())); m_stub = new Akregator::AkregatorPartIface_stub( dcopClient(), "akregator", "AkregatorIface" ); m_stub->openStandardFeedList(); @@ -108,9 +108,9 @@ void Plugin::addFeed() interface()->addFeed(); } -QStringList Plugin::configModules() const +TQStringList Plugin::configModules() const { - QStringList modules; + TQStringList modules; modules << "PIM/akregator.desktop"; return modules; } diff --git a/kontact/plugins/akregator/akregator_plugin.h b/kontact/plugins/akregator/akregator_plugin.h index af1a905f..42808464 100644 --- a/kontact/plugins/akregator/akregator_plugin.h +++ b/kontact/plugins/akregator/akregator_plugin.h @@ -54,15 +54,15 @@ class Plugin : public Kontact::Plugin public: Plugin( Kontact::Core *core, const char *name, - const QStringList & ); + const TQStringList & ); ~Plugin(); int weight() const { return 700; } AkregatorPartIface_stub *interface(); - virtual QStringList configModules() const; - virtual QStringList invisibleToolbarActions() const; + virtual TQStringList configModules() const; + virtual TQStringList invisibleToolbarActions() const; virtual bool isRunningStandalone(); virtual void readProperties( KConfig *config ); virtual void saveProperties( KConfig *config ); -- cgit v1.2.3