QTelephonyCallInfo Class Reference
The QTelephonyCallInfo class represents a call including the type, status and other information of the call. More...
#include <QTelephonyCallInfo>
Public Types
enum | CallStatus { Idle, Dialing, Alerting, Connected, ..., OnHold } |
enum | CallType { Any, Text, Data, Video, Voice, Other } |
Public Functions
Detailed Description
The QTelephonyCallInfo class represents a call including the type, status and other information of the call.
Member Type Documentation
enum QTelephonyCallInfo::CallStatus
This enum type is used to describe the status of a call. A QTelephonyCallInfo object can have a status of:
|
Constant | Value | Description |
QTelephonyCallInfo::Idle | 0 | The call status is not defined. |
QTelephonyCallInfo::Dialing | 1 | The status of the call is dialing. |
QTelephonyCallInfo::Alerting | 2 | The status of the call is alerting. |
QTelephonyCallInfo::Connected | 3 | The status of the call is connected. |
QTelephonyCallInfo::Disconnecting | 4 | The status of the call is disconnected. |
QTelephonyCallInfo::Incomming | 5 | The status of the call is incomming. |
QTelephonyCallInfo::OnHold | 6 | The status of the call is on hold. |
enum QTelephonyCallInfo::CallType
This enum decribes the type of the call. A QTelephonyCallInfo object can be a type of:
|
Constant | Value | Description |
QTelephonyCallInfo::Any | 0 | The call type can be any type. |
QTelephonyCallInfo::Text | 1 | The call is a text base call. |
QTelephonyCallInfo::Data | 2 | The call is a data based call. |
QTelephonyCallInfo::Video | 3 | The call is a video based call. |
QTelephonyCallInfo::Voice | 4 | The call is a voice based call. |
QTelephonyCallInfo::Other | 5 | The call is a an unknown base call. |
Member Function Documentation
QTelephonyCallInfo::QTelephonyCallInfo ()
Constructor of a QTelephonyCallInfo object.
QTelephonyCallInfo::QTelephonyCallInfo ( const QTelephonyCallInfo & other )
other Object which needs to be copied from.
Constructor of a QTelephonyCallInfo object using a const QTelephonyCallInfo.
QTelephonyCallInfo::~QTelephonyCallInfo ()
Destructor of a call info object.
QString QTelephonyCallInfo::remotePartyIdentifier () const
Gives back the id of a call. The remotePartyIdentifier contains the value dependend on the call CallType. It can be the phone number, IP address or something else.
CallStatus QTelephonyCallInfo::status () const
Gives back the status of the call. A call can be in different conditions like ringing, dropped and so on. You can use this property if you want to know about the current condition of the call.
QString QTelephonyCallInfo::subType () const
Gives back the sub type of the call type (see QTelephonyCallInfo::type()). A subtype of a Voip call can be Skype. You can use this property to get the sub type of the call .
CallType QTelephonyCallInfo::type () const
Gives back the type of the call. A call can be a VOIP, Video Voice and so on. You can use this property to get the type of the call.
QVariant QTelephonyCallInfo::value ( const QString & key ) const
The key select the value in which the user is interrested to read.
Gives back a variant value. This function is for reading additional values dependent on the key parameter.