Warning, file /frameworks/knewstuff/src/ui/widgetquestionlistener.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     This file is part of KNewStuffCore.
0003     SPDX-FileCopyrightText: 2016 Dan Leinir Turthra Jensen <admin@leinir.dk>
0004 
0005     SPDX-License-Identifier: LGPL-2.1-or-later
0006 */
0007 
0008 #ifndef KNS3_WIDGETQUESTIONLISTENER_H
0009 #define KNS3_WIDGETQUESTIONLISTENER_H
0010 
0011 #include "core/questionlistener.h"
0012 
0013 namespace KNS3
0014 {
0015 class WidgetQuestionListener : public KNSCore::QuestionListener
0016 {
0017     Q_OBJECT
0018     Q_DISABLE_COPY(WidgetQuestionListener)
0019 public:
0020     static WidgetQuestionListener *instance();
0021     ~WidgetQuestionListener() override;
0022 
0023     Q_SLOT void askQuestion(KNSCore::Question *question) override;
0024 
0025 private:
0026     WidgetQuestionListener();
0027 };
0028 }
0029 
0030 #endif // KNS3_WIDGETQUESTIONLISTENER_H