summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/compoundwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kregexpeditor/compoundwidget.cpp')
-rw-r--r--kregexpeditor/compoundwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kregexpeditor/compoundwidget.cpp b/kregexpeditor/compoundwidget.cpp
index 3112416..00c484c 100644
--- a/kregexpeditor/compoundwidget.cpp
+++ b/kregexpeditor/compoundwidget.cpp
@@ -259,7 +259,7 @@ RegExp* CompoundWidget::regExp() const
void CompoundWidget::mousePressEvent( TQMouseEvent* event )
{
if ( event->button() == Qt::LeftButton &&
- TQRect( _pixmapPos, _pixmapSize ).tqcontains( event->pos() ) ) {
+ TQRect( _pixmapPos, _pixmapSize ).contains( event->pos() ) ) {
// Skip otherwise we will never see the mouse release
// since it is eaten by Editor window.
}
@@ -270,7 +270,7 @@ void CompoundWidget::mousePressEvent( TQMouseEvent* event )
void CompoundWidget::mouseReleaseEvent( TQMouseEvent* event)
{
if ( event->button() == Qt::LeftButton &&
- TQRect( _pixmapPos, _pixmapSize ).tqcontains( event->pos() ) ) {
+ TQRect( _pixmapPos, _pixmapSize ).contains( event->pos() ) ) {
_hidden = !_hidden;
_editorWindow->updateContent( 0 );
tqrepaint(); // is this necesary?