QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
|
Wherever an object of this class is available, the derived translate function can be called from. More...
#include <qgsprojecttranslator.h>
Public Member Functions | |
virtual | ~QgsProjectTranslator ()=default |
virtual QString | translate (const QString &context, const QString &sourceText, const char *disambiguation=nullptr, int n=-1) const =0 |
The derived translate() translates with QTranslator and qm file the sourceText. | |
Wherever an object of this class is available, the derived translate function can be called from.
Definition at line 30 of file qgsprojecttranslator.h.
|
virtualdefault |
|
pure virtual |
The derived translate() translates with QTranslator and qm file the sourceText.
It
context | describing layer etc. |
sourceText | is the identifier of this text |
disambiguation | it's the disambiguation |
n | if -1 uses the appropriate form |
Implemented in QgsProject.