Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QHttpResponseHeader::QHttpResponseHeader ( int  code,
const QString text = QString(),
int  majorVer = 1,
int  minorVer = 1 

Constructs a QHttpResponseHeader, setting the status code to code, the reason phrase to text and the protocol-version to majorVer and minorVer.

See also:
statusCode() reasonPhrase() majorVersion() minorVersion()

Definition at line 1038 of file qhttp.cpp.

References setStatusLine().

    : QHttpHeader(*new QHttpResponseHeaderPrivate)
    setStatusLine(code, text, majorVer, minorVer);

Generated by  Doxygen 1.6.0   Back to index