CallList Class Reference
The CallList class provides an interface for recording the details of dialed, received, and missed calls.
More...
#include <calllist.h>
List of all member functions.
Public Members
- CallList ( const int & l = -1 )
- ~CallList ()
- QValueList<CallListItem> raw () const
- void record ( CallListItem item, bool permitDuplicates = TRUE )
- uint count () const
- CallListItem at ( uint posn ) const
- void clear ()
- void setLimit ( const int & l )
- int limit () const
- void remove ( uint posn )
- void remove ( const QString & number )
- void remove ( CallListItem::CallType type )
- int cursor () const
- void setCursor ( int posn )
- void diffCursor ( int diff )
Detailed Description
The CallList class provides an interface for recording the details of dialed, received, and missed calls.
See also CallListItem and Qtopia Phone Classes.
Member Function Documentation
CallList::CallList ( const int & l = -1 )
Constructs a CallList with an item limit of l.
CallList::~CallList ()
Destructs the CallList
CallListItem CallList::at ( uint posn ) const
Returns the CallListItem at posn.
void CallList::clear ()
Clears the CallList and saves the changes to disk.
uint CallList::count () const
Returns the number of items in the CallList.
int CallList::cursor () const
Returns the current cursor position in the list.
int CallList::limit () const
Returns the item limit of the list.
QValueList<CallListItem> CallList::raw () const
Returns a QValueList containing this CallList's items.
void CallList::record ( CallListItem item, bool permitDuplicates = TRUE )
Records the call item. If permitDuplicates is TRUE (the default)
duplicates of item are allowed in the CallList, otherwise any
duplicate of item is removed.
The changes a saved to disk immediately.
void CallList::remove ( uint posn )
Removes the item at posn from the list and saves
the changes to disk.
void CallList::remove ( const QString & number )
Removes all items with the same number from the list.
The changes a saved to disk immediately.
Removes all items with the same type from the list.
The changes are saved to disk immediately.
void CallList::setCursor ( int posn )
Sets the current cursor position in the list to posn.
void CallList::setLimit ( const int & l )
Sets the item limit of the list to l.
This file is part of the Qtopia platform,
copyright © 1995-2005
Trolltech, all rights reserved.
| Copyright © 2005 Trolltech
| Trademarks
| Qtopia version 2.2.0
|