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
qqmldebugmessageclient_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
4
#
ifndef
QQMLDEBUGMESSAGECLIENT_P_H
5
#
define
QQMLDEBUGMESSAGECLIENT_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
20
QT_BEGIN_NAMESPACE
21
22
struct
QQmlDebugContextInfo
23
{
24
int
line
;
25
QString
file
;
26
QString
function
;
27
QString
category
;
28
qint64
timestamp
;
29
};
30
31
class
QQmlDebugMessageClient
:
public
QQmlDebugClient
32
{
33
Q_OBJECT
34
35
public
:
36
explicit
QQmlDebugMessageClient
(
QQmlDebugConnection
*
client
);
37
38
virtual
void
messageReceived
(
const
QByteArray &)
override
;
39
40
Q_SIGNALS
:
41
void
message
(
QtMsgType
,
const
QString
&,
const
QQmlDebugContextInfo
&);
42
};
43
44
QT_END_NAMESPACE
45
46
#
endif
// QQMLDEBUGMESSAGECLIENT_P_H
QQmlDebugClient
Definition
qqmldebugclient_p.h:26
QQmlDebugMessageClient
Client for the debug message service.
Definition
qqmldebugmessageclient_p.h:32
QQmlDebugMessageClient::messageReceived
virtual void messageReceived(const QByteArray &) override
Definition
qqmldebugmessageclient.cpp:25
QPlatformGraphicsBufferHelper
\inmodule QtGui
QQmlDebugContextInfo
Definition
qqmldebugmessageclient_p.h:23
QQmlDebugContextInfo::line
int line
Definition
qqmldebugmessageclient_p.h:24
QQmlDebugContextInfo::function
QString function
Definition
qqmldebugmessageclient_p.h:26
QQmlDebugContextInfo::category
QString category
Definition
qqmldebugmessageclient_p.h:27
QQmlDebugContextInfo::file
QString file
Definition
qqmldebugmessageclient_p.h:25
QQmlDebugContextInfo::timestamp
qint64 timestamp
Definition
qqmldebugmessageclient_p.h:28
qtdeclarative
src
qmldebug
qqmldebugmessageclient_p.h
Generated on
for Qt by
1.14.0