summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/addstenciltool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/addstenciltool.cpp')
-rw-r--r--kivio/kiviopart/addstenciltool.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kivio/kiviopart/addstenciltool.cpp b/kivio/kiviopart/addstenciltool.cpp
index ddbe38c5..4e3f14ec 100644
--- a/kivio/kiviopart/addstenciltool.cpp
+++ b/kivio/kiviopart/addstenciltool.cpp
@@ -51,7 +51,7 @@ bool AddStencilTool::processEvent(TQEvent* e)
switch(e->type()) {
case TQEvent::MouseButtonPress:
{
- TQMouseEvent* me = TQT_TQMOUSEEVENT(e);
+ TQMouseEvent* me = static_cast<TQMouseEvent*>(e);
if(me->button() == TQt::LeftButton) {
m_leftMouseButtonPressed = true;
@@ -63,7 +63,7 @@ bool AddStencilTool::processEvent(TQEvent* e)
}
case TQEvent::MouseButtonRelease:
{
- TQMouseEvent* me = TQT_TQMOUSEEVENT(e);
+ TQMouseEvent* me = static_cast<TQMouseEvent*>(e);
if(m_leftMouseButtonPressed && (me->button() == TQt::LeftButton)) {
m_leftMouseButtonPressed = false;
@@ -75,7 +75,7 @@ bool AddStencilTool::processEvent(TQEvent* e)
}
case TQEvent::MouseMove:
{
- TQMouseEvent* me = TQT_TQMOUSEEVENT(e);
+ TQMouseEvent* me = static_cast<TQMouseEvent*>(e);
if(m_leftMouseButtonPressed) {
resize(me->pos());