Cute   Learning Hub


  • IRemoteSlotResponse
  • IRemoteSlotResponse Class

    class Cute::Client::IRemoteSlotResponse

    The Cute::Client::IRemoteSlotResponse class allows monitoring a remote slot call using signals. More...

    Header: #include <CuteClient.h>

    Signals

    void failed(Cute::ErrorInfo error)
    void responded(QVariant response)

    Detailed Description

    Member Function Documentation

    [signal] void IRemoteSlotResponse::failed(Cute::ErrorInfo error)

    This signal is emitted whenever a direct call to a remote slot fails. error contains information about the problem.

    [signal] void IRemoteSlotResponse::responded(QVariant response)

    This signal is emitted when the client receives the response from a direct remote slot call. The response arguments contains the value returned by the remote slot as a QVariant. If the remote slot returns void, response is an invalid QVariant.

    See also callRemoteSlot.