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
qquickeventreplayclient_p.h
Go to the documentation of this file.
1// Copyright (C) 2025 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 QQUICKEVENTREPLAYCLIENT_P_H
6#define QQUICKEVENTREPLAYCLIENT_P_H
7
9
10#include <private/qqmlprofilerevent_p.h>
11#include <private/qqmlprofilereventtype_p.h>
12
13#include <QtCore/qxpfunctional.h>
14
15//
16// W A R N I N G
17// -------------
18//
19// This file is not part of the Qt API. It exists purely as an
20// implementation detail. This header file may change from version to
21// version without notice, or even be removed.
22//
23// We mean it.
24//
25
27
28class QQuickEventReplayClientPrivate;
30{
32public:
34 bool loadEvents(const QString &fileName,
35 qxp::function_ref<void(const QQmlProfilerEventType &,
36 QQmlProfilerEvent &&)> &&handler);
37
38 void sendEvent(const QQmlProfilerEventType &type, QQmlProfilerEvent &&event);
39};
40
41QT_END_NAMESPACE
42
43#endif // QQUICKEVENTREPLAYCLIENT_P_H
QQmlDebugConnection * connection() const
bool loadEvents(const QString &fileName, qxp::function_ref< void(const QQmlProfilerEventType &, QQmlProfilerEvent &&)> &&handler)
void sendEvent(const QQmlProfilerEventType &type, QQmlProfilerEvent &&event)
Combined button and popup list for selecting options.