Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qqmlprofilereventreceiver_p.h
Go to the documentation of this file.
1
// Copyright (C) 2017 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
QQMLPROFILEREVENTRECEIVER_P_H
6
#
define
QQMLPROFILEREVENTRECEIVER_P_H
7
8
#
include
"qqmlprofilerevent_p.h"
9
#
include
"qqmlprofilereventtype_p.h"
10
11
#
include
<
QtCore
/
qobject
.
h
>
12
13
//
14
// W A R N I N G
15
// -------------
16
//
17
// This file is not part of the Qt API. It exists purely as an
18
// implementation detail. This header file may change from version to
19
// version without notice, or even be removed.
20
//
21
// We mean it.
22
//
23
24
QT_BEGIN_NAMESPACE
25
26
class
QQmlProfilerEventReceiver :
public
QObject
27
{
28
Q_OBJECT
29
public
:
30
explicit
QQmlProfilerEventReceiver(QObject *parent =
nullptr
) : QObject(parent) {}
31
~QQmlProfilerEventReceiver() override;
32
33
virtual
qsizetype numLoadedEventTypes()
const
= 0;
34
virtual
qsizetype numLoadedEvents()
const
= 0;
35
virtual
void
addEventType(
const
QQmlProfilerEventType &type) = 0;
36
virtual
void
addEvent(
const
QQmlProfilerEvent &event) = 0;
37
virtual
void
clear() = 0;
38
39
virtual
bool
save(
const
QString &filename);
40
41
bool
isEmpty()
const
{
return
numLoadedEvents() == 0; };
42
43
public
Q_SLOTS:
44
virtual
void
startTrace(qint64 time,
const
QList<
int
> &engineIds);
45
virtual
void
endTrace(qint64 time,
const
QList<
int
> &engineIds);
46
virtual
void
complete(qint64 maximumTime);
47
48
Q_SIGNALS:
49
void
error(
const
QString &error);
50
void
dataReady();
51
52
protected
:
53
QQmlProfilerEventReceiver(QObjectPrivate &dd, QObject *parent);
54
};
55
56
QT_END_NAMESPACE
57
58
#
endif
// QQMLPROFILEREVENTRECEIVER_P_H
QQmlDebugClient
Definition
qqmldebugclient_p.h:27
QQmlDebugConnection
Definition
qqmldebugconnection_p.h:28
QQmlProfilerClient
Definition
qqmlprofilerclient_p.h:31
QQmlProfilerClient::setFlushInterval
void setFlushInterval(quint32 flushInterval)
Definition
qqmlprofilerclient.cpp:271
QQmlProfilerClient::recordedFeatures
quint64 recordedFeatures() const
Definition
qqmlprofilerclient.cpp:231
QQmlProfilerClient::isRecording
bool isRecording() const
Definition
qqmlprofilerclient.cpp:211
QQmlProfilerClient::traceFinished
void traceFinished(qint64 timestamp, const QList< int > &engineIds)
QQmlProfilerClient::setRequestedFeatures
void setRequestedFeatures(quint64 features)
Definition
qqmlprofilerclient.cpp:252
QQmlProfilerClient::clearEvents
void clearEvents()
Definition
qqmlprofilerclient.cpp:171
QQmlProfilerClient::cleared
void cleared()
QQmlProfilerClient::recordedFeaturesChanged
void recordedFeaturesChanged(quint64 features)
QQmlProfilerClient::traceStarted
void traceStarted(qint64 timestamp, const QList< int > &engineIds)
QQmlProfilerClient::clearAll
void clearAll()
Definition
qqmlprofilerclient.cpp:184
QQmlProfilerClient::messageReceived
virtual void messageReceived(const QByteArray &) override
Definition
qqmlprofilerclient.cpp:309
QQmlProfilerClient::recordingChanged
void recordingChanged(bool arg)
QQmlProfilerClient::QQmlProfilerClient
QQmlProfilerClient(QQmlProfilerClientPrivate &dd)
Definition
qqmlprofilerclient.cpp:277
QQmlProfilerClient::setRecording
void setRecording(bool)
Definition
qqmlprofilerclient.cpp:217
QQmlProfilerClient::onStateChanged
void onStateChanged(State status)
Definition
qqmlprofilerclient.cpp:298
QQmlProfilerClient::sendRecordingStatus
void sendRecordingStatus(int engineId=-1)
Definition
qqmlprofilerclient.cpp:205
QQmlProfilerClient::~QQmlProfilerClient
~QQmlProfilerClient()
Definition
qqmlprofilerclient.cpp:163
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
ProfileDebugMessages
@ ProfileDebugMessages
Definition
qqmlprofilerclientdefinitions_p.h:123
operator<<
QDataStream & operator<<(QDataStream &stream, const QQmlProfilerEventLocation &location)
Definition
qqmlprofilereventlocation.cpp:16
Q_DECLARE_TYPEINFO
Q_DECLARE_TYPEINFO(QQmlProfilerEventLocation, Q_RELOCATABLE_TYPE)
operator!=
bool operator!=(const QQmlProfilerEventLocation &location1, const QQmlProfilerEventLocation &location2)
Definition
qqmlprofilereventlocation_p.h:69
operator==
bool operator==(const QQmlProfilerEventLocation &location1, const QQmlProfilerEventLocation &location2)
Definition
qqmlprofilereventlocation_p.h:61
operator>>
QDataStream & operator>>(QDataStream &stream, QQmlProfilerEventLocation &location)
Definition
qqmlprofilereventlocation.cpp:11
QQmlDebugContextInfo
Definition
qqmldebugmessageclient_p.h:24
qtdeclarative
src
qmldebug
qqmlprofilereventreceiver_p.h
Generated on
for Qt by
1.18.0