|
libyui-ncurses
|
#include <NCtoY2Event.h>


Public Member Functions | |
| NCtoY2Event () | |
| NCtoY2Event (const NCursesEvent &ncev) | |
| NCtoY2Event & | operator= (const NCursesEvent &ncev) |
| YEvent * | propagate () |
| 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 , debug , special_key_config } |
| 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.
|
inline |
Default constructor
| NCtoY2Event::NCtoY2Event | ( | const NCursesEvent & | ncev | ) |
Constructor from an NCursesEvent
| NCtoY2Event & NCtoY2Event::operator= | ( | const NCursesEvent & | ncev | ) |
Assignment operator
| YEvent * NCtoY2Event::propagate | ( | ) |
The reason of existence of this class: Translate the NCursesEvent to a YEvent.