API Documentation
Loading...
Searching...
No Matches
QCustomTranslator Class Reference

Allows QT to call into the native application translator when needed to translate UI auto-generated items. More...

#include <QCustomTranslator.h>

Inheritance diagram for QCustomTranslator:
[legend]
Collaboration diagram for QCustomTranslator:
[legend]

Public Member Functions

virtual QString translate (const char *context, const char *sourceText, const char *disambiguation=nullptr, int n=-1) const override
 

Static Public Member Functions

static QCustomTranslatorMainTranslator ()
 

Detailed Description

Allows QT to call into the native application translator when needed to translate UI auto-generated items.


Member Function Documentation

◆ MainTranslator()

static QCustomTranslator * MainTranslator ( )
inlinestatic

◆ translate()

virtual QString translate ( const char * context,
const char * sourceText,
const char * disambiguation = nullptr,
int n = -1 ) const
inlineoverridevirtual

The documentation for this class was generated from the following file: