summaryrefslogtreecommitdiffstats
path: root/kommander/editor/sizehandle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/editor/sizehandle.cpp')
-rw-r--r--kommander/editor/sizehandle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kommander/editor/sizehandle.cpp b/kommander/editor/sizehandle.cpp
index 8aa6fdc7..37dde0aa 100644
--- a/kommander/editor/sizehandle.cpp
+++ b/kommander/editor/sizehandle.cpp
@@ -102,7 +102,7 @@ void SizeHandle::paintEvent( TQPaintEvent * )
void SizeHandle::mousePressEvent( TQMouseEvent *e )
{
- if ( !widget || e->button() != Qt::LeftButton || !active )
+ if ( !widget || e->button() != TQt::LeftButton || !active )
return;
oldPressPos = e->pos();
geom = origGeom = TQRect( widget->pos(), widget->size() );
@@ -110,7 +110,7 @@ void SizeHandle::mousePressEvent( TQMouseEvent *e )
void SizeHandle::mouseMoveEvent( TQMouseEvent *e )
{
- if ( !widget || ( e->state() & Qt::LeftButton ) != Qt::LeftButton || !active )
+ if ( !widget || ( e->state() & TQt::LeftButton ) != TQt::LeftButton || !active )
return;
TQPoint rp = mapFromGlobal( e->globalPos() );
TQPoint d = oldPressPos - rp;
@@ -222,7 +222,7 @@ void SizeHandle::mouseMoveEvent( TQMouseEvent *e )
void SizeHandle::mouseReleaseEvent( TQMouseEvent *e )
{
- if ( e->button() != Qt::LeftButton || !active )
+ if ( e->button() != TQt::LeftButton || !active )
return;
formWindow->sizePreview()->hide();