summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/PercussionPitchRuler.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:35 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:35 -0600
commit6ca08e7a881c0c97f338e0085f75af04ec08ad04 (patch)
tree5462bef0f060df1c19e3fcb98250e5cfa24edc11 /src/gui/rulers/PercussionPitchRuler.cpp
parent4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (diff)
downloadrosegarden-6ca08e7a881c0c97f338e0085f75af04ec08ad04.tar.gz
rosegarden-6ca08e7a881c0c97f338e0085f75af04ec08ad04.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.
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 ec2b00f..16b9558 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::sizeHint() const
+TQSize PercussionPitchRuler::tqsizeHint() const
{
return TQSize(m_width,
(m_lineSpacing + 1) * m_mapping->getPitchExtent());
}
-TQSize PercussionPitchRuler::minimumSizeHint() const
+TQSize PercussionPitchRuler::tqminimumSizeHint() const
{
return TQSize(m_width, m_lineSpacing + 1);
}
@@ -159,7 +159,7 @@ void PercussionPitchRuler::mouseMoveEvent(TQMouseEvent* e)
{
// ugh
- MatrixView *matrixView = dynamic_cast<MatrixView*>(topLevelWidget());
+ MatrixView *matrixView = dynamic_cast<MatrixView*>(tqtopLevelWidget());
if (matrixView) {
MatrixStaff *staff = matrixView->getStaff(0);
if (staff) {