libyui
3.0.5
|
#include <YEvent.h>
Public Member Functions | |
YMenuEvent (YItem *item) | |
YMenuEvent (const char *id) | |
YMenuEvent (const std::string &id) | |
virtual YItem * | item () const |
std::string | id () const |
![]() | |
YEvent (EventType eventType=UnknownEvent) | |
EventType | eventType () const |
unsigned long | serial () const |
virtual YWidget * | widget () const |
YDialog * | dialog () const |
bool | isValid () const |
Protected Member Functions | |
virtual | ~YMenuEvent () |
![]() | |
void | setDialog (YDialog *dia) |
virtual | ~YEvent () |
void | invalidate () |
Protected Attributes | |
YItem * | _item |
std::string | _id |
Additional Inherited Members | |
![]() | |
enum | EventType { NoEvent = 0, UnknownEvent, WidgetEvent, MenuEvent, KeyEvent, CancelEvent, TimeoutEvent, DebugEvent, InvalidEvent = 0x4242 } |
enum | EventReason { UnknownReason = 0, Activated, SelectionChanged, ValueChanged, ContextMenuActivated } |
![]() | |
static const char * | toString (EventType eventType) |
static const char * | toString (EventReason reason) |
|
inlineprotectedvirtual |
Protected destructor - events can only be deleted via YDialog::deleteEvent(). The associated dialog will take care of this event and delete it when appropriate.
|
inline |
|
inlinevirtual |