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
qdebugmessageservice.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 QDEBUGMESSAGESERVICE_H
5#define QDEBUGMESSAGESERVICE_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <private/qqmldebugserviceinterfaces_p.h>
19
20#include <QtCore/qlogging.h>
21#include <QtCore/qmutex.h>
22#include <QtCore/qelapsedtimer.h>
23
25
27{
29public:
30 QDebugMessageServiceImpl(QObject *parent = nullptr);
31
33 void synchronizeTime(const QElapsedTimer &otherTimer) override;
34
35protected:
36 void stateChanged(State) override;
37
38private:
40
41 QtMessageHandler oldMsgHandler;
43 QMutex initMutex;
45};
46
48
49#endif // QDEBUGMESSAGESERVICE_H
void synchronizeTime(const QElapsedTimer &otherTimer) override
void sendDebugMessage(QtMsgType type, const QMessageLogContext &ctxt, const QString &buf)
QDebugMessageServiceImpl(QObject *parent=nullptr)
void stateChanged(State) override
\inmodule QtCore
\inmodule QtCore
Definition qlogging.h:42
\inmodule QtCore
Definition qmutex.h:281
\inmodule QtCore
Definition qobject.h:103
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
QtMsgType
Definition qlogging.h:29
void(* QtMessageHandler)(QtMsgType, const QMessageLogContext &, const QString &)
Definition qlogging.h:191
GLenum type
GLenum GLuint GLenum GLsizei const GLchar * buf
#define Q_OBJECT
QTimer * timer
[3]