|
QGIS API Documentation
3.18.1-Zürich (202f1bf7e5)
|
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. More... | |
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.