ThreadWeaver

queuesignals.cpp
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. */
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"
QueueSignals(QObject *parent=nullptr)
Construct a QueueSignals object, passing the QObject parent.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 11:58:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.