diff options
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; |