Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QWspPduEncoder Class Reference
[QtTelephonyModule]

The QWspPduEncoder class provides facilities for writing WSP PDU's. More...

    #include <QWspPduEncoder>

Inherits QObject.

Public Functions

Additional Inherited Members


Detailed Description

The QWspPduEncoder class provides facilities for writing WSP PDU's.

The QWspPduEncoder class provides facilities for writing WSP PDU's.


Member Function Documentation

QWspPduEncoder::QWspPduEncoder ( QIODevice * d )

Create a WSP PDU encoder that writes the the output data stream d.

QWspPduEncoder::~QWspPduEncoder ()

Destroy this WSP PDU encoder.

void QWspPduEncoder::encodeContentType ( const QString & str )

Encode a content type value str to the output data stream.

void QWspPduEncoder::encodeEncodedString ( const QString & str )

Encode an encoded string str to the output data stream.

void QWspPduEncoder::encodeField ( const QWspField & field )

Encode a field consisting of a name and value to the output data stream.

void QWspPduEncoder::encodeInteger ( quint32 d )

Encode a short or long integer value d to the output data stream.

void QWspPduEncoder::encodeLength ( quint32 d )

Encode a length value d to the output data stream.

void QWspPduEncoder::encodeLongInteger ( quint32 iv )

Encode a long integer value iv to the output data stream.

void QWspPduEncoder::encodeMultipart ( const QWspMultipart & mp )

Encode a multipart content block mp to the output data stream.

void QWspPduEncoder::encodeOctet ( quint8 octet )

Encode an octet to the output data stream.

void QWspPduEncoder::encodeParameter ( const QString & p )

Encode a parameter value p to the output data stream.

void QWspPduEncoder::encodePart ( const QWspPart & part )

Encode a WSP part content block to the output data stream.

void QWspPduEncoder::encodePush ( const QWspPush & part )

Encode a WSP PDU PDU part to the output data stream.

void QWspPduEncoder::encodeShortInteger ( quint8 d )

Encode a short integer value d to the output data stream.

void QWspPduEncoder::encodeTextString ( const QString & str )

Encode a text string str to the output data stream.

void QWspPduEncoder::encodeTokenText ( const QString & str )

Encode a token text string str to the output data stream.

void QWspPduEncoder::encodeUInt8 ( quint8 octet )

Encode an unsigned 8-bit octet to the output data stream.

void QWspPduEncoder::encodeUInt16 ( quint16 d )

Encode an unsigned 16-bit value d to the output data stream.

void QWspPduEncoder::encodeUInt32 ( quint32 d )

Encode an unsigned 32-bit value d to the output data stream.

void QWspPduEncoder::encodeUIntVar ( quint32 iv )

Encode an unsigned variable length integer value iv to the output data stream.

void QWspPduEncoder::encodeVersion ( const QString & value )

Encode a version value to the output data stream.

int QWspPduEncoder::integerLength ( quint32 d )

Get the number of bytes that will be needed to encode d as either a short or long integer.

int QWspPduEncoder::longIntegerLength ( quint32 iv )

Get the number of bytes that will be needed to encode iv as a long integer.

void QWspPduEncoder::setHeaderCodec ( QWspHeaderCodec * c )

Set the header codec, that converts string names into byte values, to c.


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3