summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/sizehandle.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-07 19:27:29 +0900
committerMichele Calgaro <[email protected]>2023-11-07 19:36:24 +0900
commit6b0cf55d6252a256d9fc5bcb89837bec7f21f40d (patch)
treed7b0d2851112aab7e3f7f1a8f8f3ea8de4034350 /kdevdesigner/designer/sizehandle.cpp
parente531a8d913f8e44fd1e7b20b1ef8e60fd2dc7be0 (diff)
downloadtdevelop-6b0cf55d6252a256d9fc5bcb89837bec7f21f40d.tar.gz
tdevelop-6b0cf55d6252a256d9fc5bcb89837bec7f21f40d.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kdevdesigner/designer/sizehandle.cpp')
-rw-r--r--kdevdesigner/designer/sizehandle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdevdesigner/designer/sizehandle.cpp b/kdevdesigner/designer/sizehandle.cpp
index d60f223b..62d95bc7 100644
--- a/kdevdesigner/designer/sizehandle.cpp
+++ b/kdevdesigner/designer/sizehandle.cpp
@@ -107,7 +107,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() );
@@ -115,7 +115,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;
@@ -227,7 +227,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();