File indexing completed on 2024-04-28 15:28:58
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 "questionmanager.h" 0010 0011 using namespace KNSCore; 0012 0013 QuestionListener::QuestionListener(QObject *parent) 0014 : QObject(parent) 0015 { 0016 connect(QuestionManager::instance(), &QuestionManager::askQuestion, this, &QuestionListener::askQuestion); 0017 } 0018 0019 QuestionListener::~QuestionListener() 0020 { 0021 } 0022 0023 void QuestionListener::askQuestion(Question *question) 0024 { 0025 Q_UNUSED(question) 0026 } 0027 0028 #include "moc_questionlistener.cpp"