File indexing completed on 2024-04-21 03:56:24
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 #include "questionlistener.h" 0009 #include "question.h" 0010 #include "questionmanager.h" 0011 0012 using namespace KNSCore; 0013 0014 QuestionListener::QuestionListener(QObject *parent) 0015 : QObject(parent) 0016 { 0017 connect(QuestionManager::instance(), &QuestionManager::askQuestion, this, &QuestionListener::askQuestion); 0018 } 0019 0020 QuestionListener::~QuestionListener() = default; 0021 0022 #include "moc_questionlistener.cpp"