summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/matrix/PianoKeyboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/matrix/PianoKeyboard.cpp')
-rw-r--r--src/gui/editors/matrix/PianoKeyboard.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/editors/matrix/PianoKeyboard.cpp b/src/gui/editors/matrix/PianoKeyboard.cpp
index 7ae4a5a..0b8563e 100644
--- a/src/gui/editors/matrix/PianoKeyboard.cpp
+++ b/src/gui/editors/matrix/PianoKeyboard.cpp
@@ -65,13 +65,13 @@ PianoKeyboard::PianoKeyboard(TQWidget *parent, int keys)
setMouseTracking(true);
}
-TQSize PianoKeyboard::tqsizeHint() const
+TQSize PianoKeyboard::sizeHint() const
{
return TQSize(m_keySize.width(),
m_keySize.height() * m_nbKeys);
}
-TQSize PianoKeyboard::tqminimumSizeHint() const
+TQSize PianoKeyboard::minimumSizeHint() const
{
return m_keySize;
}
@@ -154,7 +154,7 @@ void PianoKeyboard::paintEvent(TQPaintEvent*)
label.getTQString());
}
- paint.setBrush(tqcolorGroup().foreground());
+ paint.setBrush(colorGroup().foreground());
for (unsigned int i = 0; i < m_blackKeyPos.size(); ++i)
paint.drawRect(0, m_blackKeyPos[i],
@@ -249,7 +249,7 @@ void PianoKeyboard::mouseMoveEvent(TQMouseEvent* e)
//
// RWB (20040220)
//
- MatrixView *matrixView = dynamic_cast<MatrixView*>(tqtopLevelWidget());
+ MatrixView *matrixView = dynamic_cast<MatrixView*>(topLevelWidget());
if (matrixView) {
MatrixStaff *staff = matrixView->getStaff(0);