Sailfish Secrets
API DocumentationInteractionRequestWatcher Class
(Sailfish::Secrets::InteractionRequestWatcher)Public Functions
| InteractionRequestWatcher(QObject *parent = Q_NULLPTR) | |
| ~InteractionRequestWatcher() | |
| pid_t | callerPid() const |
| bool | cancelInteractionRequest() |
| bool | connectToInteractionService() |
| bool | continueInteractionRequest(const Sailfish::Secrets::InteractionParameters &request) |
| void | disconnectFromInteractionService() |
| bool | finishInteractionRequest() |
| Sailfish::Secrets::InteractionParameters | interactionParameters() const |
| QString | interactionServiceAddress() const |
| quint64 | requestId() const |
| bool | sendInteractionRequest() |
| void | setCallerPid(pid_t pid) |
| void | setInteractionParameters(const Sailfish::Secrets::InteractionParameters &request) |
| void | setInteractionServiceAddress(const QString &address) |
| void | setRequestId(quint64 id) |
Signals
| void | interactionRequestFinished(quint64 requestId) |
| void | interactionRequestResponse(quint64 requestId, const Sailfish::Secrets::InteractionResponse &response) |
Member Function Documentation
InteractionRequestWatcher::InteractionRequestWatcher(QObject *parent = Q_NULLPTR)
Default constructs an instance of InteractionRequestWatcher.
InteractionRequestWatcher::~InteractionRequestWatcher()
Destroys the instance of InteractionRequestWatcher.
pid_t InteractionRequestWatcher::callerPid() const
See also setCallerPid().
bool InteractionRequestWatcher::cancelInteractionRequest()
bool InteractionRequestWatcher::connectToInteractionService()
bool InteractionRequestWatcher::continueInteractionRequest(const Sailfish::Secrets::InteractionParameters &request)
void InteractionRequestWatcher::disconnectFromInteractionService()
bool InteractionRequestWatcher::finishInteractionRequest()
Sailfish::Secrets::InteractionParameters InteractionRequestWatcher::interactionParameters() const
See also setInteractionParameters().
[signal] void InteractionRequestWatcher::interactionRequestFinished(quint64 requestId)
Note: Signal interactionRequestFinished is overloaded in this class. To connect to this one using the function pointer syntax, you must specify the signal type in a static cast, as shown in this example:
connect(interactionRequestWatcher, static_cast<void(InteractionRequestWatcher::*)(quint64)>(&InteractionRequestWatcher::interactionRequestFinished),
[=](quint64 requestId){ /* ... */ });[signal] void InteractionRequestWatcher::interactionRequestResponse(quint64 requestId, const Sailfish::Secrets::InteractionResponse &response)
QString InteractionRequestWatcher::interactionServiceAddress() const
See also setInteractionServiceAddress().
quint64 InteractionRequestWatcher::requestId() const
See also setRequestId().
bool InteractionRequestWatcher::sendInteractionRequest()
void InteractionRequestWatcher::setCallerPid(pid_t pid)
See also callerPid().
void InteractionRequestWatcher::setInteractionParameters(const Sailfish::Secrets::InteractionParameters &request)
See also interactionParameters().
void InteractionRequestWatcher::setInteractionServiceAddress(const QString &address)
See also interactionServiceAddress().
void InteractionRequestWatcher::setRequestId(quint64 id)
See also requestId().