summaryrefslogtreecommitdiffstats
path: root/src/pageviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pageviewer.cpp')
-rw-r--r--src/pageviewer.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/pageviewer.cpp b/src/pageviewer.cpp
index 34b65a1..4eba168 100644
--- a/src/pageviewer.cpp
+++ b/src/pageviewer.cpp
@@ -32,42 +32,42 @@ PageViewer::PageViewer(TQWidget *parent, const char *name)
s->init();
//setXMLFile(locate("data", "akregator/pageviewer.rc"), true);
- m_backAction = new TDEToolBarPopupAction(i18n("Back"), "back", 0, this, SLOT(slotBack()), actionCollection(), "pageviewer_back");
+ m_backAction = new TDEToolBarPopupAction(i18n("Back"), "back", 0, this, TQ_SLOT(slotBack()), actionCollection(), "pageviewer_back");
- connect(m_backAction->popupMenu(), SIGNAL(aboutToShow()),
- this, SLOT(slotBackAboutToShow()));
- connect(m_backAction->popupMenu(), SIGNAL(activated(int)),
- this, SLOT(slotPopupActivated(int)));
+ connect(m_backAction->popupMenu(), TQ_SIGNAL(aboutToShow()),
+ this, TQ_SLOT(slotBackAboutToShow()));
+ connect(m_backAction->popupMenu(), TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotPopupActivated(int)));
- m_forwardAction = new TDEToolBarPopupAction(i18n("Forward"), "forward", 0, this, SLOT(slotForward()), actionCollection(), "pageviewer_forward");
+ m_forwardAction = new TDEToolBarPopupAction(i18n("Forward"), "forward", 0, this, TQ_SLOT(slotForward()), actionCollection(), "pageviewer_forward");
- connect(m_forwardAction->popupMenu(), SIGNAL(aboutToShow()),
- this, SLOT(slotForwardAboutToShow()));
- connect(m_forwardAction->popupMenu(), SIGNAL(activated(int)),
- this, SLOT(slotPopupActivated(int)));
+ connect(m_forwardAction->popupMenu(), TQ_SIGNAL(aboutToShow()),
+ this, TQ_SLOT(slotForwardAboutToShow()));
+ connect(m_forwardAction->popupMenu(), TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotPopupActivated(int)));
m_reloadAction = new TDEAction(i18n("Reload"), "reload", 0,
- this, SLOT(slotReload()),
+ this, TQ_SLOT(slotReload()),
actionCollection(), "pageviewer_reload");
m_stopAction = new TDEAction(i18n("Stop"), "stop", 0,
- this, SLOT(slotStop()),
+ this, TQ_SLOT(slotStop()),
actionCollection(), "pageviewer_stop");
- //connect( this, SIGNAL(popupMenu(const TQString &, const TQPoint &)), this, SLOT(slotPopupMenu(const TQString &, const TQPoint &)));
+ //connect( this, TQ_SIGNAL(popupMenu(const TQString &, const TQPoint &)), this, TQ_SLOT(slotPopupMenu(const TQString &, const TQPoint &)));
m_backAction->setEnabled(false);
m_forwardAction->setEnabled(false);
m_stopAction->setEnabled(false);
- connect(this, SIGNAL(started(TDEIO::Job *)), this, SLOT(slotStarted(TDEIO::Job* )));
- connect(this, SIGNAL(completed()), this, SLOT(slotCompleted()));
- connect(this, SIGNAL(canceled(const TQString &)), this, SLOT(slotCancelled(const TQString &)));
+ connect(this, TQ_SIGNAL(started(TDEIO::Job *)), this, TQ_SLOT(slotStarted(TDEIO::Job* )));
+ connect(this, TQ_SIGNAL(completed()), this, TQ_SLOT(slotCompleted()));
+ connect(this, TQ_SIGNAL(canceled(const TQString &)), this, TQ_SLOT(slotCancelled(const TQString &)));
connect(browserExtension(),
- SIGNAL(openURLRequest(const KURL&, const KParts::URLArgs&)),
+ TQ_SIGNAL(openURLRequest(const KURL&, const KParts::URLArgs&)),
this,
- SLOT(formClicked(const KURL&, const KParts::URLArgs&)));
+ TQ_SLOT(formClicked(const KURL&, const KParts::URLArgs&)));
m_current = m_history.end();
m_restoring = false;
@@ -300,9 +300,9 @@ void PageViewer::slotPopupMenu(KXMLGUIClient*, const TQPoint& p, const KURL& kur
int idNewWindow = -2;
if (isLink)
{
- idNewWindow = popup.insertItem(SmallIcon("tab_new"),i18n("Open Link in New &Tab"), this, SLOT(slotOpenLinkInForegroundTab()));
+ idNewWindow = popup.insertItem(SmallIcon("tab_new"),i18n("Open Link in New &Tab"), this, TQ_SLOT(slotOpenLinkInForegroundTab()));
popup.setWhatsThis(idNewWindow, i18n("<b>Open Link in New Tab</b><p>Opens current link in a new tab."));
- popup.insertItem(SmallIcon("window-new"), i18n("Open Link in External &Browser"), this, SLOT(slotOpenLinkInBrowser()));
+ popup.insertItem(SmallIcon("window-new"), i18n("Open Link in External &Browser"), this, TQ_SLOT(slotOpenLinkInBrowser()));
popup.insertSeparator();
@@ -339,7 +339,7 @@ void PageViewer::slotPopupMenu(KXMLGUIClient*, const TQPoint& p, const KURL& kur
popup.insertSeparator();
}
- popup.insertItem(SmallIcon("window-new"), i18n("Open Page in External Browser"), this, SLOT(slotOpenLinkInBrowser()));
+ popup.insertItem(SmallIcon("window-new"), i18n("Open Page in External Browser"), this, TQ_SLOT(slotOpenLinkInBrowser()));
action("viewer_print")->plug(&popup);
popup.insertSeparator();
@@ -347,7 +347,7 @@ void PageViewer::slotPopupMenu(KXMLGUIClient*, const TQPoint& p, const KURL& kur
TDEAction *ac = action("setEncoding");
if (ac)
ac->plug(&popup);
- popup.insertItem(SmallIcon("bookmark_add"),i18n("Add to Konqueror Bookmarks"), this, SLOT(slotGlobalBookmarkArticle()));
+ popup.insertItem(SmallIcon("bookmark_add"),i18n("Add to Konqueror Bookmarks"), this, TQ_SLOT(slotGlobalBookmarkArticle()));
}
int r = popup.exec(p);