Detailed Description
The QWspPart class represents a single part within a WSP message.
The QWspPart class represents a single part within a WSP message.
Member Function Documentation
QWspPart::QWspPart ()
Construct an empty WSP part structure.
QWspPart::QWspPart ( const QWspPart & part )
Construct a WSP part structure that is a copy of part.
QWspPart::~QWspPart ()
Destruct this WSP part.
Add header h to this WSP part.
This is an overloaded member function, provided for convenience.
Add a header with the specified name and value to this WSP part.
const QByteArray & QWspPart::data () const
Return the data body associated with this WSP part.
See also setData().
Find the header called name and return its field block. Returns null if there is no such header.
Return the list of headers associated with this WSP part.
void QWspPart::readData ( QIODevice * d, int l )
Read l bytes from d and make them the body of this WSP part.
void QWspPart::setData ( const char * d, int l )
Set the data body of this WSP part to the l bytes from the array d.
See also data().
void QWspPart::writeData ( QIODevice * d ) const
Write the body of this WSP part to d.
QWspPart & QWspPart::operator= ( const QWspPart & part )
Copy the contents of part into this object.