KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
KviSmartTextCodec Class Reference
+ Inheritance diagram for KviSmartTextCodec:

Public Member Functions

 KviSmartTextCodec (const char *szName, QTextCodec *pChildCodec, bool bSendInUtf8)
 
int mibEnum () const override
 
QByteArray name () const override
 
bool ok ()
 

Protected Member Functions

QByteArray convertFromUnicode (const QChar *input, int number, ConverterState *state) const override
 
QString convertToUnicode (const char *chars, int len, ConverterState *state) const override
 

Private Attributes

QTextCodec * m_pRecvCodec
 
QTextCodec * m_pSendCodec
 
QByteArray m_szName
 

Constructor & Destructor Documentation

KviSmartTextCodec::KviSmartTextCodec ( const char *  szName,
QTextCodec *  pChildCodec,
bool  bSendInUtf8 
)
inline

Member Function Documentation

QByteArray KviSmartTextCodec::convertFromUnicode ( const QChar *  input,
int  number,
ConverterState *  state 
) const
inlineoverrideprotected

References m_pSendCodec.

QString KviSmartTextCodec::convertToUnicode ( const char *  chars,
int  len,
ConverterState *  state 
) const
inlineoverrideprotected
int KviSmartTextCodec::mibEnum ( ) const
inlineoverride
QByteArray KviSmartTextCodec::name ( ) const
inlineoverride

References m_szName.

bool KviSmartTextCodec::ok ( )
inline

References g_pUtf8TextCodec, and m_pRecvCodec.

Referenced by KviLocale::codecForName().

Member Data Documentation

QTextCodec* KviSmartTextCodec::m_pRecvCodec
private
QTextCodec* KviSmartTextCodec::m_pSendCodec
private
QByteArray KviSmartTextCodec::m_szName
private

Referenced by KviSmartTextCodec(), and name().


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