summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/matrix/MatrixMover.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/matrix/MatrixMover.cpp')
-rw-r--r--src/gui/editors/matrix/MatrixMover.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/editors/matrix/MatrixMover.cpp b/src/gui/editors/matrix/MatrixMover.cpp
index 0b84537..c482a3c 100644
--- a/src/gui/editors/matrix/MatrixMover.cpp
+++ b/src/gui/editors/matrix/MatrixMover.cpp
@@ -420,7 +420,7 @@ void MatrixMover::handleMouseRelease(timeT newTime,
void MatrixMover::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)));
connect(this, TQT_SIGNAL(hoveredOverNoteChanged(int, bool, timeT)),
m_mParentView, TQT_SLOT(slotHoveredOverNoteChanged(int, bool, timeT)));
@@ -430,7 +430,7 @@ void MatrixMover::ready()
void MatrixMover::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)));
disconnect(this, TQT_SIGNAL(hoveredOverNoteChanged(int, bool, timeT)),
m_mParentView, TQT_SLOT(slotHoveredOverNoteChanged(int, bool, timeT)));
@@ -441,8 +441,8 @@ void MatrixMover::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;