summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/segmentcanvas/SegmentSplitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/segment/segmentcanvas/SegmentSplitter.cpp')
-rw-r--r--src/gui/editors/segment/segmentcanvas/SegmentSplitter.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/editors/segment/segmentcanvas/SegmentSplitter.cpp b/src/gui/editors/segment/segmentcanvas/SegmentSplitter.cpp
index 4fd48c3..1149cd9 100644
--- a/src/gui/editors/segment/segmentcanvas/SegmentSplitter.cpp
+++ b/src/gui/editors/segment/segmentcanvas/SegmentSplitter.cpp
@@ -37,9 +37,9 @@
#include "gui/general/RosegardenCanvasView.h"
#include "SegmentTool.h"
#include <kcommand.h>
-#include <qpoint.h>
-#include <qrect.h>
-#include <qstring.h>
+#include <tqpoint.h>
+#include <tqrect.h>
+#include <tqstring.h>
#include <klocale.h>
@@ -64,7 +64,7 @@ void SegmentSplitter::ready()
}
void
-SegmentSplitter::handleMouseButtonPress(QMouseEvent *e)
+SegmentSplitter::handleMouseButtonPress(TQMouseEvent *e)
{
// Remove cursor and replace with line on a SegmentItem
// at where the cut will be made
@@ -81,7 +81,7 @@ SegmentSplitter::handleMouseButtonPress(QMouseEvent *e)
}
void
-SegmentSplitter::handleMouseButtonRelease(QMouseEvent *e)
+SegmentSplitter::handleMouseButtonRelease(TQMouseEvent *e)
{
setBasicContextHelp();
@@ -111,7 +111,7 @@ SegmentSplitter::handleMouseButtonRelease(QMouseEvent *e)
}
int
-SegmentSplitter::handleMouseMove(QMouseEvent *e)
+SegmentSplitter::handleMouseMove(TQMouseEvent *e)
{
setBasicContextHelp();
@@ -130,7 +130,7 @@ SegmentSplitter::handleMouseMove(QMouseEvent *e)
}
void
-SegmentSplitter::drawSplitLine(QMouseEvent *e)
+SegmentSplitter::drawSplitLine(TQMouseEvent *e)
{
m_canvas->setSnapGrain(true);
@@ -146,7 +146,7 @@ SegmentSplitter::drawSplitLine(QMouseEvent *e)
m_canvas->slotShowSplitLine(x, y);
- QRect updateRect(std::max(0, std::min(x, m_prevX) - 5), y,
+ TQRect updateRect(std::max(0, std::min(x, m_prevX) - 5), y,
std::max(m_prevX, x) + 5, m_prevY + m_canvas->grid().getYSnap());
m_canvas->updateContents(updateRect);
m_prevX = x;
@@ -154,7 +154,7 @@ SegmentSplitter::drawSplitLine(QMouseEvent *e)
}
void
-SegmentSplitter::contentsMouseDoubleClickEvent(QMouseEvent*)
+SegmentSplitter::contentsMouseDoubleClickEvent(TQMouseEvent*)
{
// DO NOTHING
}
@@ -169,7 +169,7 @@ SegmentSplitter::setBasicContextHelp()
}
}
-const QString SegmentSplitter::ToolName = "segmentsplitter";
+const TQString SegmentSplitter::ToolName = "segmentsplitter";
}
#include "SegmentSplitter.moc"