summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/PercussionPitchRuler.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:14:51 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:14:51 -0600
commitef13416bfc43e51ef4e20919e0fab81ae05e0fe2 (patch)
tree76bc36e1cbecae4d7811b5605adfb0804d0041f9 /src/gui/rulers/PercussionPitchRuler.cpp
parent6ca08e7a881c0c97f338e0085f75af04ec08ad04 (diff)
downloadrosegarden-ef13416bfc43e51ef4e20919e0fab81ae05e0fe2.tar.gz
rosegarden-ef13416bfc43e51ef4e20919e0fab81ae05e0fe2.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/gui/rulers/PercussionPitchRuler.cpp')
-rw-r--r--src/gui/rulers/PercussionPitchRuler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/rulers/PercussionPitchRuler.cpp b/src/gui/rulers/PercussionPitchRuler.cpp
index 16b9558..ec2b00f 100644
--- a/src/gui/rulers/PercussionPitchRuler.cpp
+++ b/src/gui/rulers/PercussionPitchRuler.cpp
@@ -63,13 +63,13 @@ PercussionPitchRuler::PercussionPitchRuler(TQWidget *parent,
setMouseTracking(true);
}
-TQSize PercussionPitchRuler::tqsizeHint() const
+TQSize PercussionPitchRuler::sizeHint() const
{
return TQSize(m_width,
(m_lineSpacing + 1) * m_mapping->getPitchExtent());
}
-TQSize PercussionPitchRuler::tqminimumSizeHint() const
+TQSize PercussionPitchRuler::minimumSizeHint() const
{
return TQSize(m_width, m_lineSpacing + 1);
}
@@ -159,7 +159,7 @@ void PercussionPitchRuler::mouseMoveEvent(TQMouseEvent* e)
{
// ugh
- MatrixView *matrixView = dynamic_cast<MatrixView*>(tqtopLevelWidget());
+ MatrixView *matrixView = dynamic_cast<MatrixView*>(topLevelWidget());
if (matrixView) {
MatrixStaff *staff = matrixView->getStaff(0);
if (staff) {