Class representing a Qnx event. More...
#include <kanzi/core.ui/platform/windowing_ng/qnx_screen/qnx_screen_event.hpp>
Public Member Functions | |
KZ_NO_DISCARD QnxScreenEventHandleType | getNativeHandle () const noexcept |
Gets Qnx event handle. More... | |
QnxEvent & | operator= (QnxEvent &&qnxEvent) noexcept |
Move assignment. More... | |
QnxEvent () | |
Default constructor, creates an empty event. More... | |
QnxEvent (const QnxScreenEventHandleType windowHandle) | |
Constructor. More... | |
QnxEvent (QnxEvent &&qnxEvent) noexcept | |
Move constructor. More... | |
template<typename T > | |
KZ_NO_DISCARD optional< T > | tryGetEventProperty (int propertyName) const noexcept |
Tries to get a property value for a generic property. More... | |
~QnxEvent () | |
Destructor. More... | |
Class representing a Qnx event.
|
explicit |
Default constructor, creates an empty event.
|
explicit |
Constructor.
windowHandle | Qnx event handle. |
kanzi::qnx::QnxEvent::~QnxEvent | ( | ) |
Destructor.
|
noexcept |
Move constructor.
|
noexcept |
Tries to get a property value for a generic property.
Make sure the property value fits into the type of T.
propertyName | The name of the property to query for. |
nullopt | Trying to get the value for the property name has failed. |
|
noexcept |
Gets Qnx event handle.