Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QServiceNumbers class provides access to GSM service numbers such as voice mail and SMS service center. More...
#include <QServiceNumbers>
Inherits QCommInterface.
Inherited by QModemServiceNumbers.
The QServiceNumbers class provides access to GSM service numbers such as voice mail and SMS service center.
The value of service numbers may be queried with requestServiceNumber(). The telephony service will respond by emitting the serviceNumber() signal.
The value of service numbers may be changed with setServiceNumber(). The telephony service will respond by emitting the setServiceNumberResult() signal, indicating whether the request succeeded or failed.
See also QCommInterface.
This enum defines the service number to query or set with QServiceNumbers.
Constant | Value | Description |
---|---|---|
QServiceNumbers::VoiceMail | 0 | Query or set the voice mail number on the SIM. |
QServiceNumbers::SmsServiceCenter | 1 | Query or set the SMS service center number. |
QServiceNumbers::SubscriberNumber | 2 | Query or set the subscriber's number in the SIM. |
Construct a new service number 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 service numbers. If there is more than one service that supports service numbers, the caller should enumerate them with QCommServiceManager::supports() and create separate QServiceNumbers objects for each.
See also QCommServiceManager::supports().
Destroy this service number object.
Request the current value of service number id. The service responds by emitting the serviceNumber() signal.
See also serviceNumber() and setServiceNumber().
Signal that is emitted in response to requestServiceNumber(), to report the number associated with id. If number is empty, then the number is not set.
See also requestServiceNumber() and setServiceNumber().
Sets the value of service number id to number. The service responds by emitting the setServiceNumberResult() signal.
See also setServiceNumberResult(), requestServiceNumber(), and serviceNumber().
Signal that is emitted to report the result of calling setServiceNumber() for id.
See also setServiceNumber().
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |