KNewStuff

widgetquestionlistener.h
1 /*
2  This file is part of KNewStuffCore.
3  SPDX-FileCopyrightText: 2016 Dan Leinir Turthra Jensen <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.1-or-later
6 */
7 
8 #ifndef KNS3_WIDGETQUESTIONLISTENER_H
9 #define KNS3_WIDGETQUESTIONLISTENER_H
10 
11 #include "core/questionlistener.h"
12 
13 namespace KNS3
14 {
15 class WidgetQuestionListener : public KNSCore::QuestionListener
16 {
17  Q_OBJECT
18  Q_DISABLE_COPY(WidgetQuestionListener)
19 public:
20  static WidgetQuestionListener* instance();
21  virtual ~WidgetQuestionListener();
22 
23  Q_SLOT void askQuestion(KNSCore::Question* question) override;
24 private:
25  WidgetQuestionListener();
26 };
27 }
28 
29 #endif//KNS3_WIDGETQUESTIONLISTENER_H
Contains the core functionality for handling interaction with NewStuff providers. ...
Implementation-side handler class for questions sent from KNewStuffCore.
Q_OBJECTQ_OBJECT
Q_DISABLE_COPY(Class)
The namespace for the KNewStuff classes.
Definition: button.cpp:19
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 18 2021 22:43:50 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.