Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

stopLoading()

Stops loading the frame content

Synopsis:

#include <WebFrame.h>

virtual void stopLoading();

Description:

Stops the current load operation.

Examples:

The stopLoading() method is often used in conjunction with the mainframe() method to stop loading content in the current frame.

case UI_BUTTON_STOP:
     debug_log("stopLoading\n");
     webView->mainFrame()->stopLoading();
     url_focus = 0;
     break;

See also:

mainframe(), reload()