Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QDSActionRequest class encapsulates a received action request. More...
#include <QDSActionRequest>
Inherits QObject.
The QDSActionRequest class encapsulates a received action request.
A Qt Extended Data Sharing (QDS) service provider can use the QDSActionRequest class to capture the context of received requests, and as an interface to respond to the request.
Applications seeking to utilise QDS services should use the QDSAction class to request a service; the QDSAction class will then create a QDSActionRequest instance and send it to the QDS service for processing.
See also QDSAction, QDSServiceInfo, and Qt Extended Data Sharing (QDS).
Constructs an empty request and attaches it to parent.
Constructs a deep copy of other.
Constructs an action request for a service with no request data. The service responding to the request is provided in serviceInfo and the channel for responding to the client is provided in channel. The request is attached to parent.
Constructs an action request for a service with requestData. The service responding to the request is provided in serviceInfo and the channel for responding to the client is provided in channel. auxiliary data can also be attached to the request. The request is attached to parent.
Destructor
Returns the auxiliary data accompanying the request.
Returns any error message generated during the request. If no error has been reported a null string will be returned.
Returns true if the request has been completely processed and a response has been sent to the client; otherwise returns false.
Returns the validity of the request.
Returns the request data.
Sends a response back to the client to indicate that the request has been processed correctly. This method is to be used for services which don't have response data.
Returns false if a response has already been sent or the service requires response data; otherwise returns true.
This is an overloaded member function, provided for convenience.
Sends responseData back to the client to indicate that the request has been processed correctly. This method is to be used for services which have response data.
Returns false if a response has already been sent or the service doesn't require response data; otherwise returns true.
This is an overloaded member function, provided for convenience.
Sends the error message message back to the client to indicate that an error has occured.
Returns false if a response has already been sent; otherwise returns true.
Returns the response data.
Returns the description of the service requested.
Makes a deep copy of other and assigns it to this QDSActionRequest object. Returns a reference to this QDSActionRequest object.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |