Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquick3daudiolistener_p.h
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-3.0-only
3#ifndef QQUICK3DLISTENER_H
4#define QQUICK3DLISTENER_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16
17#include <private/qquick3dnode_p.h>
18#include <QtGui/qvector3d.h>
19
20#include <qaudiolistener.h>
21
23
25{
27 QML_NAMED_ELEMENT(AudioListener)
28
29public:
32
33 QAudioListener *listener() { return m_listener; }
34protected:
36
37protected Q_SLOTS:
38 void updatePosition();
39 void updateRotation();
40
41private:
42 QAudioListener *m_listener;
43};
44
46
47#endif
\inmodule QtSpatialAudio
QQuick3DAudioListener()
\qmltype AudioListener \inqmlmodule QtQuick3D.SpatialAudio
QSSGRenderGraphObject * updateSpatialNode(QSSGRenderGraphObject *) override
Combined button and popup list for selecting options.
#define QML_NAMED_ELEMENT(NAME)
#define Q_OBJECT
#define Q_SLOTS