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 /kimagemapeditor | |
parent | 75cc1255aac342b128515b44fde9a332f1b2a197 (diff) | |
download | tdewebdev-b00a91b065f6efa0c1b88e7317fe49f6926cf0a6.tar.gz tdewebdev-b00a91b065f6efa0c1b88e7317fe49f6926cf0a6.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 818c8f1cd1fd849f857201eb8911434c514d6c3e)
Diffstat (limited to 'kimagemapeditor')
-rw-r--r-- | kimagemapeditor/drawzone.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kimagemapeditor/drawzone.cpp b/kimagemapeditor/drawzone.cpp index 51fdb2ac..f89b4e3d 100644 --- a/kimagemapeditor/drawzone.cpp +++ b/kimagemapeditor/drawzone.cpp @@ -262,7 +262,7 @@ void DrawZone::contentsMousePressEvent(TQMouseEvent* e) } if ( currentAction==None ) { - if (e->button()==Qt::RightButton) + if (e->button()==TQt::RightButton) { if ( (currentArea=imageMapEditor->onArea(drawStart)) ) { @@ -278,7 +278,7 @@ void DrawZone::contentsMousePressEvent(TQMouseEvent* e) } else - if (e->button()==Qt::MidButton) { + if (e->button()==TQt::MidButton) { contentsMouseDoubleClickEvent(e); } else // LeftClick on selectionpoint @@ -420,7 +420,7 @@ void DrawZone::contentsMouseReleaseEvent(TQMouseEvent *e) { // the right Button was pressed the Polygon is finished if ((currentArea->selectionPoints()->count()>2) && (currentArea->selectionPoints()->first()->contains(drawEnd) - || (e->button()==Qt::RightButton))) + || (e->button()==TQt::RightButton))) { currentArea->setFinished(true); currentAction=None; @@ -849,7 +849,7 @@ void DrawZone::drawContents(TQPainter* p,int clipx,int clipy,int clipw,int cliph { TQPen pen = TQPen(TQColor("white"),1); p2.setRasterOp(TQt::XorROP); - pen.setStyle(Qt::DotLine); + pen.setStyle(TQt::DotLine); p2.setPen(pen); TQRect r( drawStart.x(),drawStart.y(),drawCurrent.x()-drawStart.x(),drawCurrent.y()-drawStart.y()); |