summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/ControlSelector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/rulers/ControlSelector.cpp')
-rw-r--r--src/gui/rulers/ControlSelector.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/rulers/ControlSelector.cpp b/src/gui/rulers/ControlSelector.cpp
index fb4abbb..15e2814 100644
--- a/src/gui/rulers/ControlSelector.cpp
+++ b/src/gui/rulers/ControlSelector.cpp
@@ -30,14 +30,14 @@
namespace Rosegarden {
ControlSelector::ControlSelector(ControlRuler* parent)
- : QObject(parent),
+ : TQObject(parent),
m_ruler(parent)
{
}
-void ControlSelector::handleMouseButtonPress(QMouseEvent *e)
+void ControlSelector::handleMouseButtonPress(TQMouseEvent *e)
{
- QPoint p = m_ruler->inverseMapPoint(e->pos());
+ TQPoint p = m_ruler->inverseMapPoint(e->pos());
getSelectionRectangle()->setX(p.x());
getSelectionRectangle()->setY(p.y());
@@ -47,15 +47,15 @@ void ControlSelector::handleMouseButtonPress(QMouseEvent *e)
m_ruler->canvas()->update();
}
-void ControlSelector::handleMouseButtonRelease(QMouseEvent*)
+void ControlSelector::handleMouseButtonRelease(TQMouseEvent*)
{
getSelectionRectangle()->hide();
m_ruler->canvas()->update();
}
-void ControlSelector::handleMouseMove(QMouseEvent *e, int, int)
+void ControlSelector::handleMouseMove(TQMouseEvent *e, int, int)
{
- QPoint p = m_ruler->inverseMapPoint(e->pos());
+ TQPoint p = m_ruler->inverseMapPoint(e->pos());
int w = int(p.x() - getSelectionRectangle()->x());
int h = int(p.y() - getSelectionRectangle()->y());