Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QCallList class provides an interface for recording the details of dialed, received, and missed calls. More...
#include <QCallList>
Inherits QObject.
The QCallList class provides an interface for recording the details of dialed, received, and missed calls.
See also QCallListItem.
Defines the duplicate handling behavior of QCallList::record().
Constant | Value | Description |
---|---|---|
QCallList::AllowDuplicates | 0 | Allow duplicate numbers in the call list. |
QCallList::OverwriteDuplicates | 1 | Overwrite recent duplicate numbers in the call list. |
Defines the type of the call list.
Constant | Value | Description |
---|---|---|
QCallList::All | 0 | List of all types of calls. |
QCallList::Dialed | 1 | List of outgoing calls. |
QCallList::Received | 2 | List of incoming calls. |
QCallList::Missed | 3 | List of missed calls. |
Constructs a QCallList with an item limit of maxItemCount.
Destructs the QCallList
Returns a QList containing this QCallList's calls.
Returns the QCallListItem at posn.
See also count().
Clears the QCallList and saves the changes to the database. updated() signal is emitted.
Returns the number of items in the QCallList.
See also at().
Returns the item limit of the list.
See also setMaxItems().
Records the call item. If duplicates is AllowDuplicates (the default) duplicates of the number in item are allowed in the QCallList, otherwise any duplicate of the number is removed. The changes are saved to disk immediately.
Duplicates occur when the same number is dialed, received, or missed as a previously recorded call. The duplicate entry is stored with the new start and end times. If duplicates is OverwriteDuplicates, and the number was recently seen, then the original start and end times will be replaced with the new start and end times.
The OverwriteDuplicates flag is primarily used to collapse several recent entries for the same number into a single entry. This is mostly useful for repeated dial attempts, or repeated missed calls, where it is only interesting when the last attempt was made, not a full log of all attempts.
Removes all items with the same number from the list. The changes a saved to the database immediately and updated() signal is emitted.
See also removeAt().
This is an overloaded member function, provided for convenience.
Removes all items with the same type from the list. The changes are recorded to the database immediately and updated() signal is emitted.
See also removeAt().
Removes the item at posn from the list and saves the changes to the database. updated() signal is emitted.
See also removeAll().
Returns a QList containing QCallListItems that satisfy the search criteria options.
Sets the item limit of the list to l.
See also maxItems().
This signal is emitted whenever call list is updated.
See also clear(), record(), removeAll(), and removeAt().
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |