Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquicksoundeffect.cpp
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-2.0-only OR GPL-3.0-only
3
5
6#include <QtMultimedia/private/qsoundeffect_p.h>
7#include <QtMultimediaQuick/private/qqmlcontext_source_resolver_p.h>
8
10
11QQuickSoundEffect::QQuickSoundEffect(QObject *parent) : QSoundEffect(parent)
12{
13 auto *fxPrivate = QSoundEffectPrivate::get(this);
14 fxPrivate->m_sourceResolver =
15 std::make_unique<QMultimediaPrivate::QQmlContextSourceResolver>(this);
16}
17
18QT_END_NAMESPACE
19
20#include "moc_qquicksoundeffect_p.cpp"
Combined button and popup list for selecting options.