Qt 6.x
The Qt SDK
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
7
9
11{
12 if (key == QQmlProfilerServiceImpl::s_key)
13 return new QQmlProfilerServiceImpl(this);
14
15 if (key == QQmlEngineControlServiceImpl::s_key)
16 return new QQmlEngineControlServiceImpl(this);
17
18 return nullptr;
19}
20
22
23#include "moc_qqmlprofilerservicefactory.cpp"
QQmlDebugService * create(const QString &key) override
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
Combined button and popup list for selecting options.
GLuint64 key