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

source code of qtbase/src/corelib/kernel/qtranslator_p.h