Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

QPhoneRfFunctionality Class Reference
[QtTelephonyModule]

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.

Public Types

  • enum Level { Minimum, Full, DisableTransmit, DisableReceive, DisableTransmitAndReceive }

Properties

  • level : QPhoneRfFunctionality::Level
  • 1 property inherited from QObject

Public Functions

Public Slots

  • 1 public slot inherited from QObject

Signals

Additional Inherited Members


Detailed Description

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.


Member Type Documentation

enum QPhoneRfFunctionality::Level

This enum defines the level of phone RF functionality desired.

ConstantValueDescription
QPhoneRfFunctionality::Minimum0Minimum functionality.
QPhoneRfFunctionality::Full1Full functionality.
QPhoneRfFunctionality::DisableTransmit2Disable phone transmit RF circuits only.
QPhoneRfFunctionality::DisableReceive3Disable phone receive RF circuits only.
QPhoneRfFunctionality::DisableTransmitAndReceive4Disable both phone transmit and receive RF circuits.


Property Documentation

level : QPhoneRfFunctionality::Level

This property holds the current phone RF functionality level.

Access functions:

  • QPhoneRfFunctionality::Level level () const
  • virtual void setLevel ( QPhoneRfFunctionality::Level level )

Member Function Documentation

QPhoneRfFunctionality::QPhoneRfFunctionality ( const QString & service = QString(), QObject * parent = 0, QCommInterface::Mode mode = Client )

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().

QPhoneRfFunctionality::~QPhoneRfFunctionality ()

Destroy this phone RF functionality object.

void QPhoneRfFunctionality::forceLevelRequest ()   [virtual slot]

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().

void QPhoneRfFunctionality::levelChanged ()   [signal]

Signal that is emitted when the RF functionality level changes.

See also level() and setLevel().

void QPhoneRfFunctionality::setLevelResult ( QTelephony::Result result )   [signal]

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().

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 !
 
 
 
 
Partenaires

Hébergement Web