diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-04 23:32:44 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 20:51:25 +0900 |
| commit | 5a84066555984b1b0c6e00e950d8f6d106fe877b (patch) | |
| tree | 7cd9102a8ca3bcb3ffaa566d7302ad15e580d757 /src/gui/editors/matrix/PianoKeyboard.cpp | |
| parent | 7d34c9951c402a4c22da5597ed2e72f3caf66938 (diff) | |
| download | rosegarden-5a840665.tar.gz rosegarden-5a840665.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1ec7b1dadc8d1668fb89cf06b32dfc52c18db4d6)
Diffstat (limited to 'src/gui/editors/matrix/PianoKeyboard.cpp')
| -rw-r--r-- | src/gui/editors/matrix/PianoKeyboard.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/editors/matrix/PianoKeyboard.cpp b/src/gui/editors/matrix/PianoKeyboard.cpp index b099f48..7123695 100644 --- a/src/gui/editors/matrix/PianoKeyboard.cpp +++ b/src/gui/editors/matrix/PianoKeyboard.cpp @@ -256,7 +256,7 @@ void PianoKeyboard::mouseMoveEvent(TQMouseEvent* e) } } - if (e->state() & Qt::LeftButton) { + if (e->state() & TQt::LeftButton) { if (m_selecting) emit keySelected(e->y(), true); else @@ -272,7 +272,7 @@ void PianoKeyboard::mousePressEvent(TQMouseEvent *e) { TQt::ButtonState bs = e->state(); - if (e->button() == Qt::LeftButton) { + if (e->button() == TQt::LeftButton) { m_mouseDown = true; m_selecting = (bs & TQt::ShiftButton); m_lastKeyPressed = e->y(); @@ -286,7 +286,7 @@ void PianoKeyboard::mousePressEvent(TQMouseEvent *e) void PianoKeyboard::mouseReleaseEvent(TQMouseEvent *e) { - if (e->button() == Qt::LeftButton) { + if (e->button() == TQt::LeftButton) { m_mouseDown = false; m_selecting = false; emit keyReleased(e->y(), false); |
