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