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.
Constructor & Destructor Documentation
◆ AsyncResult()
|
explicit |
Definition at line 132 of file polkitqt1-agent-session.cpp.
◆ ~AsyncResult()
|
virtual |
Definition at line 137 of file polkitqt1-agent-session.cpp.
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-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:13:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:13:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.