1// Copyright (C) 2019 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QSSGITEMCHANGELISTENER_P_H
5#define QSSGITEMCHANGELISTENER_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtQuick3D/qquick3dobject.h>
19#include <private/qglobal_p.h>
20
21QT_BEGIN_NAMESPACE
22
23class QQuick3DObjectChangeListener
24{
25public:
26 virtual ~QQuick3DObjectChangeListener() {}
27
28 virtual void itemSiblingOrderChanged(QQuick3DObject *) {}
29 virtual void itemVisibilityChanged(QQuick3DObject *) {}
30 virtual void itemEnabledChanged(QQuick3DObject *) {}
31 virtual void itemOpacityChanged(QQuick3DObject *) {}
32 virtual void itemDestroyed(QQuick3DObject *) {}
33 virtual void itemChildAdded(QQuick3DObject *, QQuick3DObject * /* child */) {}
34 virtual void itemChildRemoved(QQuick3DObject *, QQuick3DObject * /* child */) {}
35 virtual void itemParentChanged(QQuick3DObject *, QQuick3DObject * /* parent */) {}
36};
37
38QT_END_NAMESPACE
39
40#endif // QSSGITEMCHANGELISTENER_P_H
41

source code of qtquick3d/src/quick3d/qquick3dobjectchangelistener_p.h