CallListItem Class Reference
Represents a single dialed, received or missed call in a CallList set.
More...
#include <calllist.h>
List of all member functions.
Public Members
- enum CallType { Dialed, Received, Missed }
- CallListItem ()
- CallListItem ( CallType type, const QString & number, const QDateTime & start, const QDateTime & end )
- CallListItem ( const CallListItem & other )
- ~CallListItem ()
- bool operator== ( const CallListItem & other ) const
- bool operator!= ( const CallListItem & other ) const
- CallListItem & operator= ( const CallListItem & other )
- CallType type () const
- QString number () const
- QDateTime start () const
- QDateTime end () const
Detailed Description
Represents 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.
- Dialed - An outgoing call that was dialed by the user.
- Received - An incoming call that was answered by the user.
- Missed - An incoming call that was not answered by the user.
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.
Assigns a copy of other to this item.
bool CallListItem::operator== ( const CallListItem & other ) const
Returns TRUE if the two items are equal 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.1.2
|