Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QModemServicePlugin class defines a base class for implementing vendor-specific modem plug-ins. More...
#include <QModemServicePlugin>
Inherits QObject and QModemServicePluginInterface.
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.
Create a vendor-specific modem plug-in instance and attach it to parent.
Destruct a vendor-specific modem plug-in instance.
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().
Returns the list of keys for this plug-in.
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().
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |