summaryrefslogtreecommitdiffstats
path: root/kplato/kptpertcanvas.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:54:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-16 23:37:57 +0900
commitef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch)
tree03df826633e4ba084d133ca977c4fc37c74f21ac /kplato/kptpertcanvas.cpp
parent895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff)
downloadkoffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz
koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kplato/kptpertcanvas.cpp')
-rw-r--r--kplato/kptpertcanvas.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kplato/kptpertcanvas.cpp b/kplato/kptpertcanvas.cpp
index 9d12945c..55e8c36e 100644
--- a/kplato/kptpertcanvas.cpp
+++ b/kplato/kptpertcanvas.cpp
@@ -301,11 +301,11 @@ void PertCanvas::contentsMousePressEvent ( TQMouseEvent * e )
//kdDebug()<<k_funcinfo<<" gl.X,gl.Y="<<e->globalX()<<","<<e->globalY()<<" x,y="<<e->x()<<","<<e->y()<<endl;
switch (e->button())
{
- case Qt::LeftButton:
+ case TQt::LeftButton:
{
break;
}
- case Qt::RightButton:
+ case TQt::RightButton:
{
PertNodeItem *item = selectedItem();
if (item)
@@ -335,7 +335,7 @@ void PertCanvas::contentsMousePressEvent ( TQMouseEvent * e )
}
break;
}
- case Qt::MidButton:
+ case TQt::MidButton:
break;
default:
break;
@@ -347,7 +347,7 @@ void PertCanvas::contentsMouseReleaseEvent ( TQMouseEvent * e )
//kdDebug()<<k_funcinfo<<" gl.X,gl.Y="<<e->globalX()<<","<<e->globalY()<<" x,y="<<e->x()<<","<<e->y()<<endl;
switch (e->button())
{
- case Qt::LeftButton:
+ case TQt::LeftButton:
{
bool hit = false;
TQCanvasItemList l = canvas()->collisions(e->pos());
@@ -393,11 +393,11 @@ void PertCanvas::contentsMouseReleaseEvent ( TQMouseEvent * e )
canvas()->update();
break;
}
- case Qt::RightButton:
+ case TQt::RightButton:
{
break;
}
- case Qt::MidButton:
+ case TQt::MidButton:
break;
default:
break;