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-04 23:32:44 +0900 |
commit | 1ec7b1dadc8d1668fb89cf06b32dfc52c18db4d6 (patch) | |
tree | 7cd9102a8ca3bcb3ffaa566d7302ad15e580d757 /src/gui/editors/segment/segmentcanvas/CompositionView.cpp | |
parent | 3d3dc041a570cd26154510785f50ffcd8cf56005 (diff) | |
download | rosegarden-1ec7b1dadc8d1668fb89cf06b32dfc52c18db4d6.tar.gz rosegarden-1ec7b1dadc8d1668fb89cf06b32dfc52c18db4d6.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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); } |