summaryrefslogtreecommitdiffstats
path: root/style/qtcurve.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-30 20:43:44 +0900
committerMichele Calgaro <[email protected]>2023-11-30 23:44:50 +0900
commitcbb50b2728b9a0f0d4a51ee55fe2163d47cc2de1 (patch)
tree34ab465979c68e7c1e30fce72e1276a13c53d900 /style/qtcurve.cpp
parent9238a995006bfe94f47cab5eb91370acfeb91cc7 (diff)
downloadtde-style-qtcurve-cbb50b2728b9a0f0d4a51ee55fe2163d47cc2de1.tar.gz
tde-style-qtcurve-cbb50b2728b9a0f0d4a51ee55fe2163d47cc2de1.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 562093b2dca8669276fe2e3e37330b12a15daebb)
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())
{