summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/matrix/MatrixPainter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/matrix/MatrixPainter.cpp')
-rw-r--r--src/gui/editors/matrix/MatrixPainter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/editors/matrix/MatrixPainter.cpp b/src/gui/editors/matrix/MatrixPainter.cpp
index 7616de6..4ed4c6b 100644
--- a/src/gui/editors/matrix/MatrixPainter.cpp
+++ b/src/gui/editors/matrix/MatrixPainter.cpp
@@ -320,7 +320,7 @@ void MatrixPainter::handleMouseRelease(timeT endTime,
void MatrixPainter::ready()
{
- connect(m_tqparentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)),
+ connect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)),
this, TQT_SLOT(slotMatrixScrolled(int, int)));
m_mParentView->setCanvasCursor(TQt::crossCursor);
@@ -330,7 +330,7 @@ void MatrixPainter::ready()
void MatrixPainter::stow()
{
- disconnect(m_tqparentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)),
+ disconnect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)),
this, TQT_SLOT(slotMatrixScrolled(int, int)));
}
@@ -339,8 +339,8 @@ void MatrixPainter::slotMatrixScrolled(int newX, int newY)
if (!m_currentElement)
return ;
- TQPoint newP1(newX, newY), oldP1(m_tqparentView->getCanvasView()->contentsX(),
- m_tqparentView->getCanvasView()->contentsY());
+ TQPoint newP1(newX, newY), oldP1(m_parentView->getCanvasView()->contentsX(),
+ m_parentView->getCanvasView()->contentsY());
TQPoint offset = newP1 - oldP1;