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

void QNetworkAccessManager::authenticationRequired ( QNetworkReply reply,
QAuthenticator authenticator 
) [signal]

This signal is emitted whenever a final server requests authentication before it delivers the requested contents. The slot connected to this signal should fill the credentials for the contents (which can be determined by inspecting the reply object) in the authenticator object.

QNetworkAccessManager will cache the credentials internally and will send the same values if the server requires authentication again, without emitting the authenticationRequired() signal. If it rejects the credentials, this signal will be emitted again.

See also:

Generated by  Doxygen 1.6.0   Back to index