Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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#ifndef QQMLDEBUGTRANSLATIONSERVICE_H
4#define QQMLDEBUGTRANSLATIONSERVICE_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16#include <QtCore/qglobal.h>
17
18#include <private/qqmldebugserviceinterfaces_p.h>
19
20#include <QtCore/qbytearray.h>
21#include <QtCore/qstring.h>
22#include <QtCore/qurl.h>
23#include <QtGui/qcolor.h>
24
26
29{
31public:
34
35 void foundTranslationBinding(const TranslationBindingInformation &translationBindingInformation) override;
36
37 void messageReceived(const QByteArray &message) override;
40
42 void language(const QUrl &context, const QLocale &locale);
43 void state(const QString &stateName);
44 void stateList();
45 void watchTextElides(bool);
49
50private:
52};
53
55
56#endif // QQMLDEBUGTRANSLATIONSERVICE_H
\inmodule QtCore
Definition qbytearray.h:57
The QJSEngine class provides an environment for evaluating JavaScript code.
Definition qjsengine.h:26
\inmodule QtCore
Definition qobject.h:103
QQmlDebugTranslationServiceImpl(QObject *parent=nullptr)
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
void language(const QUrl &context, const QLocale &locale)
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\inmodule QtCore
Definition qurl.h:94
Combined button and popup list for selecting options.
static void * context
GLuint GLsizei const GLchar * message
#define Q_OBJECT
#define Q_SIGNALS
QJSEngine engine
[0]