![]() |
KVIrc 5.2.4
Developer APIs
|
The KviTranslator class. More...
#include <KviTranslator.h>
Public Member Functions | |
KviTranslator (QObject *pParent) | |
Creates an instance of KviTranslator. | |
QString | translate (const char *pcContext, const char *pcMessage, const char *pcComment, int n=-1) const override |
Decodes the string and returns the current one. | |
virtual | ~KviTranslator () |
Destroys the instance of KviTranslator and frees all the relevant resources. | |
The KviTranslator class.
KviTranslator::KviTranslator | ( | QObject * | pParent | ) |
|
virtualdefault |
Destroys the instance of KviTranslator and frees all the relevant resources.
|
override |
Decodes the string and returns the current one.
pcContext | Context of Qt translation. Unused by us |
pcMessage | The message to translate |
pcComment | Comment of Qt translation. Unused by us |
References g_pMainCatalogue, and KviMessageCatalogue::translateToQString().