#include <helptextbrowser.h>
Public Slots | |
virtual void | setSource (const QUrl &url) |
Public Member Functions | |
HelpTextBrowser (QWidget *parent=0) | |
QVariant | loadResource (int type, const QUrl &name) |
Definition at line 24 of file helptextbrowser.h.
HelpTextBrowser::HelpTextBrowser | ( | QWidget * | parent = 0 |
) |
Default constructor.
Definition at line 28 of file helptextbrowser.cpp.
QVariant HelpTextBrowser::loadResource | ( | int | type, | |
const QUrl & | name | |||
) |
Loads a resource into the browser.
Definition at line 37 of file helptextbrowser.cpp.
References Vidalia::language().
void HelpTextBrowser::setSource | ( | const QUrl & | url | ) | [virtual, slot] |
Called when the displayed document is changed. If url specifies an external link, then the user will be prompted for whether they want to open the link in their default browser or not.
Definition at line 67 of file helptextbrowser.cpp.
References VMessageBox::Cancel, VMessageBox::information(), VMessageBox::Ok, p(), VMessageBox::question(), and VMessageBox::Yes.
Referenced by HelpBrowser::search().