summaryrefslogtreecommitdiffstats
path: root/twin-styles/openlook/OpenLook.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin-styles/openlook/OpenLook.cpp')
-rw-r--r--twin-styles/openlook/OpenLook.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/twin-styles/openlook/OpenLook.cpp b/twin-styles/openlook/OpenLook.cpp
index 71489d91..b824b9a6 100644
--- a/twin-styles/openlook/OpenLook.cpp
+++ b/twin-styles/openlook/OpenLook.cpp
@@ -168,30 +168,30 @@ bool OpenLook::eventFilter(TQObject *o, TQEvent *e)
if (o != widget()) return false;
switch (e->type()) {
case TQEvent::Resize:
- resizeEvent(TQT_TQRESIZEEVENT(e));
+ resizeEvent(static_cast<TQResizeEvent*>(e));
return true;
case TQEvent::Paint:
- paintEvent(TQT_TQPAINTEVENT(e));
+ paintEvent(static_cast<TQPaintEvent*>(e));
return true;
case TQEvent::MouseButtonDblClick:
- mouseDoubleClickEvent(TQT_TQMOUSEEVENT(e));
+ mouseDoubleClickEvent(static_cast<TQMouseEvent*>(e));
return true;
case TQEvent::Wheel:
- wheelEvent( TQT_TQWHEELEVENT( e ));
+ wheelEvent( static_cast<TQWheelEvent*>( e ));
return true;
case TQEvent::MouseButtonPress:
- if (!isButtonPress(TQT_TQMOUSEEVENT(e))) {
- processMousePressEvent(TQT_TQMOUSEEVENT(e));
+ if (!isButtonPress(static_cast<TQMouseEvent*>(e))) {
+ processMousePressEvent(static_cast<TQMouseEvent*>(e));
}
return true;
case TQEvent::MouseButtonRelease:
- if (isButtonRelease(TQT_TQMOUSEEVENT(e))) {
+ if (isButtonRelease(static_cast<TQMouseEvent*>(e))) {
return true;
} else {
return false;
}
case TQEvent::Show:
- showEvent(TQT_TQSHOWEVENT(e));
+ showEvent(static_cast<TQShowEvent*>(e));
return true;
default:
break;