summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexiscrollview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /kexi/widget/kexiscrollview.cpp
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-b6edfe41.tar.gz
koffice-b6edfe41.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/widget/kexiscrollview.cpp')
-rw-r--r--kexi/widget/kexiscrollview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/widget/kexiscrollview.cpp b/kexi/widget/kexiscrollview.cpp
index 64d036818..b88ad3ae4 100644
--- a/kexi/widget/kexiscrollview.cpp
+++ b/kexi/widget/kexiscrollview.cpp
@@ -205,7 +205,7 @@ KexiScrollView::contentsMousePressEvent(TQMouseEvent *ev)
return;
TQRect r3(0, 0, m_widget->width() + 4, m_widget->height() + 4);
- if(!r3.tqcontains(ev->pos())) // clicked outside form
+ if(!r3.contains(ev->pos())) // clicked outside form
//m_form->resetSelection();
emit outerAreaClicked();
@@ -214,7 +214,7 @@ KexiScrollView::contentsMousePressEvent(TQMouseEvent *ev)
TQRect r(m_widget->width(), 0, 4, m_widget->height() + 4); // right limit
TQRect r2(0, m_widget->height(), m_widget->width() + 4, 4); // bottom limit
- if(r.tqcontains(ev->pos()) || r2.tqcontains(ev->pos()))
+ if(r.contains(ev->pos()) || r2.contains(ev->pos()))
{
m_resizing = true;
emit resizingStarted();
@@ -303,11 +303,11 @@ KexiScrollView::contentsMouseMoveEvent(TQMouseEvent *ev)
TQRect r2(0, m_widget->height(), m_widget->width(), 4); // bottom
TQRect r3(m_widget->width(), m_widget->height(), 4, 4); // bottom-right corner
- if(r.tqcontains(p))
+ if(r.contains(p))
setCursor(TQCursor::SizeHorCursor);
- else if(r2.tqcontains(p))
+ else if(r2.contains(p))
setCursor(TQCursor::SizeVerCursor);
- else if(r3.tqcontains(p))
+ else if(r3.contains(p))
setCursor(TQCursor::SizeFDiagCursor);
else
unsetCursor();