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
4
#include "
qqmlprofilerservice.h
"
5
#include "
qqmlenginecontrolservice.h
"
6
#include "
qqmlprofilerservicefactory.h
"
7
8
QT_BEGIN_NAMESPACE
9
10
QQmlDebugService
*
QQmlProfilerServiceFactory::create
(
const
QString
&
key
)
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
21
QT_END_NAMESPACE
22
23
#include "moc_qqmlprofilerservicefactory.cpp"
QQmlDebugService
Definition
qqmldebugservice_p.h:31
QQmlEngineControlServiceImpl
Definition
qqmlenginecontrolservice.h:24
QQmlProfilerServiceFactory::create
QQmlDebugService * create(const QString &key) override
Definition
qqmlprofilerservicefactory.cpp:10
QQmlProfilerServiceImpl
Definition
qqmlprofilerservice.h:44
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:127
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
key
GLuint64 key
Definition
qopengles2ext.h:2268
qqmlenginecontrolservice.h
qqmlprofilerservice.h
qqmlprofilerservicefactory.h
qtdeclarative
src
plugins
qmltooling
qmldbg_profiler
qqmlprofilerservicefactory.cpp
Generated by
1.9.7