ThreadWeaver

queuesignals.cpp
1 /* -*- C++ -*-
2  This file is part of ThreadWeaver, a KDE framework.
3 
4  SPDX-FileCopyrightText: 2013 Mirko Boehm <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8 
9 #include "queuesignals.h"
10 #include "queuesignals_p.h"
11 
12 namespace ThreadWeaver
13 {
14 /** @brief Construct a QueueSignals object, passing the QObject parent. */
16  : QObject(parent)
17  , m_d(nullptr)
18 {
19 }
20 
21 QueueSignals::QueueSignals(Private::QueueSignals_Private *d, QObject *parent)
22  : QObject(parent)
23  , m_d(d)
24 {
25 }
26 
27 QueueSignals::~QueueSignals()
28 {
29  delete m_d;
30  m_d = nullptr;
31 }
32 
33 Private::QueueSignals_Private *QueueSignals::d()
34 {
35  return m_d;
36 }
37 
38 const Private::QueueSignals_Private *QueueSignals::d() const
39 {
40  return m_d;
41 }
42 
43 }
QueueSignals(QObject *parent=nullptr)
Construct a QueueSignals object, passing the QObject parent.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Feb 5 2023 04:09:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.