Public Member Functions | Protected Member Functions | Protected Attributes

YWidgetEvent Class Reference

Inheritance diagram for YWidgetEvent:

List of all members.

Public Member Functions

 YWidgetEvent (YWidget *widget=0, EventReason reason=Activated, EventType eventType=WidgetEvent)
virtual YWidgetwidget () const
EventReason reason () const

Protected Member Functions

virtual ~YWidgetEvent ()

Protected Attributes

EventReason _reason

Constructor & Destructor Documentation

YWidgetEvent::YWidgetEvent ( YWidget widget = 0,
EventReason  reason = Activated,
EventType  eventType = WidgetEvent 


virtual YWidgetEvent::~YWidgetEvent ( ) [inline, protected, virtual]

Protected destructor - events can only be deleted via YDialog::deleteEvent(). The associated dialog will take care of this event and delete it when appropriate.

Member Function Documentation

EventReason YWidgetEvent::reason ( ) const [inline]

Returns the reason for this event. This very much like an event sub-type.

virtual YWidget* YWidgetEvent::widget ( ) const [inline, virtual]

Returns the widget that caused this event. Reimplemented from YEvent.

Reimplemented from YEvent.

The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Friends