diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 1905a36716979889e47bb0fdd7bf33c6204c5a6d (patch) | |
tree | 0daef2425269e8053435f4f7e734091d72e27be0 /src/gui/editors/matrix/MatrixSelector.cpp | |
parent | 05768569bc9c8b3eb75c837d305058fc280db63c (diff) | |
download | rosegarden-1905a36716979889e47bb0fdd7bf33c6204c5a6d.tar.gz rosegarden-1905a36716979889e47bb0fdd7bf33c6204c5a6d.zip |
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/editors/matrix/MatrixSelector.cpp')
-rw-r--r-- | src/gui/editors/matrix/MatrixSelector.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/editors/matrix/MatrixSelector.cpp b/src/gui/editors/matrix/MatrixSelector.cpp index 3109aec..14d6a0c 100644 --- a/src/gui/editors/matrix/MatrixSelector.cpp +++ b/src/gui/editors/matrix/MatrixSelector.cpp @@ -71,7 +71,7 @@ MatrixSelector::MatrixSelector(MatrixView* view) m_matrixView(view), m_selectionToMerge(0) { - connect(m_tqparentView, TQT_SIGNAL(usedSelection()), + connect(m_parentView, TQT_SIGNAL(usedSelection()), this, TQT_SLOT(slotHideSelection())); new KAction(i18n("Switch to Draw Tool"), "pencil", 0, this, @@ -153,10 +153,10 @@ void MatrixSelector::handleLeftButtonPress(timeT time, resizeStart = x + width - 10; if (p.x() > resizeStart) { - m_dispatchTool = m_tqparentView-> + m_dispatchTool = m_parentView-> getToolBox()->getTool(MatrixResizer::ToolName); } else { - m_dispatchTool = m_tqparentView-> + m_dispatchTool = m_parentView-> getToolBox()->getTool(MatrixMover::ToolName); } @@ -214,7 +214,7 @@ void MatrixSelector::handleLeftButtonPress(timeT time, } } - //m_tqparentView->setCursorPosition(p.x()); + //m_parentView->setCursorPosition(p.x()); } void MatrixSelector::handleMidButtonPress(timeT time, @@ -229,7 +229,7 @@ void MatrixSelector::handleMidButtonPress(timeT time, if (dynamic_cast<MatrixElement*>(element)) return ; - m_dispatchTool = m_tqparentView-> + m_dispatchTool = m_parentView-> getToolBox()->getTool(MatrixPainter::ToolName); m_dispatchTool->ready(); @@ -447,7 +447,7 @@ void MatrixSelector::ready() //m_mParentView->setPositionTracking(false); } - connect(m_tqparentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)), + connect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)), this, TQT_SLOT(slotMatrixScrolled(int, int))); setContextHelp(i18n("Click and drag to select; middle-click and drag to draw new note")); @@ -461,7 +461,7 @@ void MatrixSelector::stow() m_mParentView->canvas()->update(); } - disconnect(m_tqparentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)), + disconnect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)), this, TQT_SLOT(slotMatrixScrolled(int, int))); } @@ -478,8 +478,8 @@ void MatrixSelector::slotHideSelection() void MatrixSelector::slotMatrixScrolled(int newX, int newY) { if (m_updateRect) { - int offsetX = newX - m_tqparentView->getCanvasView()->contentsX(); - int offsetY = newY - m_tqparentView->getCanvasView()->contentsY(); + int offsetX = newX - m_parentView->getCanvasView()->contentsX(); + int offsetY = newY - m_parentView->getCanvasView()->contentsY(); int w = int(m_selectionRect->width() + offsetX); int h = int(m_selectionRect->height() + offsetY); |