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
qqmlprofilerclient_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 QQMLPROFILERCLIENT_P_H
6#define QQMLPROFILERCLIENT_P_H
7
12
13#include <private/qpacket_p.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 QQmlProfilerClientPrivate;
30{
31 Q_OBJECT
32 Q_DECLARE_PRIVATE(QQmlProfilerClient)
34
35public:
39
40 bool isRecording() const;
41 void setRecording(bool);
43 virtual void messageReceived(const QByteArray &) override;
44
45 void clearEvents();
46 void clearAll();
47
48 void sendRecordingStatus(int engineId = -1);
49 void setRequestedFeatures(quint64 features);
50 void setFlushInterval(quint32 flushInterval);
51
52protected:
53 QQmlProfilerClient(QQmlProfilerClientPrivate &dd);
54 void onStateChanged(State status);
55
58 void traceFinished(qint64 timestamp, const QList<int> &engineIds);
59 void traceStarted(qint64 timestamp, const QList<int> &engineIds);
60
61 void recordingChanged(bool arg);
62 void recordedFeaturesChanged(quint64 features);
63
64 void cleared();
65};
66
67QT_END_NAMESPACE
68
69#endif // QQMLPROFILERCLIENT_P_H
void setFlushInterval(quint32 flushInterval)
quint64 recordedFeatures() const
void traceFinished(qint64 timestamp, const QList< int > &engineIds)
void setRequestedFeatures(quint64 features)
void recordedFeaturesChanged(quint64 features)
void traceStarted(qint64 timestamp, const QList< int > &engineIds)
virtual void messageReceived(const QByteArray &) override
void recordingChanged(bool arg)
QQmlProfilerClient(QQmlProfilerClientPrivate &dd)
void onStateChanged(State status)
void sendRecordingStatus(int engineId=-1)
Combined button and popup list for selecting options.