diff options
Diffstat (limited to 'kimagemapeditor/drawzone.cpp')
-rw-r--r-- | kimagemapeditor/drawzone.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kimagemapeditor/drawzone.cpp b/kimagemapeditor/drawzone.cpp index 51fdb2ac..082379e3 100644 --- a/kimagemapeditor/drawzone.cpp +++ b/kimagemapeditor/drawzone.cpp @@ -25,7 +25,7 @@ #include <kdebug.h> #include <kurldrag.h> #include <tdeglobal.h> -#include <kstandarddirs.h> +#include <tdestandarddirs.h> #include <tdeapplication.h> #include <kmimetype.h> @@ -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()); |