1QTextDecoder(3qt)                                            QTextDecoder(3qt)
2
3
4

NAME

6       QTextDecoder - State-based decoder
7

SYNOPSIS

9       All the functions in this class are reentrant when Qt is built with
10       thread support.</p>
11
12       #include <qtextcodec.h>
13
14   Public Members
15       virtual ~QTextDecoder ()
16       virtual QString toUnicode ( const char * chars, int len ) = 0
17

DESCRIPTION

19       The QTextDecoder class provides a state-based decoder.
20
21       The decoder converts a text format into Unicode, remembering any state
22       that is required between calls.
23
24       See also QTextCodec::makeEncoder() and Internationalization with Qt.
25

MEMBER FUNCTION DOCUMENTATION

QTextDecoder::~QTextDecoder () [virtual]

28       Destroys the decoder.
29

QString QTextDecoder::toUnicode ( const char * chars, int len ) [pure virtual]

31
32       Converts the first len bytes in chars to Unicode, returning the result.
33
34       If not all characters are used (e.g. if only part of a multi-byte
35       encoding is at the end of the characters), the decoder remembers enough
36       state to continue with the next call to this function.
37
38

SEE ALSO

40       http://doc.trolltech.com/qtextdecoder.html
41       http://www.trolltech.com/faq/tech.html
42
44       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
45       license file included in the distribution for a complete license
46       statement.
47

AUTHOR

49       Generated automatically from the source code.
50

BUGS

52       If you find a bug in Qt, please report it as described in
53       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
54       help you. Thank you.
55
56       The definitive Qt documentation is provided in HTML format; it is
57       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
58       web browser. This man page is provided as a convenience for those users
59       who prefer man pages, although this format is not officially supported
60       by Trolltech.
61
62       If you find errors in this manual page, please report them to qt-
63       bugs@trolltech.com.  Please include the name of the manual page
64       (qtextdecoder.3qt) and the Qt version (3.3.8).
65
66
67
68Trolltech AS                    2 February 2007              QTextDecoder(3qt)
Impressum