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
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
4#ifndef QQMLENGINECONTROLCLIENT_P_H
5#define QQMLENGINECONTROLCLIENT_P_H
6
7#include "qqmldebugclient_p.h"
8
9//
10// W A R N I N G
11// -------------
12//
13// This file is not part of the Qt API. It exists purely as an
14// implementation detail. This header file may change from version to
15// version without notice, or even be removed.
16//
17// We mean it.
18//
19
21
24{
26 Q_DECLARE_PRIVATE(QQmlEngineControlClient)
27public:
29
30 void blockEngine(int engineId);
31 void releaseEngine(int engineId);
32
33 QList<int> blockedEngines() const;
34
36 void engineAboutToBeAdded(int engineId, const QString &name);
37 void engineAdded(int engineId, const QString &name);
38 void engineAboutToBeRemoved(int engineId, const QString &name);
39 void engineRemoved(int engineId, const QString &name);
40
41protected:
43
44private:
45 void messageReceived(const QByteArray &) override;
46};
47
49
50#endif // QQMLENGINECONTROLCLIENT_P_H
\inmodule QtCore
Definition qbytearray.h:57
QQmlDebugConnection * connection() const
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)
void engineAboutToBeAdded(int engineId, const QString &name)
QQmlEngineControlClient(QQmlDebugConnection *connection)
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
GLuint name
#define Q_OBJECT
#define Q_SIGNALS