|
|
@ -549,23 +549,23 @@ bool StdClient::eventFilter( TQObject* o, TQEvent* e )
|
|
|
|
|
|
|
|
|
|
|
|
switch ( e->type() ) {
|
|
|
|
switch ( e->type() ) {
|
|
|
|
case TQEvent::Resize:
|
|
|
|
case TQEvent::Resize:
|
|
|
|
resizeEvent( TQT_TQRESIZEEVENT( e ) );
|
|
|
|
resizeEvent( static_cast<TQResizeEvent*>( e ) );
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
|
|
|
|
|
|
|
|
case TQEvent::Paint:
|
|
|
|
case TQEvent::Paint:
|
|
|
|
paintEvent( TQT_TQPAINTEVENT( e ) );
|
|
|
|
paintEvent( static_cast<TQPaintEvent*>( e ) );
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
|
|
|
|
|
|
|
|
case TQEvent::MouseButtonDblClick:
|
|
|
|
case TQEvent::MouseButtonDblClick:
|
|
|
|
mouseDoubleClickEvent( TQT_TQMOUSEEVENT( e ) );
|
|
|
|
mouseDoubleClickEvent( static_cast<TQMouseEvent*>( e ) );
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
|
|
|
|
|
|
|
|
case TQEvent::MouseButtonPress:
|
|
|
|
case TQEvent::MouseButtonPress:
|
|
|
|
processMousePressEvent( TQT_TQMOUSEEVENT( e ) );
|
|
|
|
processMousePressEvent( static_cast<TQMouseEvent*>( e ) );
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
|
|
|
|
|
|
|
|
case TQEvent::Wheel:
|
|
|
|
case TQEvent::Wheel:
|
|
|
|
wheelEvent( TQT_TQWHEELEVENT( e ));
|
|
|
|
wheelEvent( static_cast<TQWheelEvent*>( e ));
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
|
|
|
|
|
|
|
|
default:
|
|
|
|
default:
|
|
|
@ -698,23 +698,23 @@ bool StdToolClient::eventFilter( TQObject* o, TQEvent* e )
|
|
|
|
|
|
|
|
|
|
|
|
switch ( e->type() ) {
|
|
|
|
switch ( e->type() ) {
|
|
|
|
case TQEvent::Resize:
|
|
|
|
case TQEvent::Resize:
|
|
|
|
resizeEvent( TQT_TQRESIZEEVENT( e ) );
|
|
|
|
resizeEvent( static_cast<TQResizeEvent*>( e ) );
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
|
|
|
|
|
|
|
|
case TQEvent::Paint:
|
|
|
|
case TQEvent::Paint:
|
|
|
|
paintEvent( TQT_TQPAINTEVENT( e ) );
|
|
|
|
paintEvent( static_cast<TQPaintEvent*>( e ) );
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
|
|
|
|
|
|
|
|
case TQEvent::MouseButtonDblClick:
|
|
|
|
case TQEvent::MouseButtonDblClick:
|
|
|
|
mouseDoubleClickEvent( TQT_TQMOUSEEVENT( e ) );
|
|
|
|
mouseDoubleClickEvent( static_cast<TQMouseEvent*>( e ) );
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
|
|
|
|
|
|
|
|
case TQEvent::MouseButtonPress:
|
|
|
|
case TQEvent::MouseButtonPress:
|
|
|
|
processMousePressEvent( TQT_TQMOUSEEVENT( e ) );
|
|
|
|
processMousePressEvent( static_cast<TQMouseEvent*>( e ) );
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
|
|
|
|
|
|
|
|
case TQEvent::Wheel:
|
|
|
|
case TQEvent::Wheel:
|
|
|
|
wheelEvent( TQT_TQWHEELEVENT( e ));
|
|
|
|
wheelEvent( static_cast<TQWheelEvent*>( e ));
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
|
|
|
|
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|