summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--style/qtcurve.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/style/qtcurve.cpp b/style/qtcurve.cpp
index 185faca..baab63e 100644
--- a/style/qtcurve.cpp
+++ b/style/qtcurve.cpp
@@ -2336,7 +2336,7 @@ bool QtCurveStyle::objectEventHandler( const TQStyleControlElementData &ceData,
{
case TQEvent::Resize:
{
- TQResizeEvent *re = TQT_TQRESIZEEVENT(event);
+ TQResizeEvent *re = static_cast<TQResizeEvent*>(event);
if (re->size().height() != re->oldSize().height())
emitMenuSize((TQMenuBar *)object, re->size().height());
@@ -2528,7 +2528,7 @@ bool QtCurveStyle::objectEventHandler( const TQStyleControlElementData &ceData,
break;
case TQEvent::MouseMove: // Only occurs for widgets with mouse tracking enabled
{
- TQMouseEvent *me = TQT_TQMOUSEEVENT(event);
+ TQMouseEvent *me = static_cast<TQMouseEvent*>(event);
if(me && itsHoverWidget && object->isWidgetType())
{