Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QPhoneRfFunctionality class provides a method to get or set the level of RF activity on a phone. More...
#include <QPhoneRfFunctionality>
Inherits QCommInterface.
Inherited by QModemRfFunctionality.
The QPhoneRfFunctionality class provides a method to get or set the level of RF activity on a phone.
The RF activity level is typically used to implement airplane-safe operation modes where RF activity is disabled.
See also QCommInterface.
This enum defines the level of phone RF functionality desired.
Constant | Value | Description |
---|---|---|
QPhoneRfFunctionality::Minimum | 0 | Minimum functionality. |
QPhoneRfFunctionality::Full | 1 | Full functionality. |
QPhoneRfFunctionality::DisableTransmit | 2 | Disable phone transmit RF circuits only. |
QPhoneRfFunctionality::DisableReceive | 3 | Disable phone receive RF circuits only. |
QPhoneRfFunctionality::DisableTransmitAndReceive | 4 | Disable both phone transmit and receive RF circuits. |
This property holds the current phone RF functionality level.
Access functions:
Construct a new phone RF functionality 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 phone RF functionality. If there is more than one service that supports phone RF functionality, the caller should enumerate them with QCommServiceManager::supports() and create separate QPhoneRfFunctionality objects for each.
See also QCommServiceManager::supports().
Destroy this phone RF functionality object.
Force the modem to query the current RF functionality level. This is typically used just after power up to check the actual state of the modem.
See also levelChanged().
Signal that is emitted when the RF functionality level changes.
See also level() and setLevel().
Signal that is emitted in response to setLevel() to report its result. If result is QTelephony::OK, then level() will also be updated to reflect the new phone RF functionality level.
See also setLevel().
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |