QCallList Class Reference
|
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.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com