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

QHttp::QHttp ( const QString hostName,
quint16  port = 80,
QObject parent = 0 
)

Constructs a QHttp object. Subsequent requests are done by connecting to the server hostName on port port.

The parent parameter is passed on to the QObject constructor.

See also:
setHost()

Definition at line 1523 of file qhttp.cpp.

    : QObject(*new QHttpPrivate, parent)
{
    Q_D(QHttp);
    d->init();

    d->hostName = hostName;
    d->port = port;
}


Generated by  Doxygen 1.6.0   Back to index