1 | // Copyright (C) 2018 The Qt Company Ltd. |
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #ifndef VIRTUALKEYBOARDDEBUG_H |
5 | #define VIRTUALKEYBOARDDEBUG_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 <QDebug> |
19 | #include <QLoggingCategory> |
20 | #include <private/qglobal_p.h> |
21 | |
22 | QT_BEGIN_NAMESPACE |
23 | namespace QtVirtualKeyboard { |
24 | |
25 | Q_DECLARE_LOGGING_CATEGORY(qlcVirtualKeyboard) |
26 | |
27 | // See config.pri for SENSITIVE_DEBUG. |
28 | |
29 | #define VIRTUALKEYBOARD_DEBUG() qCDebug(qlcVirtualKeyboard) |
30 | #define VIRTUALKEYBOARD_WARN() qCWarning(qlcVirtualKeyboard) |
31 | |
32 | } // namespace QtVirtualKeyboard |
33 | QT_END_NAMESPACE |
34 | |
35 | #endif // VIRTUALKEYBOARDDEBUG_H |
36 | |