summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/segmentcanvas/CompositionView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/segment/segmentcanvas/CompositionView.cpp')
-rw-r--r--src/gui/editors/segment/segmentcanvas/CompositionView.cpp12
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);
}