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