Replace 'Event' #define strings

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/16/head
Michele Calgaro 12 months ago
parent 08147c8aed
commit 562093b2dc
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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())
{

Loading…
Cancel
Save