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.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/akregator/src/pageviewer.cpp b/akregator/src/pageviewer.cpp
index f818043b7..1962824f4 100644
--- a/akregator/src/pageviewer.cpp
+++ b/akregator/src/pageviewer.cpp
@@ -109,44 +109,44 @@ PageViewer::PageViewer(TQWidget *parent, const char *name)
d->backAction = new TDEToolBarPopupAction(backForward.first,
TDEStdAccel::shortcut(TDEStdAccel::Back), this,
- TQT_SLOT(slotBack()), actionCollection(),
+ TQ_SLOT(slotBack()), actionCollection(),
"pageviewer_back");
- connect(d->backAction->popupMenu(), TQT_SIGNAL(aboutToShow()),
- this, TQT_SLOT(slotBackAboutToShow()));
- connect(d->backAction->popupMenu(), TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(slotPopupActivated(int)));
+ connect(d->backAction->popupMenu(), TQ_SIGNAL(aboutToShow()),
+ this, TQ_SLOT(slotBackAboutToShow()));
+ connect(d->backAction->popupMenu(), TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotPopupActivated(int)));
d->forwardAction = new TDEToolBarPopupAction(backForward.second,
TDEStdAccel::shortcut(TDEStdAccel::Forward),this,
- TQT_SLOT(slotForward()), actionCollection(),
+ TQ_SLOT(slotForward()), actionCollection(),
"pageviewer_forward");
- connect(d->forwardAction->popupMenu(), TQT_SIGNAL(aboutToShow()),
- this, TQT_SLOT(slotForwardAboutToShow()));
- connect(d->forwardAction->popupMenu(), TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(slotPopupActivated(int)));
+ connect(d->forwardAction->popupMenu(), TQ_SIGNAL(aboutToShow()),
+ this, TQ_SLOT(slotForwardAboutToShow()));
+ connect(d->forwardAction->popupMenu(), TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotPopupActivated(int)));
d->reloadAction = new TDEAction(i18n("Reload"), "reload", 0,
- this, TQT_SLOT(slotReload()),
+ this, TQ_SLOT(slotReload()),
actionCollection(), "pageviewer_reload");
d->stopAction = new TDEAction(KStdGuiItem::guiItem(KStdGuiItem::Stop), 0,
- this, TQT_SLOT(slotStop()),
+ this, TQ_SLOT(slotStop()),
actionCollection(), "pageviewer_stop");
- //connect( this, TQT_SIGNAL(popupMenu(const TQString &, const TQPoint &)), this, TQT_SLOT(slotPopupMenu(const TQString &, const TQPoint &)));
+ //connect( this, TQ_SIGNAL(popupMenu(const TQString &, const TQPoint &)), this, TQ_SLOT(slotPopupMenu(const TQString &, const TQPoint &)));
d->backAction->setEnabled(false);
d->forwardAction->setEnabled(false);
d->stopAction->setEnabled(false);
- connect( this, TQT_SIGNAL(setWindowCaption (const TQString &)),
- this, TQT_SLOT(slotSetCaption (const TQString &)) );
+ connect( this, TQ_SIGNAL(setWindowCaption (const TQString &)),
+ this, TQ_SLOT(slotSetCaption (const TQString &)) );
- connect(this, TQT_SIGNAL(started(TDEIO::Job *)), this, TQT_SLOT(slotStarted(TDEIO::Job* )));
- connect(this, TQT_SIGNAL(completed()), this, TQT_SLOT(slotCompleted()));
- connect(this, TQT_SIGNAL(canceled(const TQString &)), this, TQT_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 &)));
d->current = d->history.end();
@@ -362,7 +362,7 @@ void PageViewer::urlSelected(const TQString &url, int button, int state, const T
}
else
{
- if (button == Qt::LeftButton)
+ if (button == TQt::LeftButton)
{
m_url = completeURL(url);
browserExtension()->setURLArgs(args);
@@ -429,9 +429,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, TQT_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, TQT_SLOT(slotOpenLinkInBrowser()));
+ popup.insertItem(SmallIcon("window-new"), i18n("Open Link in External &Browser"), this, TQ_SLOT(slotOpenLinkInBrowser()));
popup.insertSeparator();
action("savelinkas")->plug(&popup);
@@ -472,7 +472,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, TQT_SLOT(slotOpenLinkInBrowser()));
+ popup.insertItem(SmallIcon("window-new"), i18n("Open Page in External Browser"), this, TQ_SLOT(slotOpenLinkInBrowser()));
action("viewer_print")->plug(&popup);
popup.insertSeparator();
@@ -480,7 +480,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, TQT_SLOT(slotGlobalBookmarkArticle()));
+ popup.insertItem(SmallIcon("bookmark_add"),i18n("Add to Konqueror Bookmarks"), this, TQ_SLOT(slotGlobalBookmarkArticle()));
}
int r = popup.exec(p);