KNewStuff

questionlistener.cpp
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(QuestionManager::instance(), &QuestionManager::askQuestion, this, &QuestionListener::askQuestion);
18}
19
20QuestionListener::~QuestionListener() = default;
21
22#include "moc_questionlistener.cpp"
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:52:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.