diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:54:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-16 23:37:57 +0900 |
commit | ef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch) | |
tree | 03df826633e4ba084d133ca977c4fc37c74f21ac /kplato/kptpertcanvas.cpp | |
parent | 895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff) | |
download | koffice-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.cpp | 12 |
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; |