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/segment/segmentcanvas/CompositionView.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/segment/segmentcanvas/CompositionView.cpp')
| -rw-r--r-- | src/gui/editors/segment/segmentcanvas/CompositionView.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/editors/segment/segmentcanvas/CompositionView.cpp b/src/gui/editors/segment/segmentcanvas/CompositionView.cpp index be654e7..3d09344 100644 --- a/src/gui/editors/segment/segmentcanvas/CompositionView.cpp +++ b/src/gui/editors/segment/segmentcanvas/CompositionView.cpp @@ -878,7 +878,7 @@ void CompositionView::drawAreaAudioPreviews(TQPainter * p, const TQRect& clipRec // << " - preResizeOrigin : " << api->preResizeOrigin << endl; p->drawImage(drawBasePoint, api->pixmap[idx], localRect, - Qt::ColorOnly | Qt::ThresholdDither | Qt::AvoidDither); + TQt::ColorOnly | TQt::ThresholdDither | TQt::AvoidDither); ++idx; if (idx >= api->pixmap.size()) @@ -1361,8 +1361,8 @@ void CompositionView::contentsMousePressEvent(TQMouseEvent* e) slotSetPencilOverExisting((bs & TQt::AltButton + TQt::ControlButton) != 0); switch (e->button()) { - case Qt::LeftButton: - case Qt::MidButton: + case TQt::LeftButton: + case TQt::MidButton: startAutoScroll(); if (m_tool) @@ -1371,7 +1371,7 @@ void CompositionView::contentsMousePressEvent(TQMouseEvent* e) RG_DEBUG << "CompositionView::contentsMousePressEvent() :" << this << " no tool\n"; break; - case Qt::RightButton: + case TQt::RightButton: if (m_tool) m_tool->handleRightButtonPress(e); else @@ -1392,8 +1392,8 @@ void CompositionView::contentsMouseReleaseEvent(TQMouseEvent* e) if (!m_tool) return ; - if (e->button() == Qt::LeftButton || - e->button() == Qt::MidButton ) + if (e->button() == TQt::LeftButton || + e->button() == TQt::MidButton ) m_tool->handleMouseButtonRelease(e); } |
