Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QSMSSender class provides facilities to send SMS messages. More...
#include <QSMSSender>
Inherits QCommInterface.
Inherited by QModemSMSSender.
The QSMSSender class provides facilities to send SMS messages.
Client applications construct an SMS message using QSMSMessage and then call the send() method. Once the message has been delivered, or delivery failed, the finished() signal is emitted.
See also QSMSMessage, QSMSReader, and QCommInterface.
Construct a new SMS sending 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 SMS sending. If there is more than one service that supports SMS sending, the caller should enumerate them with QCommServiceManager::supports() and create separate QSMSSender objects for each.
See also QCommServiceManager::supports().
Destroy this SMS sending object.
Signal that is emitted when the message associated with id has been sent, or the send failed for some reason. The reason for the failure is specified by result.
See also send().
Send the SMS message msg and return an identifier for it. This is a convenience method around QSMSSender::send(const QString&, const QSMSMessage&).
See also finished().
This is an overloaded member function, provided for convenience.
Send the SMS message msg, and associate the finished() response with the identifier id.
See also finished().
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |