summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/ControlSelector.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/rulers/ControlSelector.cpp
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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());