1/* -*- C++ -*-
2 This file is part of ThreadWeaver, a KDE framework.
3
4 SPDX-FileCopyrightText: 2013 Mirko Boehm <mirko@kde.org>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8
9#include "queuesignals.h"
10#include "queuesignals_p.h"
11
12namespace ThreadWeaver
13{
14/** @brief Construct a QueueSignals object, passing the QObject parent. */
15QueueSignals::QueueSignals(QObject *parent)
16 : QObject(parent)
17 , m_d(nullptr)
18{
19}
20
21QueueSignals::QueueSignals(Private::QueueSignals_Private *d, QObject *parent)
22 : QObject(parent)
23 , m_d(d)
24{
25}
26
27QueueSignals::~QueueSignals()
28{
29 delete m_d;
30 m_d = nullptr;
31}
32
33Private::QueueSignals_Private *QueueSignals::d()
34{
35 return m_d;
36}
37
38const Private::QueueSignals_Private *QueueSignals::d() const
39{
40 return m_d;
41}
42
43}
44
45#include "moc_queuesignals.cpp"
46

source code of threadweaver/src/queuesignals.cpp