Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QPhoneStatus class provides basic status information about the phone. More...
#include <QPhoneStatus>
Inherits QObject.
The QPhoneStatus class provides basic status information about the phone.
This class provides the most commonly needed information for presentation on a secondary display. The Qt Extended phone library can be used to retrieve complete telephony status information.
A value can be queried using the QPhoneStatus::value() function. Whenever a status item changes the QPhoneStatus::statusChanged() signal is emitted.
See Tutorial: Dual Screen Display for more information on programming for secondary displays.
Constant | Value | Description |
---|---|---|
QPhoneStatus::BatteryLevel | 1 | battery charge level (0-100) |
QPhoneStatus::SignalLevel | 2 | phone signal level (0-100) |
QPhoneStatus::MissedCalls | 3 | the number of calls missed |
QPhoneStatus::NewMessages | 4 | the number of new messages |
QPhoneStatus::ActiveCalls | 5 | the number of active calls |
QPhoneStatus::OperatorName | 100 | the name of the operator |
QPhoneStatus::Profile | 101 | the profile currently in use |
QPhoneStatus::Roaming | 200 | true if currently roaming |
QPhoneStatus::Locked | 201 | true if the phone is locked |
QPhoneStatus::Alarm | 202 | true if the daily alarm is active |
QPhoneStatus::CallDivert | 203 | true if call diversion is enabled |
QPhoneStatus::NetworkRegistered | 204 | true if a network is registered |
QPhoneStatus::VoIPRegistered | 205 | true if a VoIP network is registered |
QPhoneStatus::Presence | 206 | true if presence is available |
Constructs a QPhoneStatus object with parent parent.
Destroys the QPhoneStatus object.
This signal is emitted when an incoming call arrives. The number and name parameters indicate the incoming call's known properties. They may be empty if the property is unknown (e.g. caller-id information is not available).
This signal is emitted whenever any of the status information changes.
See also value().
Returns the value of status item item. If no status is available for the requested item an invalid value is returned.
See also statusChanged().
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |