From da4be7880ff1de6415ab6256afd2514e64f5fa2e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kviewshell/documentWidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kviewshell/documentWidget.cpp') diff --git a/kviewshell/documentWidget.cpp b/kviewshell/documentWidget.cpp index 07897488..875a70dc 100644 --- a/kviewshell/documentWidget.cpp +++ b/kviewshell/documentWidget.cpp @@ -452,7 +452,7 @@ void DocumentWidget::mousePressEvent ( TQMouseEvent * e ) if (e->button() == Qt::LeftButton) { if (pageData->hyperLinkList.size() > 0) for(unsigned int i = 0; i < pageData->hyperLinkList.size(); i++) { - if (pageData->hyperLinkList[i].box.tqcontains(e->pos())) { + if (pageData->hyperLinkList[i].box.contains(e->pos())) { emit(localLink(pageData->hyperLinkList[i].linkText)); return; } @@ -537,7 +537,7 @@ void DocumentWidget::mouseMoveEvent ( TQMouseEvent * e ) int lastUnderlinedLink = indexOfUnderlinedLink; // go through hyperlinks for(unsigned int i = 0; i < pageData->hyperLinkList.size(); i++) { - if (pageData->hyperLinkList[i].box.tqcontains(e->pos())) { + if (pageData->hyperLinkList[i].box.contains(e->pos())) { clearStatusBarTimer.stop(); setCursor(pointingHandCursor); TQString link = pageData->hyperLinkList[i].linkText; -- cgit v1.2.1