summaryrefslogtreecommitdiffstats
path: root/style/qtcurve.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 20:43:44 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 20:43:44 +0900
commit562093b2dca8669276fe2e3e37330b12a15daebb (patch)
tree46e8eed85a027cd3814f33a0edcdc50e2f915594 /style/qtcurve.cpp
parent08147c8aedded5fced6eb4cfe7ba918996d3f481 (diff)
downloadtde-style-qtcurve-562093b2dca8669276fe2e3e37330b12a15daebb.tar.gz
tde-style-qtcurve-562093b2dca8669276fe2e3e37330b12a15daebb.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'style/qtcurve.cpp')
-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())
{