Home · All Classes · Annotated · Functions

QCallListItem Class Reference

The QCallListItem class specifies information about a single dialed, received or missed call in a QCallList set. More...

#include <QCallListItem>

Public Types

Public Functions


Detailed Description

The QCallListItem class specifies information about a single dialed, received or missed call in a QCallList set.

See also QCallList.


Member Type Documentation

enum QCallListItem::CallType

This enum defines the types of calls that may be recorded.

ConstantValueDescription
QCallListItem::Dialed0An outgoing call that was dialed by the user.
QCallListItem::Received1An incoming call that was answered by the user.
QCallListItem::Missed2An incoming call that was not answered by the user.


Member Function Documentation

QCallListItem::QCallListItem ()

Constructs a null QCallListItem.

QCallListItem::QCallListItem ( CallType type, const QString & number, const QDateTime & start, const QDateTime & end, const QUniqueId & contact = QUniqueId() )

Constructs a QCallListItem given the type of call, the phone number and the start and end times of the call. The contact can be optionally specified by contact.

QCallListItem::QCallListItem ( const QCallListItem & other )

Constructs copy of other.

QCallListItem::~QCallListItem ()

Destructs the QCallListItem.

QUniqueId QCallListItem::contact () const

Returns the unique id of the contact associated with this call, if any.

QDateTime QCallListItem::end () const

Returns end time of the call, or a null QDateTime if no connection was made for the call in the case of a missed call, or a dialed call that did not connect.

bool QCallListItem::isNull () const

Returns true if this is an invalid call list item.

QString QCallListItem::number () const

Returns the phone number associated with this call.

QDateTime QCallListItem::start () const

Returns the starting time of the call.

CallType QCallListItem::type () const

Returns the type of call this item represents. If this item is null, then the return value of this function is undefined.

See also QCallListItem::CallType.

bool QCallListItem::operator!= ( const QCallListItem & other ) const

Returns true if this item is different than other or false if they are the same.

QCallListItem & QCallListItem::operator= ( const QCallListItem & other )

Assigns a copy of other to this item.

bool QCallListItem::operator== ( const QCallListItem & other ) const

Returns true if this item is the same as other or false if they are different.


Copyright © 2006 Trolltech Trademarks
Qtopia 4.1.7