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.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/editors/matrix/MatrixPainter.cpp b/src/gui/editors/matrix/MatrixPainter.cpp
index 11bbc0b..7616de6 100644
--- a/src/gui/editors/matrix/MatrixPainter.cpp
+++ b/src/gui/editors/matrix/MatrixPainter.cpp
@@ -53,8 +53,8 @@
namespace Rosegarden
{
-MatrixPainter::MatrixPainter(MatrixView* parent)
- : MatrixTool("MatrixPainter", parent),
+MatrixPainter::MatrixPainter(MatrixView* tqparent)
+ : MatrixTool("MatrixPainter", tqparent),
m_currentElement(0),
m_currentStaff(0)
{
@@ -83,8 +83,8 @@ MatrixPainter::MatrixPainter(MatrixView* parent)
createMenu("matrixpainter.rc");
}
-MatrixPainter::MatrixPainter(TQString name, MatrixView* parent)
- : MatrixTool(name, parent),
+MatrixPainter::MatrixPainter(TQString name, MatrixView* tqparent)
+ : MatrixTool(name, tqparent),
m_currentElement(0),
m_currentStaff(0)
{}
@@ -320,17 +320,17 @@ void MatrixPainter::handleMouseRelease(timeT endTime,
void MatrixPainter::ready()
{
- connect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)),
+ connect(m_tqparentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)),
this, TQT_SLOT(slotMatrixScrolled(int, int)));
- m_mParentView->setCanvasCursor(Qt::crossCursor);
+ m_mParentView->setCanvasCursor(TQt::crossCursor);
setBasicContextHelp();
}
void MatrixPainter::stow()
{
- disconnect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)),
+ disconnect(m_tqparentView->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_parentView->getCanvasView()->contentsX(),
- m_parentView->getCanvasView()->contentsY());
+ TQPoint newP1(newX, newY), oldP1(m_tqparentView->getCanvasView()->contentsX(),
+ m_tqparentView->getCanvasView()->contentsY());
TQPoint offset = newP1 - oldP1;