KHTMLSettings Class Reference
#include <khtml_settings.h>
Detailed Description
Settings for the HTML view.Definition at line 38 of file khtml_settings.h.
Member Enumeration Documentation
This enum specifies whether Java/JavaScript execution is allowed.
Definition at line 45 of file khtml_settings.h.
Definition at line 51 of file khtml_settings.h.
This enum specifies the policy for window.status and .defaultStatus.
Definition at line 70 of file khtml_settings.h.
This enum specifies the policy for window.moveBy and .moveTo.
Definition at line 78 of file khtml_settings.h.
This enum specifies the policy for window.resizeBy and .resizeTo.
Definition at line 86 of file khtml_settings.h.
Constructor & Destructor Documentation
KHTMLSettings::~KHTMLSettings | ( | ) | [virtual] |
Destructor.
Don't delete any instance by yourself.
Definition at line 270 of file khtml_settings.cc.
Member Function Documentation
void KHTMLSettings::init | ( | ) |
void KHTMLSettings::init | ( | KConfig * | config, | |
bool | reset = true | |||
) |
Read settings from config
.
- Parameters:
-
config is a pointer to KConfig object. reset if true, settings are always set; if false, settings are only set if the config file has a corresponding key.
Definition at line 302 of file khtml_settings.cc.
void KHTMLSettings::readDomainSettings | ( | KConfig * | config, | |
bool | reset, | |||
bool | global, | |||
KPerDomainSettings & | pd_settings | |||
) |
reads from config's
current group, forcing initialization if reset
is true.
- Parameters:
-
config is a pointer to KConfig object. reset true if initialization is to be forced. global true if the global domain is to be read. pd_settings will be initialised with the computed (inherited) settings.
Definition at line 189 of file khtml_settings.cc.
The documentation for this class was generated from the following files: