39class KCursorPrivateAutoHideEventFilter :
public TQObject
44 KCursorPrivateAutoHideEventFilter( TQWidget* widget );
45 ~KCursorPrivateAutoHideEventFilter();
47 virtual bool eventFilter( TQObject *o, TQEvent *e );
56 TQWidget* actualWidget()
const;
58 TQTimer m_autoHideTimer;
60 bool m_wasMouseTracking;
61 bool m_isCursorHidden;
71class KCursorPrivate :
public TQObject
77 static KCursorPrivate *self();
79 void setAutoHideCursor( TQWidget *w,
bool enable,
bool customEventFilter );
80 virtual bool eventFilter( TQObject *o, TQEvent *e );
85 void slotWidgetDestroyed( TQObject* );
92 static KCursorPrivate *s_self;
94 TQPtrDict<KCursorPrivateAutoHideEventFilter> m_eventFilters;