diff options
author | Michele Calgaro <[email protected]> | 2023-11-04 23:32:44 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 20:51:25 +0900 |
commit | 5a84066555984b1b0c6e00e950d8f6d106fe877b (patch) | |
tree | 7cd9102a8ca3bcb3ffaa566d7302ad15e580d757 /src/gui/editors/notation | |
parent | 7d34c9951c402a4c22da5597ed2e72f3caf66938 (diff) | |
download | rosegarden-5a84066555984b1b0c6e00e950d8f6d106fe877b.tar.gz rosegarden-5a84066555984b1b0c6e00e950d8f6d106fe877b.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 1ec7b1dadc8d1668fb89cf06b32dfc52c18db4d6)
Diffstat (limited to 'src/gui/editors/notation')
-rw-r--r-- | src/gui/editors/notation/NoteFont.cpp | 2 | ||||
-rw-r--r-- | src/gui/editors/notation/NotePixmapFactory.cpp | 2 | ||||
-rw-r--r-- | src/gui/editors/notation/NotePixmapPainter.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/editors/notation/NoteFont.cpp b/src/gui/editors/notation/NoteFont.cpp index af8dd46..60157ca 100644 --- a/src/gui/editors/notation/NoteFont.cpp +++ b/src/gui/editors/notation/NoteFont.cpp @@ -202,7 +202,7 @@ NoteFont::lookupDrawRep(TQPixmap *pixmap) const return 0; if (image.depth() > 1) { - image = image.convertDepth(1, Qt::MonoOnly | Qt::ThresholdDither); + image = image.convertDepth(1, TQt::MonoOnly | TQt::ThresholdDither); } NoteCharacterDrawRep *a = new NoteCharacterDrawRep(); diff --git a/src/gui/editors/notation/NotePixmapFactory.cpp b/src/gui/editors/notation/NotePixmapFactory.cpp index 22c22f7..9268121 100644 --- a/src/gui/editors/notation/NotePixmapFactory.cpp +++ b/src/gui/editors/notation/NotePixmapFactory.cpp @@ -2921,7 +2921,7 @@ NotePixmapFactory::drawOttavaAux(int length, int octavesUp, m_p->drawLine(x0, y0, x1, y0); - pen.setStyle(Qt::SolidLine); + pen.setStyle(TQt::SolidLine); m_p->painter().setPen(pen); // if (!m_inPrinterMethod) m_p->maskPainter().setPen(pen); diff --git a/src/gui/editors/notation/NotePixmapPainter.h b/src/gui/editors/notation/NotePixmapPainter.h index 62118af..4e5ca12 100644 --- a/src/gui/editors/notation/NotePixmapPainter.h +++ b/src/gui/editors/notation/NotePixmapPainter.h @@ -42,8 +42,8 @@ public: m_externalPainter = painter; m_useMask = false; - painter->setPen(TQPen(Qt::black, 1, Qt::SolidLine, - Qt::RoundCap, Qt::RoundJoin)); + painter->setPen(TQPen(TQt::black, 1, TQt::SolidLine, + TQt::RoundCap, TQt::RoundJoin)); if (m_externalPainter) { m_painter = m_externalPainter; |