• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

ark

  • Kerfuffle
  • Query
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Kerfuffle::Query Class Referenceabstract

#include <queries.h>

Inheritance diagram for Kerfuffle::Query:
Inheritance graph
[legend]

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

Definition at line 44 of file queries.h.

Constructor & Destructor Documentation

Kerfuffle::Query::Query ( )
protected

Protected constructor.

Definition at line 40 of file queries.cpp.

virtual Kerfuffle::Query::~Query ( )
inlineprotectedvirtual

Definition at line 66 of file queries.h.

Member Function Documentation

virtual void Kerfuffle::Query::execute ( )
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.

void Kerfuffle::Query::setResponse ( QVariant  response)
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

QueryData Kerfuffle::Query::m_data
protected

Definition at line 70 of file queries.h.


The documentation for this class was generated from the following files:
  • queries.h
  • queries.cpp
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

KDE's Doxygen guidelines are available online.

ark

Skip menu "ark"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal