KNewStuff

entrywrapper.cpp
1 /*
2  SPDX-FileCopyrightText: 2020 Dan Leinir Turthra Jensen <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5 */
6 
7 #include "entrywrapper.h"
8 
9 namespace KNSCore {
10  class EntryWrapper::Private {
11  public:
12  Private(const EntryInternal& entry
13  )
14  : entry(entry)
15  {}
16  const EntryInternal entry;
17  };
18 }
19 
20 KNSCore::EntryWrapper::EntryWrapper(const KNSCore::EntryInternal& entry, QObject* parent)
21  : QObject(parent)
22  , d(new Private(entry))
23 {}
24 
25 KNSCore::EntryWrapper::~EntryWrapper()
26 {
27  delete d;
28 }
29 
31 {
32  return d->entry;
33 }
Contains the core functionality for handling interaction with NewStuff providers. ...
EntryInternal entry() const
Get a copy of the wrapped-up entry.
KNewStuff data entry container.
Definition: entryinternal.h:49
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 18 2021 22:43:49 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.