summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/stencilbarbutton.cpp
diff options
context:
space:
mode:
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);