Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtCore.QTextEncoder Class Reference

The QTextEncoder class provides a state-based encoder. More...

Inheritance diagram for QtCore.QTextEncoder:
Collaboration diagram for QtCore.QTextEncoder:

Public Member Functions

 QTextEncoder (QTextCodec codec)
 
 
 QTextEncoder (QTextCodec codec, QTextCodec.ConversionFlag flags)
 
 
virtual void CreateProxy ()
 
new QByteArray FromUnicode (QChar uc, int len)
 
 
new QByteArray FromUnicode (string str)
 
 
new bool HasFailure ()
 
new void Dispose ()
 

Protected Member Functions

 QTextEncoder (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

virtual System.IntPtr SmokeObject [get, set]
 

Detailed Description

The QTextEncoder class provides a state-based encoder.

A text encoder converts text from Unicode into an encoded text format using a specific codec.

The encoder converts Unicode into another format, remembering any state that is required between calls.

See also QTextCodec::makeEncoder() and QTextDecoder.

Constructor & Destructor Documentation

QtCore.QTextEncoder.QTextEncoder ( System.Type  dummy)
protected
QtCore.QTextEncoder.QTextEncoder ( QTextCodec  codec)

Constructs a text encoder for the given codec.

QtCore.QTextEncoder.QTextEncoder ( QTextCodec  codec,
QTextCodec.ConversionFlag  flags 
)

Constructs a text encoder for the given codec.

Member Function Documentation

virtual void QtCore.QTextEncoder.CreateProxy ( )
virtual
new void QtCore.QTextEncoder.Dispose ( )
new QByteArray QtCore.QTextEncoder.FromUnicode ( QChar  uc,
int  len 
)

This is an overloaded function.

Converts len characters (not bytes) from uc, and returns the result in a QByteArray.

new QByteArray QtCore.QTextEncoder.FromUnicode ( string  str)

Converts the Unicode string str into an encoded QByteArray.

new bool QtCore.QTextEncoder.HasFailure ( )

Member Data Documentation

SmokeInvocation QtCore.QTextEncoder.interceptor
protected

Property Documentation

virtual System.IntPtr QtCore.QTextEncoder.SmokeObject
getset