diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | b6edfe41c9395f2e20784cbf0e630af6426950a3 (patch) | |
tree | 56ed9b871d4296e6c15949c24e16420be1b28697 /chalk/ui/kobirdeyepanel.cpp | |
parent | ef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff) | |
download | koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.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 'chalk/ui/kobirdeyepanel.cpp')
-rw-r--r-- | chalk/ui/kobirdeyepanel.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chalk/ui/kobirdeyepanel.cpp b/chalk/ui/kobirdeyepanel.cpp index 0cd835b1..34dd043f 100644 --- a/chalk/ui/kobirdeyepanel.cpp +++ b/chalk/ui/kobirdeyepanel.cpp @@ -362,23 +362,23 @@ KoBirdEyePanel::enumDragHandle KoBirdEyePanel::dragHandleAt(TQPoint p) TQRect top = TQRect(m_visibleAreaInThumbnail.left()-1, m_visibleAreaInThumbnail.top()-1, m_visibleAreaInThumbnail.width()+2, 3); TQRect bottom = TQRect(m_visibleAreaInThumbnail.left()-1, m_visibleAreaInThumbnail.bottom()-1, m_visibleAreaInThumbnail.width()+2, 3); - if (left.tqcontains(p)) { + if (left.contains(p)) { return DragHandleLeft; } - if (right.tqcontains(p)) { + if (right.contains(p)) { return DragHandleRight; } - if (top.tqcontains(p)) { + if (top.contains(p)) { return DragHandleTop; } - if (bottom.tqcontains(p)) { + if (bottom.contains(p)) { return DragHandleBottom; } - if (m_visibleAreaInThumbnail.tqcontains(p)) { + if (m_visibleAreaInThumbnail.contains(p)) { return DragHandleCentre; } @@ -403,7 +403,7 @@ void KoBirdEyePanel::handleMouseMove(TQPoint p) break; default: case DragHandleNone: - if (TQT_TQRECT_OBJECT(m_thumbnail.rect()).tqcontains(p)) { + if (TQT_TQRECT_OBJECT(m_thumbnail.rect()).contains(p)) { cursor = TQt::PointingHandCursor; } else { cursor = TQt::arrowCursor; @@ -462,7 +462,7 @@ void KoBirdEyePanel::handleMousePress(TQPoint p) enumDragHandle dragHandle = dragHandleAt(p); if (dragHandle == DragHandleNone) { - if (TQT_TQRECT_OBJECT(m_thumbnail.rect()).tqcontains(p)) { + if (TQT_TQRECT_OBJECT(m_thumbnail.rect()).contains(p)) { // Snap visible area centre to p and begin a centre drag. |