KNewStuff
8#ifndef KNSQ_QUICKQUESTIONLISTENER_H
9#define KNSQ_QUICKQUESTIONLISTENER_H
11#include "core/questionlistener.h"
14namespace KNewStuffQuick
16class QuickQuestionListener :
public KNSCore::QuestionListener
19 Q_DISABLE_COPY(QuickQuestionListener)
21 static QuickQuestionListener *instance();
22 ~QuickQuestionListener()
override;
24 Q_SLOT void askQuestion(KNSCore::Question *question)
override;
26 Q_SIGNAL void askListQuestion(QString title, QString question, QStringList list);
27 Q_SIGNAL void askContinueCancelQuestion(QString title, QString question);
28 Q_SIGNAL void askTextInputQuestion(QString title, QString question);
29 Q_SIGNAL void askPasswordQuestion(QString title, QString question);
30 Q_SIGNAL void askYesNoQuestion(QString title, QString question);
32 Q_SLOT void passResponse(
bool responseIsContinue, QString input);
34 QuickQuestionListener() =
default;
36 QPointer<KNSCore::Question> m_question;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:44 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.