summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/matrix/MatrixView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/matrix/MatrixView.cpp')
-rw-r--r--src/gui/editors/matrix/MatrixView.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/editors/matrix/MatrixView.cpp b/src/gui/editors/matrix/MatrixView.cpp
index cd5ba47..680a31e 100644
--- a/src/gui/editors/matrix/MatrixView.cpp
+++ b/src/gui/editors/matrix/MatrixView.cpp
@@ -179,7 +179,7 @@ MatrixView::MatrixView(RosegardenGUIDoc *doc,
TQT_TQOBJECT(this), TQT_SLOT(slotParametersClosed()));
connect(m_dockLeft, TQT_SIGNAL(hasUndocked()),
TQT_TQOBJECT(this), TQT_SLOT(slotParametersClosed()));
- // Aptqparently, hasUndocked() is emitted when the dock widget's
+ // Apparently, hasUndocked() is emitted when the dock widget's
// 'close' button on the dock handle is clicked.
connect(m_mainDockWidget, TQT_SIGNAL(docking(KDockWidget*, KDockWidget::DockPosition)),
TQT_TQOBJECT(this), TQT_SLOT(slotParametersDockedBack(KDockWidget*, KDockWidget::DockPosition)));
@@ -432,8 +432,8 @@ MatrixView::MatrixView(RosegardenGUIDoc *doc,
MATRIX_DEBUG << "MatrixView : applying tqlayout\n";
- bool tqlayoutApplied = applyLayout();
- if (!tqlayoutApplied)
+ bool layoutApplied = applyLayout();
+ if (!layoutApplied)
KMessageBox::sorry(0, i18n("Couldn't apply piano roll tqlayout"));
else {
MATRIX_DEBUG << "MatrixView : rendering elements\n";
@@ -2314,8 +2314,8 @@ MatrixView::slotZoomOut()
void
MatrixView::scrollToTime(timeT t)
{
- double tqlayoutCoord = m_htqlayout.getXForTime(t);
- getCanvasView()->slotScrollHoriz(int(tqlayoutCoord));
+ double layoutCoord = m_htqlayout.getXForTime(t);
+ getCanvasView()->slotScrollHoriz(int(layoutCoord));
}
int
@@ -3048,8 +3048,8 @@ MatrixView::slotPercussionSetChanged(Instrument * newInstr)
// Update matrix canvas
readjustCanvasSize();
- bool tqlayoutApplied = applyLayout();
- if (!tqlayoutApplied)
+ bool layoutApplied = applyLayout();
+ if (!layoutApplied)
KMessageBox::sorry(0, i18n("Couldn't apply piano roll tqlayout"));
else {
MATRIX_DEBUG << "MatrixView : rendering elements\n";