Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QCallForwarding class provides access to the call forwarding settings on a GSM phone. More...
#include <QCallForwarding>
Inherits QCommInterface.
Inherited by QModemCallForwarding.
The QCallForwarding class provides access to the call forwarding settings on a GSM phone.
The functionality in this class is implemented in accordance with the Call Forwarding supplementary service described in 3GPP TS 02.82.
This service permits a called mobile subscriber to have the network send all incoming calls, or just those associated with a specific call type, addressed to the called mobile subscriber's directory number to another directory number. The ability of the served mobile subscriber to originate calls is unaffected.
The current state of call forwarding can be queried using the requestForwardingStatus() function, and changed using the setForwarding() function. The reasons for forwarding (unconditional, mobile busy, no reply, etc) are specified by the QCallForwarding::Reason enumeration.
See also QCommInterface.
Specifies the reason for a forwarding request.
Constant | Value | Description |
---|---|---|
QCallForwarding::Unconditional | 0 | Forward all calls unconditionally. |
QCallForwarding::MobileBusy | 1 | Forward calls when the mobile is busy on another call. |
QCallForwarding::NoReply | 2 | Forward calls when no reply within a certain time period. |
QCallForwarding::NotReachable | 3 | Forward calls when the mobile is not reachable. |
QCallForwarding::All | 4 | Special value to modify all forwarding rules. This is typically used to turn off all forwarding. |
QCallForwarding::AllConditional | 5 | Special value to modify all conditional forwarding rules. This is typically used to turn off all conditional forwarding. |
Construct a new call forwarding 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 call forwarding. If there is more than one service that supports call forwarding, the caller should enumerate them with QCommServiceManager::supports() and create separate QCallForwarding objects for each.
See also QCommServiceManager::supports().
Destroy this call forwarding object.
Signal that is emitted in response to requestForwardingStatus() call for reason. The status parameter contains a list of forwarding rules for the reason code. The list only contains entries for rules where forwarding is enabled for a call class. If no forwarding is not enabled for any call class, the list will be empty.
See also requestForwardingStatus().
Request the status of the forwarding rules associated with reason. The service responds by emitting the forwardingStatus() signal.
See also forwardingStatus().
Sets the forwarding state associated with reason to enable, with the number information in status if forwarding is being enabled. The service responds by emitting the setForwardingResult() signal.
See also setForwardingResult().
Signal that is emitted to report the result of calling setForwarding() for reason.
See also setForwarding().
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |