diff options
Diffstat (limited to 'arts/builder/createtool.cpp')
-rw-r--r-- | arts/builder/createtool.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arts/builder/createtool.cpp b/arts/builder/createtool.cpp index ef26009f..f8d5c7e5 100644 --- a/arts/builder/createtool.cpp +++ b/arts/builder/createtool.cpp @@ -25,7 +25,7 @@ #include "structureport.h" //#include <arts/debug.h> -#include <palette.h> +#include <tqpalette.h> #include <tqpainter.h> #include <kmessagebox.h> #include <klocale.h> @@ -55,7 +55,7 @@ CreateTool::CreateTool(ModuleWidget *mwidget) CreateTool::~CreateTool() { - mwidget->repaint(componentRect); + mwidget->tqrepaint(componentRect); mwidget->setCursor(oldCursor); mwidget->setMouseTracking(oldMouseTracking); } @@ -89,7 +89,7 @@ void CreateTool::mouseMoveEvent(TQMouseEvent *e) && mwidget->colXPos(x + width, &cellx2) && mwidget->rowYPos(y + height, &celly2); if(!posok) return; - mwidget->repaint(componentRect); + mwidget->tqrepaint(componentRect); componentRect = TQRect(cellx, celly, cellx2 - cellx, celly2 - celly); TQPainter *p = new TQPainter; @@ -303,7 +303,7 @@ void ConnectPortsTool::mouseMoveEvent(TQMouseEvent *e) { TQPainter painter(mwidget); painter.setPen(TQt::white); - mwidget->repaint(TQRect(firstPos, lastPos).normalize()); + mwidget->tqrepaint(TQRect(firstPos, lastPos).normalize()); painter.drawLine(firstPos, e->pos()); lastPos = e->pos(); } @@ -334,6 +334,6 @@ void ConnectPortsTool::mouseReleaseEvent(TQMouseEvent *e) } } } - mwidget->repaint(TQRect(firstPos, lastPos).normalize()); + mwidget->tqrepaint(TQRect(firstPos, lastPos).normalize()); mwidget->leaveTool(this); } |