| 1 | /* |
| 2 | This file is part of the KDE project |
| 3 | SPDX-FileCopyrightText: 1999 Simon Hausmann <hausmann@kde.org> |
| 4 | SPDX-FileCopyrightText: 1999-2005 David Faure <faure@kde.org> |
| 5 | |
| 6 | SPDX-License-Identifier: LGPL-2.0-or-later |
| 7 | */ |
| 8 | |
| 9 | #ifndef _KPARTS_PARTBASE_P_H |
| 10 | #define _KPARTS_PARTBASE_P_H |
| 11 | |
| 12 | #include "partbase.h" |
| 13 | |
| 14 | namespace KParts |
| 15 | { |
| 16 | class PartBasePrivate |
| 17 | { |
| 18 | public: |
| 19 | Q_DECLARE_PUBLIC(PartBase) |
| 20 | |
| 21 | PartBasePrivate(PartBase *qq) |
| 22 | : q_ptr(qq) |
| 23 | , m_obj(nullptr) |
| 24 | { |
| 25 | } |
| 26 | |
| 27 | virtual ~PartBasePrivate() |
| 28 | { |
| 29 | } |
| 30 | |
| 31 | PartBase *q_ptr; |
| 32 | QObject *m_obj; |
| 33 | }; |
| 34 | |
| 35 | } // namespace |
| 36 | |
| 37 | #endif |
| 38 | |