summaryrefslogtreecommitdiffstats
path: root/konq-plugins/akregator/akregatorplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/akregator/akregatorplugin.cpp')
-rw-r--r--konq-plugins/akregator/akregatorplugin.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/konq-plugins/akregator/akregatorplugin.cpp b/konq-plugins/akregator/akregatorplugin.cpp
index a2a82f2..2f59adc 100644
--- a/konq-plugins/akregator/akregatorplugin.cpp
+++ b/konq-plugins/akregator/akregatorplugin.cpp
@@ -38,21 +38,21 @@
#include <khtmlview.h>
#include <kmessagebox.h>
-#include <qdir.h>
-#include <qcstring.h>
-#include <qobject.h>
-#include <qstringlist.h>
+#include <tqdir.h>
+#include <tqcstring.h>
+#include <tqobject.h>
+#include <tqstringlist.h>
using namespace Akregator;
typedef KGenericFactory<AkregatorMenu, KonqPopupMenu> AkregatorMenuFactory;
K_EXPORT_COMPONENT_FACTORY( libakregatorkonqplugin, AkregatorMenuFactory("akregatorkonqplugin") )
-AkregatorMenu::AkregatorMenu( KonqPopupMenu * popupmenu, const char *name, const QStringList& /* list */ )
+AkregatorMenu::AkregatorMenu( KonqPopupMenu * popupmenu, const char *name, const TQStringList& /* list */ )
: KonqPopupMenuPlugin( popupmenu, name), PluginBase(), m_conf(0), m_part(0)
{
kdDebug() << "AkregatorMenu::AkregatorMenu()" << endl;
- if ( QCString( kapp->name() ) == "kdesktop" && !kapp->authorize("editable_desktop_icons" ) )
+ if ( TQCString( kapp->name() ) == "kdesktop" && !kapp->authorize("editable_desktop_icons" ) )
return;
// Do nothing if user has turned us off.
@@ -84,7 +84,7 @@ AkregatorMenu::AkregatorMenu( KonqPopupMenu * popupmenu, const char *name, const
if (isFeedUrl(it))
{
kdDebug() << "AkregatorMenu: found feed URL " << it->url().prettyURL() << endl;
- KAction *action = new KAction( i18n( "Add Feed to Akregator" ), "akregator", 0, this, SLOT( slotAddFeed() ), actionCollection(), "akregatorkonqplugin_mnu" );
+ KAction *action = new KAction( i18n( "Add Feed to Akregator" ), "akregator", 0, this, TQT_SLOT( slotAddFeed() ), actionCollection(), "akregatorkonqplugin_mnu" );
addAction( action );
addSeparator();
m_feedURL = it->url().url();
@@ -101,7 +101,7 @@ AkregatorMenu::~AkregatorMenu()
delete m_conf;
}
-bool AkregatorMenu::isFeedUrl(const QString &url)
+bool AkregatorMenu::isFeedUrl(const TQString &url)
{
if (url.contains(".htm", false) != 0) return false;
if (url.contains("rss", false) != 0) return true;
@@ -116,7 +116,7 @@ bool AkregatorMenu::isFeedUrl(const KFileItem * item)
return true;
else
{
- QString url = item->url().url();
+ TQString url = item->url().url();
// If URL ends in .htm or .html, it is not a feed url.
return isFeedUrl(url);
}
@@ -125,9 +125,9 @@ bool AkregatorMenu::isFeedUrl(const KFileItem * item)
void AkregatorMenu::slotAddFeed()
{
- QString url = m_part ? fixRelativeURL(m_feedURL, m_part->baseURL()) : m_feedURL;
+ TQString url = m_part ? fixRelativeURL(m_feedURL, m_part->baseURL()) : m_feedURL;
if(akregatorRunning())
- addFeedsViaDCOP(QStringList(url));
+ addFeedsViaDCOP(TQStringList(url));
else
addFeedViaCmdLine(url);
}