Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmlpreviewservicefactory.cpp
Go to the documentation of this file.
1// Copyright (C) 2018 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
6#if QT_CONFIG(translation)
8#endif
9
11
13{
15 return new QQmlPreviewServiceImpl(this);
16#if QT_CONFIG(translation)
17 if (key == QQmlDebugTranslationServiceImpl::s_key)
18 return new QQmlDebugTranslationServiceImpl(this);
19#endif
20 return nullptr;
21}
22
24
25#include "moc_qqmlpreviewservicefactory.cpp"
QQmlDebugService * create(const QString &key) override
static const QString s_key
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
Combined button and popup list for selecting options.
GLuint64 key