Home · All Classes · Annotated · Functions

QPowerStatusManager Class Reference

The QPowerStatusManager class provides easy access to the power status of the Qtopia device. More...

#include <QPowerStatusManager>

Static Public Members

Protected Functions


Detailed Description

The QPowerStatusManager class provides easy access to the power status of the Qtopia device.


Member Function Documentation

QPowerStatusManager::QPowerStatusManager ()   [protected]

Constructs a QPowerStatusManager object.

bool QPowerStatusManager::APMEnabled ()   [static]

Returns true if the device has enabled APM support.

void QPowerStatusManager::getStatus ()   [protected]

Implements the platform specific part of the status reader and is called by readStatus(). This function is defined in custom-{arch}-{platform}-g++.cpp files.

See also readStatus() and getProcApmStatus().

const QPowerStatus & QPowerStatusManager::readStatus ()   [static]

Reads and returns the current power status of the device.

See also getStatus() and QPowerStatus.


Copyright © 2006 Trolltech Trademarks
Qtopia 4.1.7