summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/stencilbarbutton.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 /kivio/kiviopart/stencilbarbutton.cpp
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-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 'kivio/kiviopart/stencilbarbutton.cpp')
-rw-r--r--kivio/kiviopart/stencilbarbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kivio/kiviopart/stencilbarbutton.cpp b/kivio/kiviopart/stencilbarbutton.cpp
index 67d6c079..b44ab4c2 100644
--- a/kivio/kiviopart/stencilbarbutton.cpp
+++ b/kivio/kiviopart/stencilbarbutton.cpp
@@ -229,7 +229,7 @@ void DragBarButton::mousePressEvent( TQMouseEvent* ev )
closeRect.setRect(0, 20 - m_pClosePix->width(), width(), m_pClosePix->width());
}
- if ( closeRect.tqcontains(ev->pos())) {
+ if ( closeRect.contains(ev->pos())) {
m_bClose = true;
tqrepaint();
return;
@@ -252,7 +252,7 @@ void DragBarButton::mouseReleaseEvent( TQMouseEvent* ev )
closeRect.setRect(0, 20 - m_pClosePix->width(), width(), m_pClosePix->width());
}
- if ( closeRect.tqcontains(ev->pos()))
+ if ( closeRect.contains(ev->pos()))
{
kdDebug(43000) << "DragBarButton::mouseReleaseEvent() - Emitting closeRequest" << endl;
emit closeRequired(this);