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
// Qt-Security score:significant
4
5
#
ifndef
QQMLDEBUGMESSAGECLIENT_P_H
6
#
define
QQMLDEBUGMESSAGECLIENT_P_H
7
8
#
include
"qqmldebugclient_p.h"
9
10
//
11
// W A R N I N G
12
// -------------
13
//
14
// This file is not part of the Qt API. It exists purely as an
15
// implementation detail. This header file may change from version to
16
// version without notice, or even be removed.
17
//
18
// We mean it.
19
//
20
21
QT_BEGIN_NAMESPACE
22
23
struct
QQmlDebugContextInfo
24
{
25
int
line
;
26
QString
file
;
27
QString
function
;
28
QString
category
;
29
qint64
timestamp
;
30
};
31
32
class
QQmlDebugMessageClient
:
public
QQmlDebugClient
33
{
34
Q_OBJECT
35
36
public
:
37
explicit
QQmlDebugMessageClient
(
QQmlDebugConnection
*
client
);
38
39
virtual
void
messageReceived
(
const
QByteArray &)
override
;
40
41
Q_SIGNALS
:
42
void
message
(
QtMsgType
,
const
QString
&,
const
QQmlDebugContextInfo
&);
43
};
44
45
QT_END_NAMESPACE
46
47
#
endif
// QQMLDEBUGMESSAGECLIENT_P_H
QQmlDebugClient
Definition
qqmldebugclient_p.h:27
QQmlDebugMessageClient
Client for the debug message service.
Definition
qqmldebugmessageclient_p.h:33
QQmlDebugMessageClient::messageReceived
virtual void messageReceived(const QByteArray &) override
Definition
qqmldebugmessageclient.cpp:26
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
QQmlDebugContextInfo
Definition
qqmldebugmessageclient_p.h:24
QQmlDebugContextInfo::line
int line
Definition
qqmldebugmessageclient_p.h:25
QQmlDebugContextInfo::function
QString function
Definition
qqmldebugmessageclient_p.h:27
QQmlDebugContextInfo::category
QString category
Definition
qqmldebugmessageclient_p.h:28
QQmlDebugContextInfo::file
QString file
Definition
qqmldebugmessageclient_p.h:26
QQmlDebugContextInfo::timestamp
qint64 timestamp
Definition
qqmldebugmessageclient_p.h:29
qtdeclarative
src
qmldebug
qqmldebugmessageclient_p.h
Generated on
for Qt by
1.14.0