PolkitQt1::Agent::AsyncResult
PolkitQt1::Agent::AsyncResult Class Reference
#include <polkitqt1-agent-session.h>
Public Member Functions | |
AsyncResult (GSimpleAsyncResult *result) | |
void | setCompleted () |
void | setError (const QString &text) |
Detailed Description
Encapsulation of GSimpleAsyncResult to QObject class.
Definition at line 36 of file polkitqt1-agent-session.h.
Member Function Documentation
◆ setCompleted()
void AsyncResult::setCompleted | ( | ) |
Mark the action that is tied to this result as completed.
Definition at line 143 of file polkitqt1-agent-session.cpp.
◆ setError()
void AsyncResult::setError | ( | const QString & | text | ) |
Sets an error for the asynchronous result.
Method complete() must be called anyway.
- Parameters
-
text text of the error message
Definition at line 153 of file polkitqt1-agent-session.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Mar 27 2023 04:19:06 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Mar 27 2023 04:19:06 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.