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 98f3975..c65e598 100644
--- a/kregexpeditor/compoundwidget.cpp
+++ b/kregexpeditor/compoundwidget.cpp
@@ -258,7 +258,7 @@ RegExp* CompoundWidget::regExp() const
void CompoundWidget::mousePressEvent( TQMouseEvent* event )
{
- if ( event->button() == Qt::LeftButton &&
+ if ( event->button() == TQt::LeftButton &&
TQRect( _pixmapPos, _pixmapSize ).contains( event->pos() ) ) {
// Skip otherwise we will never see the mouse release
// since it is eaten by Editor window.
@@ -269,7 +269,7 @@ void CompoundWidget::mousePressEvent( TQMouseEvent* event )
void CompoundWidget::mouseReleaseEvent( TQMouseEvent* event)
{
- if ( event->button() == Qt::LeftButton &&
+ if ( event->button() == TQt::LeftButton &&
TQRect( _pixmapPos, _pixmapSize ).contains( event->pos() ) ) {
_hidden = !_hidden;
_editorWindow->updateContent( 0 );