Home · All Classes · Grouped Classes · Annotated · Functions

<custom.h> - Device Specific Qtopia Declarations

Functions

Macros

The custom.h and custom-<platform-spec>.cpp files are implemented by the system integrator. For details on how these files are implemented see the section on device-specific code in Hardware Configuration.


Function Documentation

void qpe_setBrightness ( int bright )

Sets the brightness of the device's LCD backlight/frontlight to bright.

bright represents the LCD backlight/frontlight brightness as an integer between 0 and qpe_sysBrightnessSteps(). A value of 0 means that the LCD display should be turned off. Values between 1 and qpe_sysBrightnessSteps() are interpreted as varying brightness levels with 1 representing the dimmest level and qpe_sysBrightnessSteps() the brightest.

This function must be implemented in the custom-<platform-spec>.cpp file by the system integrator, see Hardware Configuration for details or as part of a device profile's custom.cpp.

See also qpe_sysBrightnessSteps().

int qpe_sysBrightnessSteps ()

Returns the number of graduations supported by the device's LCD backlight/frontlight.

This function must be implemented in the custom-<platform-spec>.cpp file by the system integrator, see Hardware Configuration for details or as part of a device profile's custom.cpp.

See also qpe_setBrightness().


Macro Documentation

NO_WIRELESS_LAN

Setting this define removes all wireless LAN related parts from Qtopia. This reduces Qtopia foot print and increases its performance.


Copyright © 2007 Trolltech Trademarks
Qtopia 4.3.0