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
qqmlenginecontrolclient_p.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// Qt-Security score:significant
4
5#ifndef QQMLENGINECONTROLCLIENT_P_H
6#define QQMLENGINECONTROLCLIENT_P_H
7
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
25{
26 Q_OBJECT
27 Q_DECLARE_PRIVATE(QQmlEngineControlClient)
28public:
30
31 void blockEngine(int engineId);
32 void releaseEngine(int engineId);
33
34 QList<int> blockedEngines() const;
35
38 void engineAdded(int engineId, const QString &name);
39 void engineAboutToBeRemoved(int engineId, const QString &name);
40 void engineRemoved(int engineId, const QString &name);
41
42protected:
44
45private:
46 void messageReceived(const QByteArray &) override;
47};
48
49QT_END_NAMESPACE
50
51#endif // QQMLENGINECONTROLCLIENT_P_H
void sendCommand(CommandType command, int engineId)
QQmlEngineControlClientPrivate(QQmlDebugConnection *connection)
QQmlEngineControlClient(QQmlEngineControlClientPrivate &dd)
QList< int > blockedEngines() const
void blockEngine(int engineId)
Block the starting or stopping of the engine with id engineId for now.
void messageReceived(const QByteArray &) override
void engineRemoved(int engineId, const QString &name)
void engineAboutToBeRemoved(int engineId, const QString &name)
void releaseEngine(int engineId)
Release the engine with id engineId.
void engineAdded(int engineId, const QString &name)
Combined button and popup list for selecting options.