• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

okteta

  • Okteta
  • TextCharCodec
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Okteta::TextCharCodec Class Reference

#include <textcharcodec.h>

Inheritance diagram for Okteta::TextCharCodec:
Inheritance graph
[legend]

Public Member Functions

virtual ~TextCharCodec ()
 
virtual bool canEncode (const QChar &_char) const
 
virtual Character decode (Byte byte) const
 
virtual bool encode (Byte *byte, const QChar &_char) const
 
virtual const QString & name () const
 
- Public Member Functions inherited from Okteta::CharCodec
virtual ~CharCodec ()
 

Static Public Member Functions

static const QStringList & codecNames ()
 
static TextCharCodec * createCodec (const QString &codeName)
 
static TextCharCodec * createCodec (CharCoding charCoding)
 
static TextCharCodec * createLocalCodec ()
 
- Static Public Member Functions inherited from Okteta::CharCodec
static const QStringList & codecNames ()
 
static CharCodec * createCodec (CharCoding charCoding)
 
static CharCodec * createCodec (const QString &name)
 

Protected Member Functions

 TextCharCodec (QTextCodec *textCodec)
 

Protected Attributes

QTextCodec * mCodec
 
QTextDecoder * mDecoder
 
QTextEncoder * mEncoder
 
QString mName
 

Detailed Description

Definition at line 40 of file textcharcodec.h.

Constructor & Destructor Documentation

Okteta::TextCharCodec::TextCharCodec ( QTextCodec *  textCodec)
protected

Definition at line 219 of file textcharcodec.cpp.

Okteta::TextCharCodec::~TextCharCodec ( )
virtual

Definition at line 266 of file textcharcodec.cpp.

Member Function Documentation

bool Okteta::TextCharCodec::canEncode ( const QChar &  _char) const
virtual

Implements Okteta::CharCodec.

Definition at line 226 of file textcharcodec.cpp.

const QStringList & Okteta::TextCharCodec::codecNames ( )
static

Definition at line 197 of file textcharcodec.cpp.

TextCharCodec * Okteta::TextCharCodec::createCodec ( const QString &  codeName)
static

Definition at line 187 of file textcharcodec.cpp.

static TextCharCodec* Okteta::TextCharCodec::createCodec ( CharCoding  charCoding)
static
TextCharCodec * Okteta::TextCharCodec::createLocalCodec ( )
static

Definition at line 178 of file textcharcodec.cpp.

Character Okteta::TextCharCodec::decode ( Byte  byte) const
virtual

Implements Okteta::CharCodec.

Definition at line 246 of file textcharcodec.cpp.

bool Okteta::TextCharCodec::encode ( Byte *  byte,
const QChar &  _char 
) const
virtual

Implements Okteta::CharCodec.

Definition at line 231 of file textcharcodec.cpp.

const QString & Okteta::TextCharCodec::name ( ) const
virtual

Implements Okteta::CharCodec.

Definition at line 258 of file textcharcodec.cpp.

Member Data Documentation

QTextCodec* Okteta::TextCharCodec::mCodec
protected

Definition at line 61 of file textcharcodec.h.

QTextDecoder* Okteta::TextCharCodec::mDecoder
protected

decodes the chars to unicode

Definition at line 63 of file textcharcodec.h.

QTextEncoder* Okteta::TextCharCodec::mEncoder
protected

encodes the chars from unicode

Definition at line 65 of file textcharcodec.h.

QString Okteta::TextCharCodec::mName
mutableprotected

Definition at line 67 of file textcharcodec.h.


The documentation for this class was generated from the following files:
  • textcharcodec.h
  • textcharcodec.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okteta

Skip menu "okteta"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal