|
libyui-ncurses
2.54.5
|
Helper class for translating an NCurses event to a YEvent. More...
#include <NCtoY2Event.h>


Public Member Functions | |
| NCtoY2Event () | |
| Default constructor. | |
| NCtoY2Event (const NCursesEvent &ncev) | |
| Constructor from an NCursesEvent. | |
| NCtoY2Event & | operator= (const NCursesEvent &ncev) |
| Assignment operator. | |
| YEvent * | propagate () |
| The reason of existence of this class: Translate the NCursesEvent to a YEvent. | |
Public Member Functions inherited from NCursesEvent | |
| NCursesEvent (Type t=none, YEvent::EventReason r=YEvent::UnknownReason) | |
| operator void * () const | |
| bool | operator== (const NCursesEvent &e) const |
| bool | operator!= (const NCursesEvent &e) const |
| bool | isReturnEvent () const |
| bool | isInternalEvent () const |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const NCtoY2Event &event) |
Additional Inherited Members | |
Public Types inherited from NCursesEvent | |
| enum | Type { handled = -1, none = 0, cancel, timeout, button, menu, key } |
| enum | DETAIL { NODETAIL = -1, CONTINUE = -2, USERDEF = -3 } |
Public Attributes inherited from NCursesEvent | |
| Type | type |
| NCWidget * | widget |
| YMenuItem * | selection |
| std::string | result |
| std::string | keySymbol |
| int | detail |
| YEvent::EventReason | reason |
Static Public Attributes inherited from NCursesEvent | |
| static const NCursesEvent | Activated |
| static const NCursesEvent | SelectionChanged |
| static const NCursesEvent | ValueChanged |
Helper class for translating an NCurses event to a YEvent.
Definition at line 36 of file NCtoY2Event.h.