edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
edbee::TextCodecManager Class Reference

The codec manager is used for managing codecs You shouldnt' instantiatie this class, it's better to access the codec manager instantiated via the edbee::Edbee. More...

#include <textcodec.h>

+ Collaboration diagram for edbee::TextCodecManager:

Public Member Functions

 TextCodecManager ()
 The codecmanager constructs This method registeres all codecs available in Qt.
 
 ~TextCodecManager ()
 Cleansup the codec list.
 
void giveTextCodec (TextCodec *codec)
 Registers the given codec. The ownership of this codec is transfered to the codec manager.
 
QList< TextCodec * > codecList ()
 Returns the list with all codecs.
 
TextCodeccodecForName (const QString &name)
 Returns the given codec for the given name.
 

Detailed Description

The codec manager is used for managing codecs You shouldnt' instantiatie this class, it's better to access the codec manager instantiated via the edbee::Edbee.

Constructor & Destructor Documentation

◆ TextCodecManager()

edbee::TextCodecManager::TextCodecManager ( )

The codecmanager constructs This method registeres all codecs available in Qt.

◆ ~TextCodecManager()

edbee::TextCodecManager::~TextCodecManager ( )

Cleansup the codec list.

Member Function Documentation

◆ codecForName()

TextCodec * edbee::TextCodecManager::codecForName ( const QString & name)

Returns the given codec for the given name.

Parameters
namethe name of the codec to search
Returns
the found codec or 0 if not found

◆ codecList()

QList< TextCodec * > edbee::TextCodecManager::codecList ( )

Returns the list with all codecs.

◆ giveTextCodec()

void edbee::TextCodecManager::giveTextCodec ( TextCodec * codec)

Registers the given codec. The ownership of this codec is transfered to the codec manager.

Parameters
codecthe codec to register.

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