
We bake cookies in your browser for a better experience. Using this site means that you consent.Read More
TheQSymbianEvent class contains a Symbian event of any type.More...
| Header: | #include <QSymbianEvent> |
| Since: | Qt 4.6 |
| enum | Type { InvalidEvent, WindowServerEvent, CommandEvent, ResourceChangeEvent } |
| QSymbianEvent(const TWsEvent * windowServerEvent) | |
| QSymbianEvent(Type eventType, int value) | |
| ~QSymbianEvent() | |
| int | command() const |
| bool | isValid() const |
| int | resourceChangeType() const |
| Type | type() const |
| const TWsEvent * | windowServerEvent() const |
TheQSymbianEvent class contains a Symbian event of any type.
The class is used as a generic container type for all types of Symbian events.
Note:This class is only available on Symbian.
See alsoQApplication::symbianEventFilter().
| Constant | Value | Description |
|---|---|---|
QSymbianEvent::InvalidEvent | 0 | The event is not valid. |
QSymbianEvent::WindowServerEvent | 1 | Indicates an event of typeTWsEvent. |
QSymbianEvent::CommandEvent | 2 | Indicates that the event is a Symbian command. |
QSymbianEvent::ResourceChangeEvent | 3 | Indicates that the event is a Symbian resource change type. |
Constructs aQSymbianEvent containing the given window server eventwindowServerEvent.
Constructs aQSymbianEvent containing the given event valuevalue. The type of event is controlled by theeventType parameter.
Destroys theQSymbianEvent.
Returns the command contained in the class instance, or 0 if the event type is notCommandEvent.
Returns whether thisQSymbianEvent instance contains a valid event.
Returns the resource change type contained in the class instance, or 0 if the event type is notResourceChangeEvent.
Returns the event type contained in theQSymbianEvent instance.
Returns the window server event contained in the class instance, or 0 if the event type is notWindowServerEvent.
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of theGNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.