From 05768569bc9c8b3eb75c837d305058fc280db63c Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 7 Jul 2011 21:14:06 +0000 Subject: [PATCH] Rename incorrect instances of tqrepaint[...] to repaint[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/document/RosegardenGUIDoc.h | 2 +- src/gui/editors/matrix/MatrixView.cpp | 6 +++--- src/gui/editors/matrix/MatrixView.h | 2 +- src/gui/editors/notation/NotationView.cpp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/document/RosegardenGUIDoc.h b/src/document/RosegardenGUIDoc.h index 282e8c0..85cd484 100644 --- a/src/document/RosegardenGUIDoc.h +++ b/src/document/RosegardenGUIDoc.h @@ -449,7 +449,7 @@ public slots: /** * calls tqrepaint() on all views connected to the document object * and is called by the view by which the document has been - * changed. As this view normally tqrepaints itself, it is excluded + * changed. As this view normally repaints itself, it is excluded * from the paintEvent. */ void slotUpdateAllViews(RosegardenGUIView *sender); diff --git a/src/gui/editors/matrix/MatrixView.cpp b/src/gui/editors/matrix/MatrixView.cpp index 424b98e..cd5ba47 100644 --- a/src/gui/editors/matrix/MatrixView.cpp +++ b/src/gui/editors/matrix/MatrixView.cpp @@ -1078,7 +1078,7 @@ void MatrixView::refreshSegment(Segment *segment, } m_staffs[0]->positionElements(startTime, endTime); - tqrepaintRulers(); + repaintRulers(); } TQSize MatrixView::getViewSize() @@ -1096,7 +1096,7 @@ void MatrixView::setViewSize(TQSize s) MATRIX_DEBUG << "MatrixView::setViewSize() contentsWidth = " << getCanvasView()->contentsWidth() << endl; } -void MatrixView::tqrepaintRulers() +void MatrixView::repaintRulers() { for (unsigned int i = 0; i != m_propertyViewRulers.size(); i++) m_propertyViewRulers[i].first->tqrepaint(); @@ -2574,7 +2574,7 @@ MatrixView::readjustCanvasSize() // now get the EditView to do the biz readjustViewSize(TQSize(newWidth, maxHeight), true); - tqrepaintRulers(); + repaintRulers(); } void MatrixView::slotVelocityUp() diff --git a/src/gui/editors/matrix/MatrixView.h b/src/gui/editors/matrix/MatrixView.h index d65b86a..fcd1963 100644 --- a/src/gui/editors/matrix/MatrixView.h +++ b/src/gui/editors/matrix/MatrixView.h @@ -201,7 +201,7 @@ public: * Repaint the control rulers * */ - void tqrepaintRulers(); + void repaintRulers(); /* * Readjust the canvas size diff --git a/src/gui/editors/notation/NotationView.cpp b/src/gui/editors/notation/NotationView.cpp index 4d16fb7..d58515f 100644 --- a/src/gui/editors/notation/NotationView.cpp +++ b/src/gui/editors/notation/NotationView.cpp @@ -761,7 +761,7 @@ NotationView::NotationView(RosegardenGUIDoc *doc, m_inhibitRefresh = false; // slotCheckRendered(0, getCanvasView()->visibleWidth()); - // getCanvasView()->tqrepaintContents(); + // getCanvasView()->repaintContents(); updateView(); TQObject::connect