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
qqmlenginecontrolservice.h
Go to the documentation of this file.
1// Copyright (C) 2016 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
4#ifndef QQMLENGINECONTROLSERVICE_H
5#define QQMLENGINECONTROLSERVICE_H
6
7#include <QMutex>
8#include <private/qqmldebugserviceinterfaces_p.h>
9
10//
11// W A R N I N G
12// -------------
13//
14// This file is not part of the Qt API. It exists purely as an
15// implementation detail. This header file may change from version to
16// version without notice, or even be removed.
17//
18// We mean it.
19//
20
22
24{
25public:
32
37
38 QQmlEngineControlServiceImpl(QObject *parent = nullptr);
39
40protected:
42
44 QList<QJSEngine *> startingEngines;
45 QList<QJSEngine *> stoppingEngines;
47
48 void messageReceived(const QByteArray &) override;
49 void engineAboutToBeAdded(QJSEngine *) override;
50 void engineAboutToBeRemoved(QJSEngine *) override;
51 void engineAdded(QJSEngine *) override;
52 void engineRemoved(QJSEngine *) override;
53
55
56 void stateChanged(State) override;
57};
58
60
61#endif // QQMLENGINECONTROLSERVICE_H
\inmodule QtCore
Definition qbytearray.h:57
The QJSEngine class provides an environment for evaluating JavaScript code.
Definition qjsengine.h:26
\inmodule QtCore
Definition qmutex.h:281
\inmodule QtCore
Definition qobject.h:103
void engineRemoved(QJSEngine *) override
void engineAboutToBeRemoved(QJSEngine *) override
void engineAdded(QJSEngine *) override
void messageReceived(const QByteArray &) override
void sendMessage(MessageType type, QJSEngine *engine)
void engineAboutToBeAdded(QJSEngine *) override
QQmlEngineControlServiceImpl(QObject *parent=nullptr)
Combined button and popup list for selecting options.
GLenum type
QJSEngine engine
[0]