ark
Kerfuffle::Query Class Referenceabstract
#include <queries.h>
Inheritance diagram for Kerfuffle::Query:
Public Member Functions | |
virtual void | execute ()=0 |
QVariant | response () |
void | waitForResponse () |
Protected Member Functions | |
Query () | |
virtual | ~Query () |
void | setResponse (QVariant response) |
Protected Attributes | |
QueryData | m_data |
Detailed Description
Constructor & Destructor Documentation
|
protected |
Protected constructor.
Definition at line 40 of file queries.cpp.
|
inlineprotectedvirtual |
Member Function Documentation
|
pure virtual |
Execute the response.
Will happen in the GUI thread, so it's safe to use widgets/gui elements here. Must call setResponse when done.
Implemented in Kerfuffle::PasswordNeededQuery, and Kerfuffle::OverwriteQuery.
QVariant Kerfuffle::Query::response | ( | ) |
Definition at line 45 of file queries.cpp.
|
protected |
Definition at line 61 of file queries.cpp.
void Kerfuffle::Query::waitForResponse | ( | ) |
Will block until the response have been set.
Definition at line 50 of file queries.cpp.
Member Data Documentation
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.