diff options
Diffstat (limited to 'kivio/plugins/kivioselecttool/tool_select.cpp')
-rw-r--r-- | kivio/plugins/kivioselecttool/tool_select.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kivio/plugins/kivioselecttool/tool_select.cpp b/kivio/plugins/kivioselecttool/tool_select.cpp index 6117cf61..b6c24c57 100644 --- a/kivio/plugins/kivioselecttool/tool_select.cpp +++ b/kivio/plugins/kivioselecttool/tool_select.cpp @@ -247,7 +247,7 @@ bool SelectTool::startRubberBanding(const TQPoint &pos) canvas->activePage()->unselectAllStencils(); canvas->startRectDraw( pos, KivioCanvas::Rubber ); - canvas->repaint(); + canvas->tqrepaint(); return true; } @@ -299,7 +299,7 @@ bool SelectTool::startDragging(const TQPoint &pos, bool onlySelected) // Create a new painter object canvas->beginUnclippedSpawnerPainter(); - // Build the list of old geometry + // Build the list of old tqgeometry KivioSelectDragData *pData; m_lstOldGeometry.clear(); pStencil = canvas->activePage()->selectedStencils()->first(); @@ -365,7 +365,7 @@ bool SelectTool::startCustomDragging(const TQPoint &pos, bool selectedOnly ) m_customDragOrigPoint = pStencil->customIDPoint(m_customDragID); view()->canvasWidget()->setShowConnectorTargets(true); - view()->canvasWidget()->repaint(); + view()->canvasWidget()->tqrepaint(); // Create a new painter object canvas->beginUnclippedSpawnerPainter(); @@ -491,7 +491,7 @@ void SelectTool::continueRubberBanding(const TQPoint &pos) * Continues the dragging process of a stencil (moving) * * How does this work? Initially we create a list of all the original - * geometry of all the selected stencils. We use that to calculate delta + * tqgeometry of all the selected stencils. We use that to calculate delta * movements and snap them to the grid. */ void SelectTool::continueDragging(const TQPoint &pos, bool ignoreGridGuides) @@ -512,7 +512,7 @@ void SelectTool::continueDragging(const TQPoint &pos, bool ignoreGridGuides) canvas->drawSelectedStencilsXOR(); } else { canvas->activePage()->setPaintSelected(false); - canvas->repaint(); + canvas->tqrepaint(); m_firstTime = false; } @@ -628,7 +628,7 @@ void SelectTool::continueCustomDragging(const TQPoint &pos) canvas->drawStencilXOR(m_pCustomDraggingStencil); } else { m_pCustomDraggingStencil->setHidden(true); - canvas->repaint(); + canvas->tqrepaint(); m_firstTime = false; } } @@ -641,7 +641,7 @@ void SelectTool::continueCustomDragging(const TQPoint &pos) if(m_pCustomDraggingStencil->type() != kstConnector){ canvas->drawStencilXOR(m_pCustomDraggingStencil); } else { - view()->canvasWidget()->repaint(); + view()->canvasWidget()->tqrepaint(); } view()->updateToolBars(); @@ -674,7 +674,7 @@ void SelectTool::continueResizing(const TQPoint &pos, bool ignoreGridGuides) if( !pData ) { - kdDebug(43000) << "SelectTool::continueResizing() - Original geometry not found" << endl; + kdDebug(43000) << "SelectTool::continueResizing() - Original tqgeometry not found" << endl; return; } @@ -687,7 +687,7 @@ void SelectTool::continueResizing(const TQPoint &pos, bool ignoreGridGuides) canvas->drawStencilXOR( m_pResizingStencil ); } else { m_pResizingStencil->setHidden(true); - canvas->repaint(); + canvas->tqrepaint(); m_firstTime = false; } @@ -1050,7 +1050,7 @@ void SelectTool::endDragging(const TQPoint&) canvas->drawSelectedStencilsXOR(); canvas->endUnclippedSpawnerPainter(); - // Clear the list of old geometry + // Clear the list of old tqgeometry m_lstOldGeometry.clear(); } @@ -1077,7 +1077,7 @@ void SelectTool::endCustomDragging(const TQPoint&) canvas->endUnclippedSpawnerPainter(); canvas->setShowConnectorTargets(false); - canvas->repaint(); + canvas->tqrepaint(); } void SelectTool::endResizing(const TQPoint&) @@ -1200,7 +1200,7 @@ void SelectTool::keyPress(TQKeyEvent* e) // Create a new painter object canvas->beginUnclippedSpawnerPainter(); - // Build the list of old geometry + // Build the list of old tqgeometry KivioSelectDragData *pData; m_lstOldGeometry.clear(); KivioStencil* pStencil = canvas->activePage()->selectedStencils()->first(); |