File indexing completed on 2026-09-17 09:25:17
0001
0002
0003
0004
0005 #ifndef QTTRANSLATION_H
0006 #define QTTRANSLATION_H
0007
0008 #include <QtCore/qtconfigmacros.h> // QT_NO_TRANSLATION should be defined here as well
0009 #include <QtCore/qtcoreexports.h>
0010
0011 #if 0
0012 #pragma qt_class(QtTranslation)
0013 #pragma qt_sync_stop_processing
0014 #endif
0015
0016 QT_BEGIN_NAMESPACE
0017
0018 class QString;
0019
0020 #define QT_TR_NOOP(x) x
0021 #define QT_TR_NOOP_UTF8(x) x
0022 #define QT_TRANSLATE_NOOP(scope, x) x
0023 #define QT_TRANSLATE_NOOP_UTF8(scope, x) x
0024 #define QT_TRANSLATE_NOOP3(scope, x, comment) {x, comment}
0025 #define QT_TRANSLATE_NOOP3_UTF8(scope, x, comment) {x, comment}
0026
0027 #ifndef QT_NO_TRANSLATION
0028
0029 #define QT_TR_N_NOOP(x) x
0030 #define QT_TRANSLATE_N_NOOP(scope, x) x
0031 #define QT_TRANSLATE_N_NOOP3(scope, x, comment) {x, comment}
0032
0033
0034 Q_CORE_EXPORT QString qtTrId(const char *id, int n = -1);
0035
0036 #define QT_TRID_NOOP(id) id
0037 #define QT_TRID_N_NOOP(id) id
0038
0039 #endif
0040
0041 QT_END_NAMESPACE
0042
0043 #endif