- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions

# QTextEncoder Class Reference

Search for all occurrences

## Detailed Description

Definition at line 160 of file qtextcodec.h.

`#include <qtextcodec.h>`

List of all members.

## Public Member Functions
| QTextEncoder (const QTextCodec *codec)
| QTextEncoder (const QTextCodec *codec, QTextCodec::ConversionFlags flags)
| ~QTextEncoder ()
QByteArray | fromUnicode (const QString &str)
QByteArray | fromUnicode (const QChar *uc, int len)
bool | hasFailure () const

## Constructor & Destructor Documentation

QTextEncoder | ( | const QTextCodec * | codec | ) | `[inline, explicit]`

Definition at line 163 of file qtextcodec.h.

    : c(codec), state() {}

QTextEncoder | ( | const QTextCodec * | codec,
|  | QTextCodec::ConversionFlags | flags
| ) |  |

~QTextEncoder | ( |  | ) |

## Member Function Documentation

QByteArray fromUnicode | ( | const QString & | str | ) |

Search for all occurrences

QByteArray fromUnicode | ( | const QChar * | uc,
|  | int | len
| ) |  |

Search for all occurrences

bool hasFailure | ( |  | ) | const

Search for all occurrences

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

- QtCore/qtextcodec.h

QTextEncoder QTextEncoder QTextEncoder QTextEncoder QTextEncoder QTextEncoder QTextEncoder QTextEncoder QTextEncoder QTextEncoder
QTextEncoder QTextEncoder QTextEncoder QTextEncoder QTextEncoder QTextEncoder QTextEncoder QTextEncoder QTextEncoder QTextEncoder