PhoneStatus Class Reference
The PhoneStatus class provides basic status information about
the phone.
More...
#include <phonestatus.h>
Inherits QObject.
List of all member functions.
Public Members
- PhoneStatus ( QObject * parent )
- ~PhoneStatus ()
- enum StatusItem { BatteryLevel = 1, SignalLevel = 2, MissedCalls = 3, NewMessages = 4, ActiveCalls = 5, OperatorName = 100, RingProfile = 101, Roaming = 200, Locked = 201, Alarm = 202, CallDivert = 203, NetworkRegistered = 204 }
- QVariant value ( StatusItem item )
Signals
Detailed Description
The PhoneStatus class provides basic status information about
the phone.
This class provides the most commonly needed information for
presentation on a secondary display. The Qtopia phone library can be
used to retrieve complete telephony status information.
A value can be queried using the PhoneStatus::value() function.
Whenever a status item changes the PhoneStatus::statusChanged() signal
is emitted.
See also Qtopia Phone Classes.
Member Type Documentation
PhoneStatus::StatusItem
- PhoneStatus::BatteryLevel - battery charge level (0-100)
- PhoneStatus::SignalLevel - phone signal level (0-31)
- PhoneStatus::MissedCalls - the number of calls missed
- PhoneStatus::NewMessages - the number of new messages
- PhoneStatus::ActiveCalls - the number of active calls
- PhoneStatus::OperatorName - the name of the operator
- PhoneStatus::RingProfile - the ring profile currently in use
- PhoneStatus::Roaming - true if currently roaming
- PhoneStatus::Locked - true if the phone is locked
- PhoneStatus::Alarm - true if the daily alarm is active
- PhoneStatus::CallDivert - true if call diversion is enabled
- PhoneStatus::NetworkRegistered - true if a network is registered
Member Function Documentation
PhoneStatus::PhoneStatus ( QObject * parent )
Constructs a PhoneStatus object with parent parent.
PhoneStatus::~PhoneStatus ()
Destroys the PhoneStatus object.
void PhoneStatus::callCount ( int calls ) [signal]
This signal is emitted when the number of active calls changes.
void PhoneStatus::incomingCall ( const QString & number, const QString & name ) [signal]
This signal is emitted when an incoming call arrives.
void PhoneStatus::statusChanged () [signal]
This signal is emitted whenever any of the status information changes.
Returns the value of status item item. If no status is available
for the requested item an invalid value is returned.
This file is part of the Qtopia platform,
copyright © 1995-2005
Trolltech, all rights reserved.
| Copyright © 2005 Trolltech
| Trademarks
| Qtopia version 2.2.0
|