KVIrc
4.9.2
DeveloperAPIs
|
The KviTranslationEntry class. More...
#include <KviTranslationEntry.h>
Public Member Functions | |
KviTranslationEntry (char *pcKey, int iKeyLen, char *pcTr, int iTrLen) | |
Creates an instance of KviTranslationEntry. More... | |
KviTranslationEntry (const char *pcKeyAndTr) | |
Creates an instance of KviTranslationEntry. More... | |
~KviTranslationEntry () | |
Destroys the instance of KviTranslationEntry and frees all the relevant resources. More... | |
Private Attributes | |
QString * | m_pTranslation |
KviCString | m_szEncodedTranslation |
KviCString | m_szKey |
Friends | |
class | KviMessageCatalogue |
The KviTranslationEntry class.
This class holds the translation
KviTranslationEntry::KviTranslationEntry | ( | char * | pcKey, |
int | iKeyLen, | ||
char * | pcTr, | ||
int | iTrLen | ||
) |
Creates an instance of KviTranslationEntry.
pcKey | The string to translate from |
iKeyLen | The length of the string |
pcTr | The translated string |
iTrLen | The length of the translation |
References m_pTranslation.
KviTranslationEntry::KviTranslationEntry | ( | const char * | pcKeyAndTr | ) |
Creates an instance of KviTranslationEntry.
pcKeyAndTr | The string to translate from |
References m_pTranslation.
KviTranslationEntry::~KviTranslationEntry | ( | ) |
Destroys the instance of KviTranslationEntry and frees all the relevant resources.
References m_pTranslation.
|
friend |
|
private |
Referenced by KviTranslationEntry(), KviMessageCatalogue::translateToQString(), and ~KviTranslationEntry().
|
private |
|
private |
Referenced by KviMessageCatalogue::load(), and KviMessageCatalogue::translateToQString().