1 /* 2 This file is part of the Okteta Core library, made within the KDE community. 3 4 SPDX-FileCopyrightText: 2019 Friedrich W. H. Kossebau <kossebau@kde.org> 5 6 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 7 */ 8 9 #ifndef OKTETA_ABSTRACTBYTEARRAYMODEL_P_HPP 10 #define OKTETA_ABSTRACTBYTEARRAYMODEL_P_HPP 11 12 // lib 13 #include "abstractbytearraymodel.hpp" 14 15 namespace Okteta { 16 17 class AbstractByteArrayModelPrivate 18 { 19 public: 20 explicit AbstractByteArrayModelPrivate(AbstractByteArrayModel* parent); 21 AbstractByteArrayModelPrivate() = delete; 22 virtual ~AbstractByteArrayModelPrivate(); 23 24 protected: 25 AbstractByteArrayModel* const q_ptr; 26 27 private: 28 Q_DECLARE_PUBLIC(AbstractByteArrayModel) 29 }; 30 31 AbstractByteArrayModelPrivate(AbstractByteArrayModel * parent)32inline AbstractByteArrayModelPrivate::AbstractByteArrayModelPrivate(AbstractByteArrayModel* parent) 33 : q_ptr(parent) 34 { 35 } 36 37 inline AbstractByteArrayModelPrivate::~AbstractByteArrayModelPrivate() = default; 38 39 } 40 41 #endif 42