|
|
@ -89,7 +89,7 @@ void PositionSlider::wheelEvent(TQWheelEvent* e)
|
|
|
|
|
|
|
|
|
|
|
|
bool PositionSlider::eventFilter(TQObject *obj, TQEvent *ev)
|
|
|
|
bool PositionSlider::eventFilter(TQObject *obj, TQEvent *ev)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(this) && (ev->type() == TQEvent::MouseButtonPress || ev->type() == TQEvent::MouseButtonDblClick) ) {
|
|
|
|
if( obj == this && (ev->type() == TQEvent::MouseButtonPress || ev->type() == TQEvent::MouseButtonDblClick) ) {
|
|
|
|
TQMouseEvent *e = (TQMouseEvent *)ev;
|
|
|
|
TQMouseEvent *e = (TQMouseEvent *)ev;
|
|
|
|
TQRect r = sliderRect();
|
|
|
|
TQRect r = sliderRect();
|
|
|
|
|
|
|
|
|
|
|
|