Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QBandSelection class provides an interface to select a GSM band for the phone to operate on. More...
#include <QBandSelection>
Inherits QCommInterface.
The QBandSelection class provides an interface to select a GSM band for the phone to operate on.
Bands are identified by string identifiers such as the following:
GSM 850 | GSM at 850 MHz |
GSM 900 | GSM at 900 MHz |
GSM 1800 | DCS at 1800 MHz |
GSM 1900 | PCS at 1900 MHz |
Dual 900/1800 | Dual 900 MHz and 1800 MHz bands |
Dual 850/1900 | Dual 950 MHz and 1900 MHz bands |
Telephony services should report dual bands separately from the single constituent bands, to allow the user to select either a specific band, or one of a set of supported bands.
Not all modems support band selection. The available() method should be used by client applications to determine if band selection is possible.
See also QCommInterface.
This enum defines the mode of band selection to be used.
Constant | Value | Description |
---|---|---|
QBandSelection::Automatic | 0 | Use an explicit band selection if possible, but fall back to any available band otherwise. |
QBandSelection::Manual | 1 | Use only the explicitly specified band. |
Construct a new band selection 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 band selection. If there is more than one service that supports band selection, the caller should enumerate them with QCommServiceManager::supports() and create separate QBandSelection objects for each.
See also QCommServiceManager::supports().
Destroy this band selection object.
Signal that is emitted in response to requestBand(), to report the currently selected mode and band value.
See also setBand() and requestBand().
Signal that is emitted to report the supported list of bands.
See also requestBands().
Request the currently selected band. The result is reported via the band() signal.
See also band() and requestBands().
Request a list of all bands that can be selected from. The result is reported via the bands() signal.
See also bands() and requestBand().
Sets the current band mode and value. If value is null, and mode is Automatic, then any available band will be used. The result of setting the band is reported via the setBandResult() signal.
See also band(), setBandResult(), and requestBand().
Signal that is emitted to report the result of calling setBand().
See also setBand().
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |