Qtopia Home - Classes - Hierachy - Annotated - Functions - Licenses - Reference

CallListItem Class Reference

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

#include <calllist.h>

List of all member functions.

Public Members


Detailed Description

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

See also CallList and Qtopia Phone Classes.


Member Type Documentation

CallListItem::CallType

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


Member Function Documentation

CallListItem::CallListItem ()

Constructs a null CallListItem.

CallListItem::CallListItem ( CallType type, const QString & number, const QDateTime & start, const QDateTime & end )

Constructs a CallListItem given the type of call, the phone number and the start and end times of the call.

CallListItem::CallListItem ( const CallListItem & other )

Constructs copy of other.

CallListItem::~CallListItem ()

Destructs the CallListItem.

QDateTime CallListItem::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.

QString CallListItem::number () const

Returns the phone number associated with this call.

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

Assigns a copy of other to this item.

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

Returns TRUE if this item is the same as other or FALSE if they are different.

QDateTime CallListItem::start () const

Returns the starting time of the call.

CallType CallListItem::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 CallListItem::CallType.


This file is part of the Qtopia platform, copyright © 1995-2005 Trolltech, all rights reserved.


Copyright © 2005 Trolltech Trademarks
Qtopia version 2.2.0