KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | List of all members
KviTranslator Class Reference

The KviTranslator class. More...

#include <KviTranslator.h>

+ Inheritance diagram for KviTranslator:

Public Member Functions

 KviTranslator (QObject *pParent)
 Creates an instance of KviTranslator. More...
 
virtual QString translate (const char *pcContext, const char *pcMessage, const char *pcComment) const
 Decodes the string and returns the current one. More...
 
virtual ~KviTranslator ()
 Destroys the instance of KviTranslator and frees all the relevant resources. More...
 

Detailed Description

The KviTranslator class.

Constructor & Destructor Documentation

KviTranslator::KviTranslator ( QObject *  pParent)

Creates an instance of KviTranslator.

Parameters
pParentThe parent object
Returns
KviTranslator
KviTranslator::~KviTranslator ( )
virtualdefault

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

Member Function Documentation

QString KviTranslator::translate ( const char *  pcContext,
const char *  pcMessage,
const char *  pcComment 
) const
virtual

Decodes the string and returns the current one.

Parameters
pcContextContext of Qt translation. Unused by us
pcMessageThe message to translate
pcCommentComment of Qt translation. Unused by us
Returns
QString

References g_pMainCatalogue, and KviMessageCatalogue::translateToQString().


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