Home · All Classes · Grouped Classes · Annotated · Functions

DeviceButtonTask Class Reference

The DeviceButtonTask class performs configurable actions when special purpose buttons are pressed or held. More...

    #include <DeviceButtonTask>

Inherits QObject and QWSServer::KeyboardFilter.

Signals

Additional Inherited Members


Detailed Description

The DeviceButtonTask class performs configurable actions when special purpose buttons are pressed or held.

The DeviceButtonTask provides a Qtopia Server Task. Qtopia Server Tasks are documented in full in the QtopiaServerApplication class documentation.

Task NameDeviceButton
InterfacesDeviceButtonTask
ServicesNone

The DeviceButtonTask class provides the server backend for the QDeviceButton and QDeviceButtonManager APIs. The DeviceButtonTask will issue the actions for all configured button mappings without a specified context.

See also QDeviceButton and QDeviceButtonManager.


Member Function Documentation

void DeviceButtonTask::activated ( int keycode, bool wasHeld )   [signal]

Emitted whenever the special-function button keycode was pressed. wasHeld will be true if the button was held and false if the button was pressed.

This signal will be emitted after the button action has been performed.


Copyright © 2007 Trolltech Trademarks
Qtopia 4.2.5