summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp')
-rw-r--r--src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp b/src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp
index 54d973c..cb20975 100644
--- a/src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp
+++ b/src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp
@@ -86,7 +86,7 @@ void SegmentSelector::slotCanvasScrolled(int newX, int newY)
{
TQMouseEvent tmpEvent(TQEvent::MouseMove,
m_canvas->viewport()->mapFromGlobal(TQCursor::pos()) + TQPoint(newX, newY),
- Qt::NoButton, Qt::NoButton);
+ TQt::NoButton, TQt::NoButton);
handleMouseMove(&tmpEvent);
}
@@ -172,8 +172,8 @@ SegmentSelector::handleMouseButtonPress(TQMouseEvent *e)
// Add on middle button or ctrl+left - bounding box on rest
//
- if (e->button() == Qt::MidButton ||
- (e->button() == Qt::LeftButton && (e->state() & ControlButton))) {
+ if (e->button() == TQt::MidButton ||
+ (e->button() == TQt::LeftButton && (e->state() & ControlButton))) {
m_dispatchTool = getToolBox()->getTool(SegmentPencil::ToolName);