summaryrefslogtreecommitdiffstats
path: root/akregator/src/viewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/viewer.cpp')
-rw-r--r--akregator/src/viewer.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/akregator/src/viewer.cpp b/akregator/src/viewer.cpp
index 02bba26c..603f4efc 100644
--- a/akregator/src/viewer.cpp
+++ b/akregator/src/viewer.cpp
@@ -57,28 +57,28 @@ Viewer::Viewer(TQWidget *parent, const char *name)
setStatusMessagesEnabled(true);
// change the cursor when loading stuff...
- connect( this, TQT_SIGNAL(started(TDEIO::Job *)),
- this, TQT_SLOT(slotStarted(TDEIO::Job *)));
- connect( this, TQT_SIGNAL(completed()),
- this, TQT_SLOT(slotCompleted()));
+ connect( this, TQ_SIGNAL(started(TDEIO::Job *)),
+ this, TQ_SLOT(slotStarted(TDEIO::Job *)));
+ connect( this, TQ_SIGNAL(completed()),
+ this, TQ_SLOT(slotCompleted()));
- connect( browserExtension(), TQT_SIGNAL(popupMenu (KXMLGUIClient*, const TQPoint&, const KURL&, const KParts::URLArgs&, KParts::BrowserExtension::PopupFlags, mode_t)), this, TQT_SLOT(slotPopupMenu(KXMLGUIClient*, const TQPoint&, const KURL&, const KParts::URLArgs&, KParts::BrowserExtension::PopupFlags, mode_t)));
+ connect( browserExtension(), TQ_SIGNAL(popupMenu (KXMLGUIClient*, const TQPoint&, const KURL&, const KParts::URLArgs&, KParts::BrowserExtension::PopupFlags, mode_t)), this, TQ_SLOT(slotPopupMenu(KXMLGUIClient*, const TQPoint&, const KURL&, const KParts::URLArgs&, KParts::BrowserExtension::PopupFlags, mode_t)));
- KStdAction::print(this, TQT_SLOT(slotPrint()), actionCollection(), "viewer_print");
- KStdAction::copy(this, TQT_SLOT(slotCopy()), actionCollection(), "viewer_copy");
+ KStdAction::print(this, TQ_SLOT(slotPrint()), actionCollection(), "viewer_print");
+ KStdAction::copy(this, TQ_SLOT(slotCopy()), actionCollection(), "viewer_copy");
- new TDEAction( i18n("&Increase Font Sizes"), "zoom-in", "Ctrl+Plus", this, TQT_SLOT(slotZoomIn()), actionCollection(), "incFontSizes" );
- new TDEAction( i18n("&Decrease Font Sizes"), "zoom-out", "Ctrl+Minus", this, TQT_SLOT(slotZoomOut()), actionCollection(), "decFontSizes" );
+ new TDEAction( i18n("&Increase Font Sizes"), "zoom-in", "Ctrl+Plus", this, TQ_SLOT(slotZoomIn()), actionCollection(), "incFontSizes" );
+ new TDEAction( i18n("&Decrease Font Sizes"), "zoom-out", "Ctrl+Minus", this, TQ_SLOT(slotZoomOut()), actionCollection(), "decFontSizes" );
- connect(this, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectionChanged()));
+ connect(this, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotSelectionChanged()));
- connect( browserExtension(), TQT_SIGNAL(openURLRequestDelayed(const KURL&, const KParts::URLArgs&)), this, TQT_SLOT(slotOpenURLRequest(const KURL&, const KParts::URLArgs& )) );
+ connect( browserExtension(), TQ_SIGNAL(openURLRequestDelayed(const KURL&, const KParts::URLArgs&)), this, TQ_SLOT(slotOpenURLRequest(const KURL&, const KParts::URLArgs& )) );
new TDEAction(i18n("Copy &Link Address"), "", 0,
- this, TQT_SLOT(slotCopyLinkAddress()),
+ this, TQ_SLOT(slotCopyLinkAddress()),
actionCollection(), "copylinkaddress");
new TDEAction(i18n("&Save Link As..."), "", 0,
- this, TQT_SLOT(slotSaveLinkAs()),
+ this, TQ_SLOT(slotSaveLinkAs()),
actionCollection(), "savelinkas");
}
@@ -130,7 +130,7 @@ void Viewer::urlSelected(const TQString &url, int button, int state, const TQStr
{
m_url = completeURL(url);
browserExtension()->setURLArgs(args);
- if (button == Qt::LeftButton)
+ if (button == TQt::LeftButton)
{
switch (Settings::lMBBehaviour())
{
@@ -146,7 +146,7 @@ void Viewer::urlSelected(const TQString &url, int button, int state, const TQStr
}
return;
}
- else if (button == Qt::MidButton)
+ else if (button == TQt::MidButton)
{
switch (Settings::mMBBehaviour())
{
@@ -177,8 +177,8 @@ void Viewer::slotPopupMenu(KXMLGUIClient*, const TQPoint& p, const KURL& kurl, c
if (isLink && !isSelection)
{
- popup.insertItem(SmallIcon("tab_new"), i18n("Open Link in New &Tab"), this, TQT_SLOT(slotOpenLinkInForegroundTab()));
- popup.insertItem(SmallIcon("window-new"), i18n("Open Link in External &Browser"), this, TQT_SLOT(slotOpenLinkInBrowser()));
+ popup.insertItem(SmallIcon("tab_new"), i18n("Open Link in New &Tab"), this, TQ_SLOT(slotOpenLinkInForegroundTab()));
+ popup.insertItem(SmallIcon("window-new"), i18n("Open Link in External &Browser"), this, TQ_SLOT(slotOpenLinkInBrowser()));
popup.insertSeparator();
action("savelinkas")->plug(&popup);
action("copylinkaddress")->plug(&popup);
@@ -204,9 +204,9 @@ void Viewer::slotCopy()
TQString text = selectedText();
text.replace( TQChar( 0xa0 ), ' ' );
TQClipboard *cb = TQApplication::clipboard();
- disconnect( cb, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( slotClearSelection() ) );
+ disconnect( cb, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( slotClearSelection() ) );
cb->setText(text);
- connect( cb, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( slotClearSelection() ) );
+ connect( cb, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( slotClearSelection() ) );
}
void Viewer::slotCopyLinkAddress()