QModemIndicators Class Reference
|
Constant | Value | Description |
---|---|---|
QModemIndicators::PoweredByBattery | 0 | Currently powered by the battery. |
QModemIndicators::NotPoweredByBattery | 1 | Battery is connected, but not powering the phone. |
QModemIndicators::NoBattery | 2 | No battery connected. |
QModemIndicators::PowerFault | 3 | There is a power fault and calls are inhibited. |
This enum defines the full status of the incoming SMS message store.
Constant | Value | Description |
---|---|---|
QModemIndicators::SmsMemoryOK | 0 | The store has slots available to receive new messages. |
QModemIndicators::SmsMemoryFull | 1 | The store is full and cannot accept new messages. |
QModemIndicators::SmsMemoryMessageRejected | 2 | The store is full and a new message was just rejected. |
Construct a modem indicator object for service. Normally, a modem vendor plug-in will call QModemService::indicators().
Destroy this modem indicator object.
Report an unsolicited battery charge value and state. The maxValue parameter indicates the maximum value for the valid range of values. e.g. if value can vary between 0 and 100, then maxValue will be 100.
If value is -1, then it indicates that the battery charge is currently undetectable.
This function is typically called by modem vendor plug-ins that have a proprietary command for reporting the current battery charge. If the modem vendor plug-in does not call this function, the default implementation will poll the AT+CBC command for battery charge.
Client applications get access to the battery charge value using the QPowerSource class.
See also QPowerSource.
Sets the network time information to time, zone, and dst. The time parameter indicates the time from the network in UTC, as seconds past midnight, 1 Jan 1970.
The zone parameter indicates the number of minutes east of GMT. The dst parameter indicates the number of minutes of daylight savings adjustment that have been applied to zone.
The parameter values are placed into the value space as /Telephony/Status/Time, /Telephony/Status/TimeZone, and /Telephony/Status/TimeZoneDST. In addition, the value space item /Telephony/Status/TimeTimeStamp will be set to the current time on the phone, also in UTC.
The values of Time and TimeTimeStamp in the value space can be used to determine the network time at some point in the future relative to the current time on the phone. Subtract TimeTimeStamp from the current time and add it to Time to determine the current network time.
Sets the network time zone information to zone and dst. The zone parameter indicates the number of minutes east of GMT. The dst parameter indicates the number of minutes of daylight savings adjustment that have been applied to zone.
The parameter values are placed into the value space as /Telephony/Status/TimeZone and /Telephony/Status/TimeZoneDST.
This function is deprecated in Qtopia 4.3 an later. Use setNetworkTime() instead.
See also setNetworkTime().
Report an unsolicited signal quality value. The maxValue parameter indicates the maximum value for the valid range of values. e.g. if value can vary between 0 and 31, then maxValue will be 31.
If value is -1, then it indicates that the signal quality is currently undetectable (e.g. no network).
This function is typically called by modem vendor plug-ins that have a proprietary command for reporting the current signal quality. If the modem vendor plug-in does not call this function, the default implementation will poll the AT+CSQ command for signal quality.
Client applications get access to the signal quality value using the QSignalSource class.
See also QSignalSource.
Sets the SMS memory full indicator to value.
Client applications get access to the SMS memory full indicator by querying the /Telephony/Status/SMSMemoryFull value space item.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com