diff options
Diffstat (limited to 'akregator/src/viewer.cpp')
-rw-r--r-- | akregator/src/viewer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/akregator/src/viewer.cpp b/akregator/src/viewer.cpp index 2c52cf433..989ff8ae5 100644 --- a/akregator/src/viewer.cpp +++ b/akregator/src/viewer.cpp @@ -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 == LeftButton) + if (button == Qt::LeftButton) { switch (Settings::lMBBehaviour()) { @@ -146,7 +146,7 @@ void Viewer::urlSelected(const TQString &url, int button, int state, const TQStr } return; } - else if (button == MidButton) + else if (button == Qt::MidButton) { switch (Settings::mMBBehaviour()) { @@ -203,7 +203,7 @@ void Viewer::slotCopy() { TQString text = selectedText(); text.tqreplace( TQChar( 0xa0 ), ' ' ); - TQClipboard *cb = TQApplication::clipboard(); + TQClipboard *cb = TQApplication::tqclipboard(); disconnect( cb, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( slotClearSelection() ) ); cb->setText(text); connect( cb, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( slotClearSelection() ) ); @@ -212,7 +212,7 @@ void Viewer::slotCopy() void Viewer::slotCopyLinkAddress() { if(m_url.isEmpty()) return; - TQClipboard *cb = TQApplication::clipboard(); + TQClipboard *cb = TQApplication::tqclipboard(); cb->setText(m_url.prettyURL(), TQClipboard::Clipboard); cb->setText(m_url.prettyURL(), TQClipboard::Selection); } |