diff options
Diffstat (limited to 'umbrello/umbrello/toolbarstateassociation.cpp')
-rw-r--r-- | umbrello/umbrello/toolbarstateassociation.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/umbrello/umbrello/toolbarstateassociation.cpp b/umbrello/umbrello/toolbarstateassociation.cpp index d36647dd..64d2fbfe 100644 --- a/umbrello/umbrello/toolbarstateassociation.cpp +++ b/umbrello/umbrello/toolbarstateassociation.cpp @@ -54,11 +54,11 @@ void ToolBarStateAssociation::cleanBeforeChange() { cleanAssociation(); } -void ToolBarStateAssociation::mouseMove(QMouseEvent* ome) { +void ToolBarStateAssociation::mouseMove(TQMouseEvent* ome) { ToolBarStatePool::mouseMove(ome); if (m_associationLine) { - QPoint sp = m_associationLine->startPoint(); + TQPoint sp = m_associationLine->startPoint(); m_associationLine->setPoints(sp.x(), sp.y(), m_pMouseEvent->x(), m_pMouseEvent->y()); } } @@ -120,7 +120,7 @@ void ToolBarStateAssociation::setFirstWidget() { return; } //set up position - QPoint pos; + TQPoint pos; pos.setX(widget->getX() + (widget->getWidth() / 2)); pos.setY(widget->getY() + (widget->getHeight() / 2)); //TODO why is this needed? @@ -128,9 +128,9 @@ void ToolBarStateAssociation::setFirstWidget() { m_firstWidget = widget; - m_associationLine = new QCanvasLine(m_pUMLView->canvas()); + m_associationLine = new TQCanvasLine(m_pUMLView->canvas()); m_associationLine->setPoints(pos.x(), pos.y(), pos.x(), pos.y()); - m_associationLine->setPen(QPen(m_pUMLView->getLineColor(), m_pUMLView->getLineWidth(), Qt::DashLine)); + m_associationLine->setPen(TQPen(m_pUMLView->getLineColor(), m_pUMLView->getLineWidth(), Qt::DashLine)); m_associationLine->setVisible(true); |