diff options
Diffstat (limited to 'kregexpeditor/editorwindow.cpp')
-rw-r--r-- | kregexpeditor/editorwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kregexpeditor/editorwindow.cpp b/kregexpeditor/editorwindow.cpp index a7b793e..8b87998 100644 --- a/kregexpeditor/editorwindow.cpp +++ b/kregexpeditor/editorwindow.cpp @@ -95,7 +95,7 @@ void RegExpEditorWindow::mousePressEvent ( TQMouseEvent* event ) bool RegExpEditorWindow::pointSelected( TQPoint p ) const { TQRect rect = _top->selectionRect(); - return rect.tqcontains(p); + return rect.contains(p); } void RegExpEditorWindow::mouseMoveEvent ( TQMouseEvent* event ) @@ -168,7 +168,7 @@ bool RegExpEditorWindow::selectionOverlap( TQPoint pos, TQSize size ) const { TQRect child(pos, size); - return (_selection.intersects(child) && ! child.tqcontains(_selection)); + return (_selection.intersects(child) && ! child.contains(_selection)); } bool RegExpEditorWindow::hasSelection() const |