KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Private Attributes | Friends | List of all members
KviTranslationEntry Class Reference

The KviTranslationEntry class. More...

#include <KviTranslationEntry.h>

+ Inheritance diagram for KviTranslationEntry:

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
 

Detailed Description

The KviTranslationEntry class.

This class holds the translation

Constructor & Destructor Documentation

KviTranslationEntry::KviTranslationEntry ( char *  pcKey,
int  iKeyLen,
char *  pcTr,
int  iTrLen 
)

Creates an instance of KviTranslationEntry.

Parameters
pcKeyThe string to translate from
iKeyLenThe length of the string
pcTrThe translated string
iTrLenThe length of the translation
Returns
KviTranslationEntry

References m_pTranslation.

KviTranslationEntry::KviTranslationEntry ( const char *  pcKeyAndTr)

Creates an instance of KviTranslationEntry.

Parameters
pcKeyAndTrThe string to translate from
Returns
KviTranslationEntry

References m_pTranslation.

KviTranslationEntry::~KviTranslationEntry ( )

Destroys the instance of KviTranslationEntry and frees all the relevant resources.

References m_pTranslation.

Friends And Related Function Documentation

friend class KviMessageCatalogue
friend

Member Data Documentation

QString* KviTranslationEntry::m_pTranslation
private
KviCString KviTranslationEntry::m_szEncodedTranslation
private
KviCString KviTranslationEntry::m_szKey
private

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