summaryrefslogtreecommitdiffstats
path: root/akregator/src/pageviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/pageviewer.cpp')
-rw-r--r--akregator/src/pageviewer.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/akregator/src/pageviewer.cpp b/akregator/src/pageviewer.cpp
index 63d944c6b..6fb91780b 100644
--- a/akregator/src/pageviewer.cpp
+++ b/akregator/src/pageviewer.cpp
@@ -86,10 +86,10 @@ class PageViewer::PageViewerPrivate
TQValueList<HistoryEntry> history;
TQValueList<HistoryEntry>::Iterator current;
- KToolBarPopupAction* backAction;
- KToolBarPopupAction* forwardAction;
- KAction* reloadAction;
- KAction* stopAction;
+ TDEToolBarPopupAction* backAction;
+ TDEToolBarPopupAction* forwardAction;
+ TDEAction* reloadAction;
+ TDEAction* stopAction;
TQString caption;
};
@@ -107,8 +107,8 @@ PageViewer::PageViewer(TQWidget *parent, const char *name)
TQPair< KGuiItem, KGuiItem > backForward = KStdGuiItem::backAndForward();
- d->backAction = new KToolBarPopupAction(backForward.first,
- KStdAccel::shortcut(KStdAccel::Back), this,
+ d->backAction = new TDEToolBarPopupAction(backForward.first,
+ TDEStdAccel::shortcut(TDEStdAccel::Back), this,
TQT_SLOT(slotBack()), actionCollection(),
"pageviewer_back");
@@ -118,8 +118,8 @@ PageViewer::PageViewer(TQWidget *parent, const char *name)
this, TQT_SLOT(slotPopupActivated(int)));
- d->forwardAction = new KToolBarPopupAction(backForward.second,
- KStdAccel::shortcut(KStdAccel::Forward),this,
+ d->forwardAction = new TDEToolBarPopupAction(backForward.second,
+ TDEStdAccel::shortcut(TDEStdAccel::Forward),this,
TQT_SLOT(slotForward()), actionCollection(),
"pageviewer_forward");
@@ -128,10 +128,10 @@ PageViewer::PageViewer(TQWidget *parent, const char *name)
connect(d->forwardAction->popupMenu(), TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotPopupActivated(int)));
- d->reloadAction = new KAction(i18n("Reload"), "reload", 0,
+ d->reloadAction = new TDEAction(i18n("Reload"), "reload", 0,
this, TQT_SLOT(slotReload()),
actionCollection(), "pageviewer_reload");
- d->stopAction = new KAction(KStdGuiItem::guiItem(KStdGuiItem::Stop), 0,
+ d->stopAction = new TDEAction(KStdGuiItem::guiItem(KStdGuiItem::Stop), 0,
this, TQT_SLOT(slotStop()),
actionCollection(), "pageviewer_stop");
@@ -185,7 +185,7 @@ void PageViewer::slotForward()
void PageViewer::slotBackAboutToShow()
{
- KPopupMenu *popup = d->backAction->popupMenu();
+ TDEPopupMenu *popup = d->backAction->popupMenu();
popup->clear();
if ( d->current == d->history.begin() )
@@ -211,7 +211,7 @@ void PageViewer::slotBackAboutToShow()
void PageViewer::slotForwardAboutToShow()
{
- KPopupMenu *popup = d->forwardAction->popupMenu();
+ TDEPopupMenu *popup = d->forwardAction->popupMenu();
popup->clear();
if ( d->current == d->history.fromLast() )
@@ -424,7 +424,7 @@ void PageViewer::slotPopupMenu(KXMLGUIClient*, const TQPoint& p, const KURL& kur
const bool isLink = (kpf & (KParts::BrowserExtension::ShowNavigationItems | KParts::BrowserExtension::ShowTextSelectionItems)) == 0;
const bool isSelection = (kpf & KParts::BrowserExtension::ShowTextSelectionItems) != 0;
- KPopupMenu popup(this->widget());
+ TDEPopupMenu popup(this->widget());
int idNewWindow = -2;
if (isLink)
@@ -435,7 +435,7 @@ void PageViewer::slotPopupMenu(KXMLGUIClient*, const TQPoint& p, const KURL& kur
popup.insertSeparator();
action("savelinkas")->plug(&popup);
- KAction* copylinkaddress = action("copylinkaddress");
+ TDEAction* copylinkaddress = action("copylinkaddress");
if (copylinkaddress)
{
copylinkaddress->plug( &popup);
@@ -463,8 +463,8 @@ void PageViewer::slotPopupMenu(KXMLGUIClient*, const TQPoint& p, const KURL& kur
popup.insertSeparator();
}
- KAction* incFontAction = this->action("incFontSizes");
- KAction* decFontAction = this->action("decFontSizes");
+ TDEAction* incFontAction = this->action("incFontSizes");
+ TDEAction* decFontAction = this->action("decFontSizes");
if ( incFontAction && decFontAction )
{
incFontAction->plug( &popup );
@@ -477,7 +477,7 @@ void PageViewer::slotPopupMenu(KXMLGUIClient*, const TQPoint& p, const KURL& kur
action("viewer_print")->plug(&popup);
popup.insertSeparator();
- KAction *ac = action("setEncoding");
+ TDEAction *ac = action("setEncoding");
if (ac)
ac->plug(&popup);
popup.insertItem(SmallIcon("bookmark_add"),i18n("Add to Konqueror Bookmarks"), this, TQT_SLOT(slotGlobalBookmarkArticle()));