1 | // Copyright (C) 2020 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 QSIGNALDUMPER_P_H |
5 | #define QSIGNALDUMPER_P_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/qglobal_p.h> |
19 | |
20 | QT_BEGIN_NAMESPACE |
21 | |
22 | class QByteArray; |
23 | |
24 | class QSignalDumper |
25 | { |
26 | public: |
27 | static void setEnabled(bool); |
28 | static void startDump(); |
29 | static void endDump(); |
30 | |
31 | static void ignoreClass(const QByteArray &klass); |
32 | static void clearIgnoredClasses(); |
33 | private: |
34 | static bool s_isEnabled; |
35 | }; |
36 | |
37 | QT_END_NAMESPACE |
38 | |
39 | #endif |
40 | |