summaryrefslogtreecommitdiffstats
path: root/kimagemapeditor
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 19:27:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 19:27:43 +0900
commit818c8f1cd1fd849f857201eb8911434c514d6c3e (patch)
tree7d3b76bd03fb2bfd3dd8a11713dc28e7a88c069c /kimagemapeditor
parenta6f77b2087cbf3c4047f46b684c7ae33b7757ec1 (diff)
downloadtdewebdev-818c8f1cd1fd849f857201eb8911434c514d6c3e.tar.gz
tdewebdev-818c8f1cd1fd849f857201eb8911434c514d6c3e.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kimagemapeditor')
-rw-r--r--kimagemapeditor/drawzone.cpp8
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());