Qt
6.x
The Qt SDK
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
QByteArray
\inmodule QtCore
Definition
qbytearray.h:57
QQmlDebugClient
Definition
qqmldebugclient_p.h:26
QQmlDebugConnection
Definition
qqmldebugconnection_p.h:27
QQmlDebugMessageClient
Client for the debug message service.
Definition
qqmldebugmessageclient_p.h:32
QQmlDebugMessageClient::messageReceived
virtual void messageReceived(const QByteArray &) override
Definition
qqmldebugmessageclient.cpp:25
QQmlDebugMessageClient::message
void message(QtMsgType, const QString &, const QQmlDebugContextInfo &)
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:127
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
QtMsgType
QtMsgType
Definition
qlogging.h:29
qqmldebugclient_p.h
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:117
Q_SIGNALS
#define Q_SIGNALS
Definition
qtmetamacros.h:45
qint64
long long qint64
Definition
qtypes.h:55
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 by
1.9.7