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
qqmldebugtranslationclient_p.h
Go to the documentation of this file.
1
// Copyright (C) 2020 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
#
ifndef
QQMLDEBUGTRANSLATIONCLIENT_P_H
5
#
define
QQMLDEBUGTRANSLATIONCLIENT_P_H
6
7
#
include
"qqmldebugclient_p.h"
8
9
#
include
<
QtCore
/
qvector
.
h
>
10
#
include
<
private
/
qqmldebugtranslationprotocol_p
.
h
>
11
12
//
13
// W A R N I N G
14
// -------------
15
//
16
// This file is not part of the Qt API. It exists purely as an
17
// implementation detail. This header file may change from version to
18
// version without notice, or even be removed.
19
//
20
// We mean it.
21
//
22
23
QT_BEGIN_NAMESPACE
24
25
class
QQmlDebugTranslationClient
:
public
QQmlDebugClient
26
{
27
Q_OBJECT
28
29
public
:
30
explicit
QQmlDebugTranslationClient
(
QQmlDebugConnection
*
client
);
31
~
QQmlDebugTranslationClient
() =
default
;
32
33
virtual
void
messageReceived
(
const
QByteArray &message)
override
;
34
bool
languageChanged
=
false
;
35
QVector
<
QQmlDebugTranslation
::
TranslationIssue
>
translationIssues
;
36
QVector
<
QQmlDebugTranslation
::
QmlElement
>
qmlElements
;
37
QVector
<
QQmlDebugTranslation
::
QmlState
>
qmlStates
;
38
};
39
40
QT_END_NAMESPACE
41
42
#
endif
// QQMLDEBUGTRANSLATIONCLIENT_P_H
QQmlDebugClient
Definition
qqmldebugclient_p.h:27
QQmlDebugTranslationClient
Definition
qqmldebugtranslationclient_p.h:26
QQmlDebugTranslationClient::messageReceived
virtual void messageReceived(const QByteArray &message) override
Definition
qqmldebugtranslationclient.cpp:20
QQmlDebugTranslationClient::~QQmlDebugTranslationClient
~QQmlDebugTranslationClient()=default
QQmlDebugTranslationClient::translationIssues
QVector< QQmlDebugTranslation::TranslationIssue > translationIssues
Definition
qqmldebugtranslationclient_p.h:35
QQmlDebugTranslationClient::qmlElements
QVector< QQmlDebugTranslation::QmlElement > qmlElements
Definition
qqmldebugtranslationclient_p.h:36
QQmlDebugTranslationClient::qmlStates
QVector< QQmlDebugTranslation::QmlState > qmlStates
Definition
qqmldebugtranslationclient_p.h:37
QQmlDebugTranslationClient::languageChanged
bool languageChanged
Definition
qqmldebugtranslationclient_p.h:34
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
qtdeclarative
src
qmldebug
qqmldebugtranslationclient_p.h
Generated on
for Qt by
1.14.0