Movatterモバイル変換


[0]ホーム

URL:


We bake cookies in your browser for a better experience. Using this site means that you consent.Read More

Menu

Qt Documentation

QSymbianEvent Class

TheQSymbianEvent class contains a Symbian event of any type.More...

Header:#include <QSymbianEvent>
Since: Qt 4.6

Public Types

enumType { InvalidEvent, WindowServerEvent, CommandEvent, ResourceChangeEvent }

Public Functions

QSymbianEvent(const TWsEvent * windowServerEvent)
QSymbianEvent(Type eventType, int value)
~QSymbianEvent()
intcommand() const
boolisValid() const
intresourceChangeType() const
Typetype() const
const TWsEvent *windowServerEvent() const

Detailed Description

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().

Member Type Documentation

enum QSymbianEvent::Type

ConstantValueDescription
QSymbianEvent::InvalidEvent0The event is not valid.
QSymbianEvent::WindowServerEvent1Indicates an event of typeTWsEvent.
QSymbianEvent::CommandEvent2Indicates that the event is a Symbian command.
QSymbianEvent::ResourceChangeEvent3Indicates that the event is a Symbian resource change type.

Member Function Documentation

QSymbianEvent::QSymbianEvent(constTWsEvent * windowServerEvent)

Constructs aQSymbianEvent containing the given window server eventwindowServerEvent.

QSymbianEvent::QSymbianEvent(Type eventType,int value)

Constructs aQSymbianEvent containing the given event valuevalue. The type of event is controlled by theeventType parameter.

QSymbianEvent::~QSymbianEvent()

Destroys theQSymbianEvent.

int QSymbianEvent::command() const

Returns the command contained in the class instance, or 0 if the event type is notCommandEvent.

bool QSymbianEvent::isValid() const

Returns whether thisQSymbianEvent instance contains a valid event.

int QSymbianEvent::resourceChangeType() const

Returns the resource change type contained in the class instance, or 0 if the event type is notResourceChangeEvent.

Type QSymbianEvent::type() const

Returns the event type contained in theQSymbianEvent instance.

constTWsEvent * QSymbianEvent::windowServerEvent() const

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.


[8]ページ先頭

©2009-2025 Movatter.jp