QWebPage.ErrorPageExtensionOption Class Reference

[ QtWebKit module]

The ErrorPageExtensionOption class describes the option for the error page extension. 更多...

继承 ExtensionOption .

方法

Members


详细描述

The ErrorPageExtensionOption class describes the option for the error page extension.

The ErrorPageExtensionOption class holds the url for which an error occurred as well as the associated frame .

The error itself is reported by an error domain error code as well as errorString .


方法文档编制

ErrorPageExtensionOption.__init__ ( self )

ErrorPageExtensionOption.__init__ ( self , ErrorPageExtensionOption )


Member Documentation

ErrorDomain domain

This variable holds the domain that reported the error.

int error

This variable holds the error code. Interpretation of the value depends on the domain.

另请参阅 QWebPage.ErrorDomain .

QString errorString

This variable holds a string that describes the error.

QWebFrame frame

This variable holds the frame associated with the error.

QUrl url

This variable holds the url for which an error occurred.