Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/QtCore/qttranslation.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // Copyright (C) 2022 The Qt Company Ltd.
0002 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
0003 
0004 #ifndef QTTRANSLATION_H
0005 #define QTTRANSLATION_H
0006 
0007 #include <QtCore/qtconfigmacros.h> // QT_NO_TRANSLATION should be defined here as well
0008 #include <QtCore/qtcoreexports.h>
0009 
0010 #if 0
0011 #pragma qt_class(QtTranslation)
0012 #pragma qt_sync_stop_processing
0013 #endif
0014 
0015 QT_BEGIN_NAMESPACE
0016 
0017 class QString;
0018 
0019 #define QT_TR_NOOP(x) x
0020 #define QT_TR_NOOP_UTF8(x) x
0021 #define QT_TRANSLATE_NOOP(scope, x) x
0022 #define QT_TRANSLATE_NOOP_UTF8(scope, x) x
0023 #define QT_TRANSLATE_NOOP3(scope, x, comment) {x, comment}
0024 #define QT_TRANSLATE_NOOP3_UTF8(scope, x, comment) {x, comment}
0025 
0026 #ifndef QT_NO_TRANSLATION
0027 
0028 #define QT_TR_N_NOOP(x) x
0029 #define QT_TRANSLATE_N_NOOP(scope, x) x
0030 #define QT_TRANSLATE_N_NOOP3(scope, x, comment) {x, comment}
0031 
0032 // Defined in qcoreapplication.cpp
0033 // The better name qTrId() is reserved for an upcoming function which would
0034 // return a much more powerful QStringFormatter instead of a QString.
0035 Q_CORE_EXPORT QString qtTrId(const char *id, int n = -1);
0036 
0037 #define QT_TRID_NOOP(id) id
0038 #define QT_TRID_N_NOOP(id) id
0039 
0040 QT_END_NAMESPACE
0041 
0042 #endif // QT_NO_TRANSLATION
0043 
0044 #endif /* QTTRANSLATION_H */