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  · 

QSupplementaryServices Class Reference
[QtTelephonyModule]

The QSupplementaryServices class provides access to structured and unstructured supplementary services within GSM networks. More...

    #include <QSupplementaryServices>

Inherits QCommInterface.

Inherited by QModemSupplementaryServices.

Public Types

  • enum IncomingNotification { MT_Forwarded, MT_ClosedUserGroup, MT_Hold, MT_Retrieved, ..., MT_AdditionalIncomingForwarded }
  • enum OutgoingNotification { MO_UnconditionalForwardingActive, MO_ConditionalForwardingActive, MO_Forwarded, MO_Waiting, ..., MO_Deflected }
  • enum UnstructuredAction { NoFurtherActionRequired, FurtherActionRequired, TerminatedByNetwork, OtherLocalClientResponded, OperationNotSupported, NetworkTimeout }

Public Functions

Public Slots

  • 1 public slot inherited from QObject

Signals

Additional Inherited Members


Detailed Description

The QSupplementaryServices class provides access to structured and unstructured supplementary services within GSM networks.

Structured supplementary service data can be sent to the network with sendSupplementaryServiceData() and unstructured supplementary service data can be sent with sendUnstructuredData().

As structured and unstructured supplementary service data is received from the network, the outgoingNotification(), incomingNotification(), and unstructuredNotification() signals will be emitted.

If there is an ongoing unstructured supplementary service session in progress, it can be canceled with cancelUnstructuredSession().

See also QCommInterface.


Member Type Documentation

enum QSupplementaryServices::IncomingNotification

This enum defines notification types for incoming mobile-terminated (MT) calls according to 3GPP TS 27.007.

ConstantValueDescription
QSupplementaryServices::MT_Forwarded0Call has been forwarded.
QSupplementaryServices::MT_ClosedUserGroup1Closed user group call.
QSupplementaryServices::MT_Hold2Call has been put on hold during a voice call.
QSupplementaryServices::MT_Retrieved3Call has been retrieved during a voice call.
QSupplementaryServices::MT_MultipartyEntered4Multiparty call entered during a voice call.
QSupplementaryServices::MT_HoldReleased5Call on hold has been released during a voice call.
QSupplementaryServices::MT_ForwardCheck6Forward check message received.
QSupplementaryServices::MT_Alerting7Call is being connected (alerting) with the remote party in alerting state in explicit call transfer operation (during a voice call).
QSupplementaryServices::MT_ExplicitTransfer8Call has been connected with the other remote party in explicit call transfer operation (during a voice call or MT call setup).
QSupplementaryServices::MT_Deflected9Call has been deflected.
QSupplementaryServices::MT_AdditionalIncomingForwarded10Additional incoming call forwarded.

enum QSupplementaryServices::OutgoingNotification

This enum defines notification types for outgoing mobile-originated (MO) calls according to 3GPP TS 27.007.

ConstantValueDescription
QSupplementaryServices::MO_UnconditionalForwardingActive0Unconditional call forwarding is active.
QSupplementaryServices::MO_ConditionalForwardingActive1Some of the conditional call forwardings are active.
QSupplementaryServices::MO_Forwarded2Call has been forwarded.
QSupplementaryServices::MO_Waiting3Call is waiting.
QSupplementaryServices::MO_ClosedUserGroup4Closed user group call.
QSupplementaryServices::MO_OutgoingCallsBarred5Outgoing calls are barred.
QSupplementaryServices::MO_IncomingCallsBarred6Incoming calls are barred.
QSupplementaryServices::MO_CallerIdSuppressionRejected7Caller-Id suppression request has been rejected.
QSupplementaryServices::MO_Deflected8Call has been deflected.

enum QSupplementaryServices::UnstructuredAction

This enum defines the action that should be taken for an incoming unstructured supplementary service notification according to 3GPP TS 27.007.

ConstantValueDescription
QSupplementaryServices::NoFurtherActionRequired0No further user action required.
QSupplementaryServices::FurtherActionRequired1Further user action required.
QSupplementaryServices::TerminatedByNetwork2Terminated by network.
QSupplementaryServices::OtherLocalClientResponded3Other local client has responded.
QSupplementaryServices::OperationNotSupported4Operation not supported.
QSupplementaryServices::NetworkTimeout5Network time out.


Member Function Documentation

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

Construct a new supplementary services 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 supplementary services. If there is more than one service that supports supplementary services, the caller should enumerate them with QCommServiceManager::supports() and create separate QSupplementaryServices objects for each.

See also QCommServiceManager::supports().

QSupplementaryServices::~QSupplementaryServices ()

Destroy this supplementary services object.

void QSupplementaryServices::cancelUnstructuredSession ()   [virtual slot]

Cancel the current USSD session. The unstructuredResult() signal will be emitted to indicate the result of canceling the current USSD session.

See also sendUnstructuredData() and unstructuredResult().

void QSupplementaryServices::incomingNotification ( QSupplementaryServices::IncomingNotification type, int groupIndex, const QString & number )   [signal]

Signal that is emitted when a supplementary service notification type arrives for an incoming mobile-terminated (MT) call. If type is MT_ClosedUserGroup, then groupIndex will be the index of the closed user group. Otherwise groupIndex will be zero. If the call was transferred (type equal to MT_ExplicitTransfer), number will be present.

void QSupplementaryServices::outgoingNotification ( QSupplementaryServices::OutgoingNotification type, int groupIndex )   [signal]

Signal that is emitted when a supplementary service notification type arrives for an outgoing mobile-originated (MO) call. If type is MO_ClosedUserGroup, then groupIndex will be the index of the closed user group. Otherwise groupIndex will be zero.

void QSupplementaryServices::sendSupplementaryServiceData ( const QString & data )   [virtual slot]

Sends data as a supplementary service command. On GSM modems, the ATD command is used for this purpose. The data should start with * or #. The sendSupplementaryServiceDataResult() signal will be emitted to indicate the result of sending data.

See also supplementaryServiceResult() and sendUnstructuredData().

void QSupplementaryServices::sendUnstructuredData ( const QString & data )   [virtual slot]

Sends data within the current USSD session. On GSM modems, the AT+CUSD command is used for this purpose. The unstructuredResult() signal will be emitted to indicate the result of sending data.

See also cancelUnstructuredSession(), sendSupplementaryServiceData(), and unstructuredResult().

void QSupplementaryServices::supplementaryServiceResult ( QTelephony::Result result )   [signal]

Signal that is emitted to report the result of a call to sendSupplementaryServiceData().

See also sendSupplementaryServiceData().

void QSupplementaryServices::unstructuredNotification ( QSupplementaryServices::UnstructuredAction action, const QString & data )   [signal]

Signal that is emitted when an unstructured supplementary service notification arrives. The action parameter specifies the action to be taken next in the current session, and data specifies the data provided by the network.

See also cancelUnstructuredSession() and sendUnstructuredData().

void QSupplementaryServices::unstructuredResult ( QTelephony::Result result )   [signal]

Signal that is emitted to report the result of a call to cancelUnstructuredSession() or sendUnstructuredData().

See also cancelUnstructuredSession() and sendUnstructuredData().

Publicité

Best Of

Actualités les plus lues

Semaine
Mois
Année
  1. Les développeurs détestent-ils les antivirus ? Un programmeur manifeste sa haine envers ces solutions de sécurité 23
  2. «Le projet de loi des droits du développeur» : quelles conditions doivent remplir les entreprises pour que le développeur puisse réussir ? 38
  3. Une nouvelle ère d'IHM 3D pour les automobiles, un concept proposé par Digia et implémenté avec Qt 3
  4. PySide devient un add-on Qt et rejoint le Qt Project et le modèle d'open gouvernance 1
  5. Qt Creator 2.5 est sorti en beta, l'EDI supporte maintenant plus de fonctionnalités de C++11 2
  6. Vingt sociétés montrent leurs décodeurs basés sur Qt au IPTV World Forum, en en exploitant diverses facettes (déclaratif, Web, widgets) 0
  7. Thread travailleur avec Qt en utilisant les signaux et les slots, un article de Christophe Dumez traduit par Thibaut Cuvelier 1
  1. « Quelque chose ne va vraiment pas avec les développeurs "modernes" », un développeur à "l'ancienne" critique la multiplication des bibliothèques 94
  2. Apercevoir la troisième dimension ou l'utilisation multithreadée d'OpenGL dans Qt, un article des Qt Quarterly traduit par Guillaume Belz 0
  3. Pourquoi les programmeurs sont-ils moins payés que les gestionnaires de programmes ? Manquent-ils de pouvoir de négociation ? 49
  4. Les développeurs ignorent-ils trop les failles découvertes dans leur code ? Prenez-vous en compte les remarques des autres ? 17
  5. Les développeurs détestent-ils les antivirus ? Un programmeur manifeste sa haine envers ces solutions de sécurité 23
  6. Quelles nouveautés de C++11 Visual C++ doit-il rapidement intégrer ? Donnez-nous votre avis 10
  7. Qt Commercial : Digia organise un webinar gratuit le 27 mars sur la conception d'interfaces utilisateur et d'applications avec le framework 0
Page suivante

Le Qt Labs au hasard

Logo

QLocale : à propos du temps (et des dates, et des langues, et des...)

Les Qt Labs sont les laboratoires des développeurs de Qt, où ils peuvent partager des impressions sur le framework, son utilisation, ce que pourrait être son futur. Lire l'article.

Communauté

Ressources

Liens utiles

Contact

  • Vous souhaitez rejoindre la rédaction ou proposer un tutoriel, une traduction, une question... ? Postez dans le forum Contribuez ou contactez-nous par MP ou par email (voir en bas de page).

Qt dans le magazine

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