diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 19:27:43 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 09:53:00 +0900 |
| commit | b00a91b065f6efa0c1b88e7317fe49f6926cf0a6 (patch) | |
| tree | 63895f4fe78a75ca574006fdaba7a8b48d32649b /kommander/editor/sizehandle.cpp | |
| parent | 75cc1255aac342b128515b44fde9a332f1b2a197 (diff) | |
| download | tdewebdev-b00a91b0.tar.gz tdewebdev-b00a91b0.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 818c8f1cd1fd849f857201eb8911434c514d6c3e)
Diffstat (limited to 'kommander/editor/sizehandle.cpp')
| -rw-r--r-- | kommander/editor/sizehandle.cpp | 6 |
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(); |
