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/akregator | |
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/akregator')
-rw-r--r-- | kontact/plugins/akregator/akregator_plugin.cpp | 16 | ||||
-rw-r--r-- | kontact/plugins/akregator/akregator_plugin.h | 6 |
2 files changed, 11 insertions, 11 deletions
diff --git a/kontact/plugins/akregator/akregator_plugin.cpp b/kontact/plugins/akregator/akregator_plugin.cpp index d57cea7f6..16f80e803 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 <qwidget.h> +#include <tqwidget.h> #include <dcopclient.h> #include <dcopref.h> @@ -48,13 +48,13 @@ typedef KGenericFactory<Akregator::Plugin, Kontact::Core > 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<Akregator::UniqueAppHandler>(), 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 af1a905f9..428084646 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 ); |