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
qqmldebuggerservicefactory.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 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// Qt-Security score:significant
4
8#include <private/qqmldebugserviceinterfaces_p.h>
9
11
12QQmlDebugService *QQmlDebuggerServiceFactory::create(const QString &key)
13{
14 if (key == QQmlEngineDebugServiceImpl::s_key)
15 return new QQmlEngineDebugServiceImpl(this);
16
17 if (key == QV4DebugServiceImpl::s_key)
18 return new QV4DebugServiceImpl(this);
19
20 return nullptr;
21}
22
23QT_END_NAMESPACE
24
25#include "moc_qqmldebuggerservicefactory.cpp"
Combined button and popup list for selecting options.