| 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 QTRANSLATOR_P_H |
| 5 | #define QTRANSLATOR_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 for the convenience |
| 12 | // of the Qt translation tools. This header file may change from version |
| 13 | // to version without notice, or even be removed. |
| 14 | // |
| 15 | // We mean it. |
| 16 | // |
| 17 | |
| 18 | #include <QtCore/private/qglobal_p.h> |
| 19 | |
| 20 | enum { |
| 21 | Q_EQ = 0x01, |
| 22 | Q_LT = 0x02, |
| 23 | Q_LEQ = 0x03, |
| 24 | Q_BETWEEN = 0x04, |
| 25 | |
| 26 | Q_NOT = 0x08, |
| 27 | Q_MOD_10 = 0x10, |
| 28 | Q_MOD_100 = 0x20, |
| 29 | Q_LEAD_1000 = 0x40, |
| 30 | |
| 31 | Q_AND = 0xFD, |
| 32 | Q_OR = 0xFE, |
| 33 | Q_NEWRULE = 0xFF, |
| 34 | |
| 35 | Q_OP_MASK = 0x07, |
| 36 | |
| 37 | Q_NEQ = Q_NOT | Q_EQ, |
| 38 | Q_GT = Q_NOT | Q_LEQ, |
| 39 | Q_GEQ = Q_NOT | Q_LT, |
| 40 | Q_NOT_BETWEEN = Q_NOT | Q_BETWEEN |
| 41 | }; |
| 42 | |
| 43 | #endif |
| 44 | |