KDeclarative

qmlobjectsharedengine.h
1 /*
2  SPDX-FileCopyrightText: 2015 Marco Martin <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef QMLOBJECTSHAREDENGINE_H
8 #define QMLOBJECTSHAREDENGINE_H
9 
10 #include <memory>
11 #include <kdeclarative/qmlobject.h>
12 #include <kdeclarative/kdeclarative_export.h>
13 
14 namespace KDeclarative {
15 
16 class QmlObjectSharedEnginePrivate;
17 
30 class KDECLARATIVE_EXPORT QmlObjectSharedEngine : public QmlObject
31 {
32  Q_OBJECT
33 
34 public:
40  explicit QmlObjectSharedEngine(QObject *parent = nullptr);
42 
43 private:
44  friend class QmlObjectSharedEnginePrivate;
45  const std::unique_ptr<QmlObjectSharedEnginePrivate> d;
46 };
47 
48 }
49 
50 #endif // multiple inclusion guard
An object that instantiates an entire QML context, with its own declarative engine.
Definition: qmlobject.h:38
An object that instantiates an entire QML context, with its own declarative engine.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Aug 11 2020 22:40:17 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.