![]() |
Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions | ![]() |
The QTelephony namespace contains telephony-related enumerated type definitions. More...
#include <QTelephony>
Inherits QObject.
The QTelephony namespace contains telephony-related enumerated type definitions.
Class of call to effect with a call forwarding, call barring, or call waiting change.
| Constant | Value | Description |
|---|---|---|
| QTelephony::CallClassNone | 0 | No call class specified. |
| QTelephony::CallClassVoice | 1 | Voice calls. |
| QTelephony::CallClassData | 2 | Data calls, all bearer services. |
| QTelephony::CallClassFax | 4 | Fax calls. |
| QTelephony::CallClassSMS | 8 | Short message service. |
| QTelephony::CallClassDataCircuitSync | 16 | Data calls, circuit-switched synchronous only. |
| QTelephony::CallClassDataCircuitAsync | 32 | Data calls, circuit-switched asynchronous only. |
| QTelephony::CallClassDedicatedPacketAccess | 64 | Data calls, dedicated packet access only. |
| QTelephony::CallClassDedicatedPADAccess | 128 | Data calls, dedicated PAD access only. |
| QTelephony::CallClassDefault | 7 | Default call class; includes CallClassVoice, CallClassData, and CallClassFax. |
Availability of a network operator within QNetworkRegistration::AvailableOperator.
| Constant | Value | Description |
|---|---|---|
| QTelephony::OperatorUnavailable | 0 | Network operator is unavailable for use. |
| QTelephony::OperatorAvailable | 1 | Network operator is available for use. |
| QTelephony::OperatorCurrent | 2 | Network operator is currently being used. |
| QTelephony::OperatorForbidden | 3 | Network operator is forbidden for use. |
Mode that was requested when the operator was selected.
| Constant | Value | Description |
|---|---|---|
| QTelephony::OperatorModeAutomatic | 0 | Select any operator that is available. |
| QTelephony::OperatorModeManual | 1 | Select a particular operator by name. |
| QTelephony::OperatorModeDeregister | 2 | Deregister from the network. |
| QTelephony::OperatorModeManualAutomatic | 3 | Try to select the user's preferred operator by name, and if that fails select any operator that is available. |
Indicates the current network registration state.
| Constant | Value | Description |
|---|---|---|
| QTelephony::RegistrationNone | 0 | Not registered and not searching for a new operator to register to. |
| QTelephony::RegistrationHome | 1 | Registered to the user's home network. |
| QTelephony::RegistrationSearching | 2 | Not registered, but currently searching for a new operator to register to. |
| QTelephony::RegistrationDenied | 3 | Registration was denied, usually because of invalid access credentials. |
| QTelephony::RegistrationUnknown | 4 | Registered, but it is not known whether the network is home or roaming. |
| QTelephony::RegistrationRoaming | 5 | Registered to a roaming network. |
Result codes for telephony operations, based on the GSM specifications.
| Constant | Value | Description |
|---|---|---|
| QTelephony::OK | -1 | Command responded with OK |
| QTelephony::Connect | -2 | Command responded with CONNECT |
| QTelephony::NoCarrier | -3 | Command responded with NO CARRIER |
| QTelephony::Error | -4 | Command responded with ERROR |
| QTelephony::NoDialtone | -5 | Command responded with NO DIALTONE |
| QTelephony::Busy | -6 | Command responded with BUSY |
| QTelephony::NoAnswer | -7 | Command responded with NO ANSWER |
| QTelephony::Dead | -8 | The link is dead |
| QTelephony::PhoneFailure | 0 | GSM 27.07 code 0: phone failure |
| QTelephony::NoConnectionToPhone | 1 | GSM 27.07 code 1: no connection to phone |
| QTelephony::PhoneAdapterLinkReserved | 2 | GSM 27.07 code 2: phone-adaptor link reserved |
| QTelephony::OperationNotAllowed | 3 | GSM 27.07 code 3: operation not allowed |
| QTelephony::OperationNotSupported | 4 | GSM 27.07 code 4: operation not supported |
| QTelephony::PhSimPinRequired | 5 | GSM 27.07 code 5: PH-SIM PIN required |
| QTelephony::PhFSimPinRequired | 6 | GSM 27.07 code 6: PH-FSIM PIN required |
| QTelephony::PhFSimPukRequired | 7 | GSM 27.07 code 7: PH-FSIM PUK required |
| QTelephony::SimNotInserted | 10 | GSM 27.07 code 10: SIM not inserted |
| QTelephony::SimPinRequired | 11 | GSM 27.07 code 11: SIM PIN required |
| QTelephony::SimPukRequired | 12 | GSM 27.07 code 12: SIM PUK required |
| QTelephony::SimFailure | 13 | GSM 27.07 code 13: SIM failure |
| QTelephony::SimBusy | 14 | GSM 27.07 code 14: SIM busy |
| QTelephony::SimWrong | 15 | GSM 27.07 code 15: SIM wrong |
| QTelephony::IncorrectPassword | 16 | GSM 27.07 code 16: incorrect password |
| QTelephony::SimPin2Required | 17 | GSM 27.07 code 17: SIM PIN2 required |
| QTelephony::SimPuk2Required | 18 | GSM 27.07 code 18: SIM PUK2 required |
| QTelephony::MemoryFull | 20 | GSM 27.07 code 20: memory full |
| QTelephony::InvalidIndex | 21 | GSM 27.07 code 21: invalid index |
| QTelephony::NotFound | 22 | GSM 27.07 code 22: not found |
| QTelephony::MemoryFailure | 23 | GSM 27.07 code 23: memory failure |
| QTelephony::TextStringTooLong | 24 | GSM 27.07 code 24: text string too long |
| QTelephony::InvalidCharsInTextString | 25 | GSM 27.07 code 25: invalid characters in text string |
| QTelephony::DialStringTooLong | 26 | GSM 27.07 code 26: dial string too long |
| QTelephony::InvalidCharsInDialString | 27 | GSM 27.07 code 27: invalid characters in dial string |
| QTelephony::NoNetworkService | 30 | GSM 27.07 code 30: no network service |
| QTelephony::NetworkTimeout | 31 | GSM 27.07 code 31: network timeout |
| QTelephony::NetworkNotAllowed | 32 | GSM 27.07 code 32: network not allowed - emergency calls only |
| QTelephony::NetPersPinRequired | 40 | GSM 27.07 code 40: network personalization PIN required |
| QTelephony::NetPersPukRequired | 41 | GSM 27.07 code 41: network personalization PUK required |
| QTelephony::NetSubsetPersPinRequired | 42 | GSM 27.07 code 42: network subset personalization PIN required |
| QTelephony::NetSubsetPersPukRequired | 43 | GSM 27.07 code 43: network subset personalization PUK required |
| QTelephony::ServProvPersPinRequired | 44 | GSM 27.07 code 44: service provider personalization PIN required |
| QTelephony::ServProvPersPukRequired | 45 | GSM 27.07 code 45: service provider personalization PUK required |
| QTelephony::CorpPersPinRequired | 46 | GSM 27.07 code 46: corporate personalization PIN required |
| QTelephony::CorpPersPukRequired | 47 | GSM 27.07 code 47: corporate personalization PUK required |
| QTelephony::HiddenKeyRequired | 48 | GSM 27.07 code 48: hidden key required |
| QTelephony::Unknown | 100 | GSM 27.07 code 100: unknown |
| QTelephony::IllegalMS | 103 | GSM 27.07 code 103: Illegal MS |
| QTelephony::IllegalME | 106 | GSM 27.07 code 106: Illegal ME |
| QTelephony::GPRSServicesNotAllowed | 107 | GSM 27.07 code 107: GPRS services not allowed |
| QTelephony::PLMNNotAllowed | 111 | GSM 27.07 code 111: PLMN not allowed |
| QTelephony::LocationAreaNotAllowed | 112 | GSM 27.07 code 112: Location area not allowed |
| QTelephony::RoamingNotAllowed | 113 | GSM 27.07 code 113: Roaming not allowed in this location area |
| QTelephony::ServiceOptionNotSupported | 132 | GSM 27.07 code 132: service option not supported |
| QTelephony::ServiceOptionNotSubscribed | 133 | GSM 27.07 code 133: service option not subscribed |
| QTelephony::ServiceOptionOutOfOrder | 134 | GSM 27.07 code 134: service option temporarily out of order |
| QTelephony::UnspecifiedGPRSError | 148 | GSM 27.07 code 148: unspecified GPRS error |
| QTelephony::PDPAuthenticationFailure | 149 | GSM 27.07 code 149: PDP authentication failure |
| QTelephony::InvalidMobileClass | 150 | GSM 27.07 code 150: invalid mobile class |
| QTelephony::VBSVGCSNotSupported | 151 | GSM 27.07 code 151: VBS/VGCS not supported by the network |
| QTelephony::NoServiceSubscriptionOnSim | 152 | GSM 27.07 code 152: No service subscription on SIM |
| QTelephony::NoSubscriptionForGroupId | 153 | GSM 27.07 code 153: No subscription for group ID |
| QTelephony::GroupIdNotActivatedOnSim | 154 | GSM 27.07 code 154: Group Id not activated on SIM |
| QTelephony::NoMatchingNotification | 155 | GSM 27.07 code 155: No matching notification |
| QTelephony::VBSVGCSCallAlreadyPresent | 156 | GSM 27.07 code 156: VBS/VGCS call already present |
| QTelephony::Congestion | 157 | GSM 27.07 code 157: Congestion |
| QTelephony::NetworkFailure | 158 | GSM 27.07 code 158: Network failure |
| QTelephony::UplinkBusy | 159 | GSM 27.07 code 159: Uplink busy |
| QTelephony::NoAccessRightsForSimFile | 160 | GSM 27.07 code 160: No access rights for SIM file |
| QTelephony::NoSubscriptionForPriority | 161 | GSM 27.07 code 161: No subscription for priority |
| QTelephony::OperationNotApplicable | 162 | GSM 27.07 code 162: operation not applicable or not possible |
| QTelephony::MEFailure | 300 | GSM 27.05 code 300: ME failure |
| QTelephony::SMSServiceOfMEReserved | 301 | GSM 27.05 code 301: SMS service of ME reserved |
| QTelephony::SMSOperationNotAllowed | 302 | GSM 27.05 code 302: operation not allowed |
| QTelephony::SMSOperationNotSupported | 303 | GSM 27.05 code 303: operation not supported |
| QTelephony::InvalidPDUModeParameter | 304 | GSM 27.05 code 304: invalid PDU mode parameter |
| QTelephony::InvalidTextModeParameter | 305 | GSM 27.05 code 305: invalid text mode parameter |
| QTelephony::USimNotInserted | 310 | GSM 27.05 code 310: (U)SIM not inserted |
| QTelephony::USimPinRequired | 311 | GSM 27.05 code 311: (U)SIM PIN required |
| QTelephony::PHUSimPinRequired | 312 | GSM 27.05 code 312: PH-(U)SIM PIN required |
| QTelephony::USimFailure | 313 | GSM 27.05 code 313: (U)SIM failure |
| QTelephony::USimBusy | 314 | GSM 27.05 code 314: (U)SIM busy |
| QTelephony::USimWrong | 315 | GSM 27.05 code 315: (U)SIM wrong |
| QTelephony::USimPukRequired | 316 | GSM 27.05 code 316: (U)SIM PUK required |
| QTelephony::USimPin2Required | 317 | GSM 27.05 code 317: (U)SIM PIN2 required |
| QTelephony::USimPuk2Required | 318 | GSM 27.05 code 318: (U)SIM PUK2 required |
| QTelephony::SMSMemoryFailure | 320 | GSM 27.05 code 320: memory failure |
| QTelephony::InvalidMemoryIndex | 321 | GSM 27.05 code 321: invalid memory index |
| QTelephony::SMSMemoryFull | 322 | GSM 27.05 code 322: memory full |
| QTelephony::SMSCAddressUnknown | 330 | GSM 27.05 code 330: SMSC address unknown |
| QTelephony::SMSNoNetworkService | 331 | GSM 27.05 code 331: no network service |
| QTelephony::SMSNetworkTimeout | 332 | GSM 27.05 code 332: network timeout |
| QTelephony::NoCNMAAckExpected | 340 | GSM 27.05 code 340: no +CNMA acknowledgment expected |
| QTelephony::UnknownError | 500 | GSM 27.05 code 500: unknown error |
Error codes for SIM file operations via QBinarySimFile and QRecordBasedSimFile.
| Constant | Value | Description |
|---|---|---|
| QTelephony::SimFileServiceUnavailable | 0 | Sim file access is not available on any of the services in the system. |
| QTelephony::SimFileSimUnavailable | 1 | Sim file access is available, but the SIM is not present or ready. |
| QTelephony::SimFileNotFound | 2 | Sim file access is available, but the file does not exist on the SIM. |
| QTelephony::SimFileInvalidRead | 3 | Attempt to perform a read operation with invalid parameters. |
| QTelephony::SimFileInvalidWrite | 4 | Attempt to perform a write operation with invalid parameters. |
Type of files within a SIM that are accessible via QSimFiles.
| Constant | Value | Description |
|---|---|---|
| QTelephony::SimFileRootDirectory | 0 | Root directory on the SIM (also known as the master file}. |
| QTelephony::SimFileDirectory | 1 | Non-root directory on the SIM (also known as a dedicated file). |
| QTelephony::SimFileTransparent | 2 | Transparent elementary file (binary). |
| QTelephony::SimFileLinearFixed | 3 | Linear fixed elementary file (record-based). |
| QTelephony::SimFileCyclic | 4 | Cyclic elementary file (record-based with cyclic reuse of old records). |
| QTelephony::SimFileUnknown | 5 | Unknown file type. |
| Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |