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  · 

QModemServicePlugin Class Reference
[QtCellModule]

The QModemServicePlugin class defines a base class for implementing vendor-specific modem plug-ins. More...

    #include <QModemServicePlugin>

Inherits QObject and QModemServicePluginInterface.

Public Functions

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 1 signal inherited from QObject
  • 1 public type inherited from QObject
  • 4 static public members inherited from QObject
  • 7 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

The QModemServicePlugin class defines a base class for implementing vendor-specific modem plug-ins.

The plug-in should override supports() and create().

See GSM Modem Integration for more information on writing modem vendor plug-ins.

See also QModemServicePluginInterface and QModemService.


Member Function Documentation

QModemServicePlugin::QModemServicePlugin ( QObject * parent = 0 )

Create a vendor-specific modem plug-in instance and attach it to parent.

QModemServicePlugin::~QModemServicePlugin ()

Destruct a vendor-specific modem plug-in instance.

QModemService * QModemServicePlugin::create ( const QString & service, QSerialIODeviceMultiplexer * mux, QObject * parent )   [virtual]

Create a vendor-specific modem service handler called service and attach it to parent. The mux parameter specifies the serial device multiplexer to use for accessing the modem.

The default implementation returns null.

Reimplemented from QModemServicePluginInterface.

See also supports().

QStringList QModemServicePlugin::keys () const

Returns the list of keys for this plug-in.

bool QModemServicePlugin::supports ( const QString & manufacturer )   [virtual]

Returns true if this plug-in supports the given manufacturer string. The caller obtains the string by issuing AT+CGMI to the modem. If the plug-in supports manufacturer, the caller will then call create(). This function will typically contain code such as the following:

    return manufacturer.contains( "VENDORID" );

where VENDORID is a vendor-specific identifier that will appear in the output of AT+CGMI only for that vendor's modems.

The default implementation returns false.

Reimplemented from QModemServicePluginInterface.

See also create().

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