summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/matrix/MatrixStaff.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/editors/matrix/MatrixStaff.cpp
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/editors/matrix/MatrixStaff.cpp')
-rw-r--r--src/gui/editors/matrix/MatrixStaff.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/editors/matrix/MatrixStaff.cpp b/src/gui/editors/matrix/MatrixStaff.cpp
index b6be79f..55491d0 100644
--- a/src/gui/editors/matrix/MatrixStaff.cpp
+++ b/src/gui/editors/matrix/MatrixStaff.cpp
@@ -46,13 +46,13 @@
#include "MatrixElement.h"
#include "MatrixView.h"
#include "MatrixVLayout.h"
-#include <qcanvas.h>
+#include <tqcanvas.h>
namespace Rosegarden
{
-MatrixStaff::MatrixStaff(QCanvas *canvas,
+MatrixStaff::MatrixStaff(TQCanvas *canvas,
Segment *segment,
SnapGrid *snapGrid,
int id,
@@ -144,7 +144,7 @@ void MatrixStaff::positionElement(ViewElement* vel)
// Memorize initial rectangle position. May be some overlap rectangles
// belonging to other notes are here and should be refreshed after
// current element is moved.
- QRect initialRect;
+ TQRect initialRect;
bool rectWasVisible;
if (! m_view->isDrumMode())
rectWasVisible = el->getVisibleRectangle(initialRect);