QPhoneBook Class Reference
|
SM | Writable SIM phone book for user-defined names and numbers. |
SN | Read-only SIM phone book for operator-defined service numbers. |
DC | Read-only list of recently dialed calls. |
LD | Read-only list containing the last dialed call. |
MC | Read-only list of recently missed incoming calls. |
RC | Read-only list of recently received calls. |
EN | Read-only list of emergency numbers set by the network operator. |
FD | Fixed dialing phone book, listing the numbers that can be dialed when the fixed dialing mode is activated with setFixedDialingState(). |
The ME, MT, and TA phone books mentioned in 3GPP TS 27.007 cannot be accessed using QPhoneBook; use QContactModel instead.
The storages() method can be used to determine which storages are supported on the current SIM.
See also QPhoneBookEntry, QPhoneBookLimits, QPhoneBookEntry, and QContactModel.
Construct a new SIM phone book access object for service and attach it to parent. The object will be created in client mode if mode is Client, or server mode otherwise.
If service is empty, this class will use the first available service that supports SIM phone books. If there is more than one service that supports SIM phone books, the caller should enumerate them with QCommServiceManager::supports() and create separate QPhoneBook objects for each.
See also QCommServiceManager::supports().
Destroy this SIM phone book access object.
Add an entry consisting of number and text to the storage area store. If flush is true, then flush the modifications immediately; otherwise wait for an explicit call to the flush() method. The index field of entry is ignored.
See also remove(), update(), and flush().
Clear the password on store that was set using setPassword(). This should be called after flush().
See also setPassword() and flush().
Signal that is emitted to deliver the list of entries in the SIM storage area store. Occurs whenever the list is explicitly requested with getEntries(), or the list is modified by add(), remove(), update(), or flush().
See also getEntries(), add(), remove(), update(), and flush().
Signal that is emitted in response to requestFixedDialingState() to indicate whether the fixed dialing lock on the SIM is enabled or not.
See also requestFixedDialingState() and setFixedDialingState().
Flush all pending operations on the storage area store. This will cause the new list of entries for the storage area to be returned via the entries() signal.
See also add(), remove(), update(), and entries().
Get all entries in the storage area store. The most common storage area is called SM, indicating the phone book on the user's SIM card. The entries are returned via the entries() signal.
See also entries().
Signal that is emitted in response to a requestLimits() call for store. The value structure contains the limits. If the limits could not be obtained, value will be null.
See also requestLimits().
Signal that is emitted when phone books are ready to be read. For example this signal can be emitted from phoneBooksReady().
Remove the entry at index from the storage area store. If flush is true, then flush the modifications immediately; otherwise wait for an explicit call to the flush() method.
See also add(), update(), and flush().
Request the state of the fixed dialing lock on the SIM. The service responds with the fixedDialingState() signal.
See also fixedDialingState() and setFixedDialingState().
Request the field size and index limits for store. The service responds with the limits() signal.
See also limits().
Sets the fixed dialing lock on the SIM to enabled. The pin2 argument specifies the PIN2 password to access the fixed dialing lock. The service will emit setFixedDialingStateResult() when the operation completes.
See also fixedDialingState(), setFixedDialingStateResult(), and requestFixedDialingState().
Signal that is emitted in response to setFixedDialingState() to report the result of the operation.
See also setFixedDialingState().
Sets the password to use to access store to password. This is typically the SIM PIN2 password for the FD (fixed dialing) store. This should be called before the first call on getEntries(), add(), etc.
See also clearPassword(), getEntries(), and add().
Request the supported storages.
Update the entry in the storage area store with the. If flush is true, then flush the modifications immediately; otherwise wait for an explicit call to the flush() method.
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