The QSymbianEvent class contains a Symbian event of any type. More...
#include <QSymbianEvent>
This class was introduced in 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 |
The QSymbianEvent 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 also QApplication::symbianEventFilter().
Constant | Value | Description |
---|---|---|
QSymbianEvent::InvalidEvent | 0 | The event is not valid. |
QSymbianEvent::WindowServerEvent | 1 | Indicates an event of type TWsEvent. |
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 a QSymbianEvent containing the given window server event windowServerEvent.
Constructs a QSymbianEvent containing the given event value value. The type of event is controlled by the eventType parameter.
Destroys the QSymbianEvent.
Returns the command contained in the class instance, or 0 if the event type is not CommandEvent.
Returns whether this QSymbianEvent instance contains a valid event.
Returns the resource change type contained in the class instance, or 0 if the event type is not ResourceChangeEvent.
Returns the event type contained in the QSymbianEvent instance.
Returns the window server event contained in the class instance, or 0 if the event type is not WindowServerEvent.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.