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
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
4#ifndef QQMLPROFILERCLIENT_P_H
5#define QQMLPROFILERCLIENT_P_H
6
7#include "qqmldebugclient_p.h"
11
12#include <private/qpacket_p.h>
13
14//
15// W A R N I N G
16// -------------
17//
18// This file is not part of the Qt API. It exists purely as an
19// implementation detail. This header file may change from version to
20// version without notice, or even be removed.
21//
22// We mean it.
23//
24
26
29{
31 Q_DECLARE_PRIVATE(QQmlProfilerClient)
33
34public:
36 quint64 features = std::numeric_limits<quint64>::max());
38
39 bool isRecording() const;
40 void setRecording(bool);
42 virtual void messageReceived(const QByteArray &) override;
43
44 void clearEvents();
45 void clearAll();
46
47 void sendRecordingStatus(int engineId = -1);
48 void setRequestedFeatures(quint64 features);
49 void setFlushInterval(quint32 flushInterval);
50
51protected:
53 void onStateChanged(State status);
54
56 void complete(qint64 maximumTime);
57 void traceFinished(qint64 timestamp, const QList<int> &engineIds);
58 void traceStarted(qint64 timestamp, const QList<int> &engineIds);
59
62
63 void cleared();
64};
65
67
68#endif // QQMLPROFILERCLIENT_P_H
\inmodule QtCore
Definition qbytearray.h:57
Definition qlist.h:75
QQmlDebugConnection * connection() const
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)
void onStateChanged(State status)
void sendRecordingStatus(int engineId=-1)
void complete(qint64 maximumTime)
Combined button and popup list for selecting options.
SSL_CTX int void * arg
#define Q_PROPERTY(...)
#define Q_OBJECT
#define Q_SIGNALS
unsigned int quint32
Definition qtypes.h:50
unsigned long long quint64
Definition qtypes.h:61
long long qint64
Definition qtypes.h:60