summaryrefslogtreecommitdiffstats
path: root/konq-plugins/akregator
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:10:05 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:10:05 -0600
commit74a2067d286867e313f736d6733407586b71195e (patch)
tree182ea565d6909db1541424e4ffb3168b4b139c21 /konq-plugins/akregator
parent081670a12774435ae60cf8eba9226b91d27852b3 (diff)
downloadtdeaddons-74a2067d286867e313f736d6733407586b71195e.tar.gz
tdeaddons-74a2067d286867e313f736d6733407586b71195e.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'konq-plugins/akregator')
-rw-r--r--konq-plugins/akregator/akregatorplugin.cpp2
-rw-r--r--konq-plugins/akregator/akregatorplugin.h2
-rw-r--r--konq-plugins/akregator/konqfeedicon.cpp2
-rw-r--r--konq-plugins/akregator/konqfeedicon.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/konq-plugins/akregator/akregatorplugin.cpp b/konq-plugins/akregator/akregatorplugin.cpp
index f798a27..72a73d1 100644
--- a/konq-plugins/akregator/akregatorplugin.cpp
+++ b/konq-plugins/akregator/akregatorplugin.cpp
@@ -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, TQT_SLOT( slotAddFeed() ), actionCollection(), "akregatorkonqplugin_mnu" );
+ TDEAction *action = new TDEAction( i18n( "Add Feed to Akregator" ), "akregator", 0, this, TQT_SLOT( slotAddFeed() ), actionCollection(), "akregatorkonqplugin_mnu" );
addAction( action );
addSeparator();
m_feedURL = it->url().url();
diff --git a/konq-plugins/akregator/akregatorplugin.h b/konq-plugins/akregator/akregatorplugin.h
index fd4267d..7f94cec 100644
--- a/konq-plugins/akregator/akregatorplugin.h
+++ b/konq-plugins/akregator/akregatorplugin.h
@@ -27,7 +27,7 @@
#include "pluginbase.h"
-class KAction;
+class TDEAction;
class TDEHTMLPart;
namespace Akregator
diff --git a/konq-plugins/akregator/konqfeedicon.cpp b/konq-plugins/akregator/konqfeedicon.cpp
index a888c6e..80e4224 100644
--- a/konq-plugins/akregator/konqfeedicon.cpp
+++ b/konq-plugins/akregator/konqfeedicon.cpp
@@ -123,7 +123,7 @@ bool KonqFeedIcon::feedFound()
void KonqFeedIcon::contextMenu()
{
delete m_menu;
- m_menu = new KPopupMenu(m_part->widget());
+ m_menu = new TDEPopupMenu(m_part->widget());
if(m_feedList.count() == 1) {
m_menu->insertTitle(m_feedList.first().title());
m_menu->insertItem(SmallIcon("bookmark_add"), i18n("Add Feed to Akregator"), this, TQT_SLOT(addFeeds()) );
diff --git a/konq-plugins/akregator/konqfeedicon.h b/konq-plugins/akregator/konqfeedicon.h
index d186e08..3b6b470 100644
--- a/konq-plugins/akregator/konqfeedicon.h
+++ b/konq-plugins/akregator/konqfeedicon.h
@@ -63,7 +63,7 @@ private:
KURLLabel *m_feedIcon;
KParts::StatusBarExtension *m_statusBarEx;
FeedDetectorEntryList m_feedList;
- TQGuardedPtr<KPopupMenu> m_menu;
+ TQGuardedPtr<TDEPopupMenu> m_menu;
private slots:
void waitPartToLoad();