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
qqmldebugtranslationservice.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 QQMLDEBUGTRANSLATIONSERVICE_H
5#define QQMLDEBUGTRANSLATIONSERVICE_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17#include <QtCore/qglobal.h>
18
19#include <private/qqmldebugserviceinterfaces_p.h>
20
21#include <QtCore/qbytearray.h>
22#include <QtCore/qstring.h>
23#include <QtCore/qurl.h>
24#include <QtGui/qcolor.h>
25
26QT_BEGIN_NAMESPACE
27
28class QQmlDebugTranslationServicePrivate;
30{
32public:
35
36 void foundTranslationBinding(const TranslationBindingInformation &translationBindingInformation) override;
37
38 void messageReceived(const QByteArray &message) override;
39 void engineAboutToBeAdded(QJSEngine *engine) override;
40 void engineAboutToBeRemoved(QJSEngine *engine) override;
41
43 void language(const QUrl &context, const QLocale &locale);
44 void state(const QString &stateName);
45 void stateList();
46 void watchTextElides(bool);
50
51private:
53};
54
55QT_END_NAMESPACE
56
57#endif // QQMLDEBUGTRANSLATIONSERVICE_H
void messageReceived(const QByteArray &message) override
void foundTranslationBinding(const TranslationBindingInformation &translationBindingInformation) override
void engineAboutToBeAdded(QJSEngine *engine) override
void state(const QString &stateName)
void engineAboutToBeRemoved(QJSEngine *engine) override
QMultiMap< QObject *, TranslationBindingInformation > objectTranslationBindingMultiMap
QList< QPointer< QQuickItem > > translatableTextOccurrences
Combined button and popup list for selecting options.
QDebug operator<<(QDebug dbg, const QFileInfo &fi)
static QString translationIdString(const QQmlTranslation::QsTrData &data)