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
qqmlprofilerservicefactory.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
10
11QQmlDebugService *QQmlProfilerServiceFactory::create(const QString &key)
12{
13 if (key == QQmlProfilerServiceImpl::s_key)
14 return new QQmlProfilerServiceImpl(this);
15
16 if (key == QQmlEngineControlServiceImpl::s_key)
17 return new QQmlEngineControlServiceImpl(this);
18
19 return nullptr;
20}
21
22QT_END_NAMESPACE
23
24#include "moc_qqmlprofilerservicefactory.cpp"
Combined button and popup list for selecting options.