1/*
2 This file is part of KNewStuffCore.
3 SPDX-FileCopyrightText: 2016 Dan Leinir Turthra Jensen <admin@leinir.dk>
4
5 SPDX-License-Identifier: LGPL-2.1-or-later
6*/
7
8#include "questionlistener.h"
9#include "question.h"
10#include "questionmanager.h"
11
12using namespace KNSCore;
13
14QuestionListener::QuestionListener(QObject *parent)
15 : QObject(parent)
16{
17 connect(sender: QuestionManager::instance(), signal: &QuestionManager::askQuestion, context: this, slot: &QuestionListener::askQuestion);
18}
19
20QuestionListener::~QuestionListener() = default;
21
22#include "moc_questionlistener.cpp"
23

source code of knewstuff/src/core/questionlistener.cpp