reload()

Reloads the current content

Synopsis:

#include <WebFrame.h>

virtual void reload();

Description:

Reloads the current content in the frame.

Examples:

The reload() method is often used in conjunction with the mainframe() method to refresh the content in the current frame.

case UI_BUTTON_RELOAD:
     webView->mainFrame()->reload();
     webView->resetPageZoom();
     zoom = 1.0;
     url_focus = 0;
     break;

See also:

mainframe(), stopLoading()