File indexing completed on 2024-10-06 12:23:26
0001 /* 0002 SPDX-FileCopyrightText: 2009 Frederik Gladhorn <gladhorn@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.1-or-later 0005 */ 0006 0007 #ifndef KNEWSTUFF3_KNEWSTUFFENTRY_P_H 0008 #define KNEWSTUFF3_KNEWSTUFFENTRY_P_H 0009 0010 #include "core/entryinternal.h" 0011 0012 namespace KNS3 0013 { 0014 class EntryPrivate : public QSharedData 0015 { 0016 public: 0017 KNSCore::EntryInternal e; 0018 static Entry fromInternal(const KNSCore::EntryInternal *internal) 0019 { 0020 Entry e; 0021 e.d->e = *internal; 0022 return e; 0023 } 0024 }; 0025 } 0026 0027 #endif