Home · All Classes · Grouped Classes · Annotated · Functions

DefaultBattery Class Reference

The DefaultBattery class provides a proxy for another system battery. More...

    #include <DefaultBattery>

Inherits QPowerSourceProvider.

Public Functions

Additional Inherited Members


Detailed Description

The DefaultBattery class provides a proxy for another system battery.

To simplify the design of system themes and other mechanisms that source information directly from the value space, the DefaultBattery class proxies the information of another, configurable system battery under the name "DefaultBattery".

The battery to proxy can be manually configured by setting the PowerSources/PrimaryBatterySource key in the Trolltech/HardwareAccessories configuration file. If this setting is missing, the DefaultBattery class will proxy the first available QPowerSource::Battery typed power source.

The DefaultBattery class provides the DefaultBattery task. It is part of the Qtopia server and cannot be used by other Qtopia applications.


Member Function Documentation

DefaultBattery::DefaultBattery ( QObject * parent = 0 )

Constructs a new DefaultBattery instance with the given parent.


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3