Qt Mobility Reference Documentation

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

QTelephonyCallInfo ()
QTelephonyCallInfo ( const QTelephonyCallInfo & other )
~QTelephonyCallInfo ()
QString remotePartyIdentifier () const
CallStatus status () const
QString subType () const
CallType type () const
QVariant value ( const QString & key ) const

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:

ConstantValueDescription
QTelephonyCallInfo::Idle0The call status is not defined.
QTelephonyCallInfo::Dialing1The status of the call is dialing.
QTelephonyCallInfo::Alerting2The status of the call is alerting.
QTelephonyCallInfo::Connected3The status of the call is connected.
QTelephonyCallInfo::Disconnecting4The status of the call is disconnected.
QTelephonyCallInfo::Incomming5The status of the call is incomming.
QTelephonyCallInfo::OnHold6The 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:

ConstantValueDescription
QTelephonyCallInfo::Any0The call type can be any type.
QTelephonyCallInfo::Text1The call is a text base call.
QTelephonyCallInfo::Data2The call is a data based call.
QTelephonyCallInfo::Video3The call is a video based call.
QTelephonyCallInfo::Voice4The call is a voice based call.
QTelephonyCallInfo::Other5The 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.


Copyright © 2009-2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.1.0