Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qttranslation.h File Reference

(9d1e9285129b4c65c978c806bb839798ace61a60)

#include <QtCore/qtconfigmacros.h>
#include <QtCore/qtcoreexports.h>
+ Include dependency graph for qttranslation.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define QT_TR_NOOP(x)   x
 
#define QT_TR_NOOP_UTF8(x)   x
 
#define QT_TRANSLATE_NOOP(scope, x)   x
 
#define QT_TRANSLATE_NOOP_UTF8(scope, x)   x
 
#define QT_TRANSLATE_NOOP3(scope, x, comment)   {x, comment}
 
#define QT_TRANSLATE_NOOP3_UTF8(scope, x, comment)   {x, comment}
 
#define QT_TR_N_NOOP(x)   x
 
#define QT_TRANSLATE_N_NOOP(scope, x)   x
 
#define QT_TRANSLATE_N_NOOP3(scope, x, comment)   {x, comment}
 
#define QT_TRID_NOOP(id)   id
 
#define QT_TRID_N_NOOP(id)   id
 

Functions

Q_CORE_EXPORT QString qtTrId (const char *id, int n=-1)
 

Macro Definition Documentation

◆ QT_TR_N_NOOP

#define QT_TR_N_NOOP ( x)    x

Definition at line 28 of file qttranslation.h.

◆ QT_TR_NOOP

#define QT_TR_NOOP ( x)    x

Definition at line 19 of file qttranslation.h.

◆ QT_TR_NOOP_UTF8

#define QT_TR_NOOP_UTF8 ( x)    x

Definition at line 20 of file qttranslation.h.

◆ QT_TRANSLATE_N_NOOP

#define QT_TRANSLATE_N_NOOP ( scope,
x )   x

Definition at line 29 of file qttranslation.h.

◆ QT_TRANSLATE_N_NOOP3

#define QT_TRANSLATE_N_NOOP3 ( scope,
x,
comment )   {x, comment}

Definition at line 30 of file qttranslation.h.

◆ QT_TRANSLATE_NOOP

◆ QT_TRANSLATE_NOOP3

#define QT_TRANSLATE_NOOP3 ( scope,
x,
comment )   {x, comment}

Definition at line 23 of file qttranslation.h.

◆ QT_TRANSLATE_NOOP3_UTF8

#define QT_TRANSLATE_NOOP3_UTF8 ( scope,
x,
comment )   {x, comment}

Definition at line 24 of file qttranslation.h.

◆ QT_TRANSLATE_NOOP_UTF8

#define QT_TRANSLATE_NOOP_UTF8 ( scope,
x )   x

Definition at line 22 of file qttranslation.h.

◆ QT_TRID_N_NOOP

#define QT_TRID_N_NOOP ( id)    id

Definition at line 38 of file qttranslation.h.

◆ QT_TRID_NOOP

#define QT_TRID_NOOP ( id)    id

Definition at line 37 of file qttranslation.h.

Function Documentation

◆ qtTrId()

Q_CORE_EXPORT QString qtTrId ( const char * id,
int n = -1 )

Definition at line 2388 of file qcoreapplication.cpp.

References QCoreApplication::translate().

Referenced by QQmlTranslation::QsTrIdData::translate(), and QV4::ExecutableCompilationUnit::translateFrom().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: