edbee - Qt Editor Library
|
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>
Public Member Functions | |
TextCodecManager () | |
The codecmanager constructs This method registeres all codecs available in Qt. More... | |
~TextCodecManager () | |
Cleansup the codec list. More... | |
void | giveTextCodec (TextCodec *codec) |
Registers the given codec. The ownership of this codec is transfered to the codec manger. More... | |
QList< TextCodec * > | codecList () |
Returns the list with all codecs. More... | |
TextCodec * | codecForName (const QString &name) |
Returns the given codec for the given name. More... | |
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.
edbee::TextCodecManager::TextCodecManager | ( | ) |
The codecmanager constructs This method registeres all codecs available in Qt.
edbee::TextCodecManager::~TextCodecManager | ( | ) |
Cleansup the codec list.
TextCodec * edbee::TextCodecManager::codecForName | ( | const QString & | name | ) |
Returns the given codec for the given name.
name | the name of the codec to search |
QList< TextCodec * > edbee::TextCodecManager::codecList | ( | ) |
Returns the list with all codecs.
void edbee::TextCodecManager::giveTextCodec | ( | TextCodec * | codec | ) |
Registers the given codec. The ownership of this codec is transfered to the codec manger.
codec | the codec to register. |