khtml Library API Documentation

KHTMLSettings Class Reference

Settings for the HTML view. More...

#include <khtml_settings.h>

List of all members.

Public Types

enum  KJavaScriptAdvice
 This enum specifies whether Java/JavaScript execution is allowed. More...


Public Methods

void init ()
 Called by constructor and reparseConfiguration.

void init (KConfig *config, bool reset=true)
 Read settings from config.

virtual ~KHTMLSettings ()
 Destructor.


Detailed Description

Settings for the HTML view.

Definition at line 35 of file khtml_settings.h.


Member Enumeration Documentation

enum KHTMLSettings::KJavaScriptAdvice
 

This enum specifies whether Java/JavaScript execution is allowed.

Definition at line 42 of file khtml_settings.h.

Referenced by init().


Constructor & Destructor Documentation

KHTMLSettings::~KHTMLSettings   [virtual]
 

Destructor.

Don't delete any instance by yourself.

Definition at line 137 of file khtml_settings.cc.


Member Function Documentation

void KHTMLSettings::init  
 

Called by constructor and reparseConfiguration.

Definition at line 157 of file khtml_settings.cc.

References KGlobal::config().

void KHTMLSettings::init KConfig   config,
bool    reset = true
 

Read settings from config.

Parameters:
reset  if true, settings are always set; if false, settings are only set if the config file has a corresponding key.

Definition at line 169 of file khtml_settings.cc.

References KLocale::encoding(), QFont::family(), KGlobalSettings::fixedFont(), QString::fromLatin1(), KGlobalSettings::generalFont(), KJavaScriptAdvice, and KGlobal::locale().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:22:44 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001