# class KHTMLSettings | Settings for the HTML view. More...
Definition | `#include <khtml_settings.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Types

- enum KJavaScriptAdvice { KJavaScriptDunno=0, KJavaScriptAccept, KJavaScriptReject }

#### Public Methods

- KHTMLSettings ()
- void init ()
- void init ( KConfig * config, bool reset = true )
- virtual ~KHTMLSettings ()
- bool changeCursor ()
- bool underlineLink ()
- bool hoverLink ()
- QString stdFontName () const
- QString fixedFontName () const
- QString serifFontName () const
- QString sansSerifFontName () const
- QString cursiveFontName () const
- QString fantasyFontName () const
- void setStdFontName (const QString &n)
- void setFixedFontName (const QString &n)
- const QValueList<int> & fontSizes () const
- void setFontSizes (const QValueList<int> &newFontSizes )
- void resetFontSizes ()
- int minFontSize () const
- QFont::CharSet charset () const
- void setCharset ( QFont::CharSet c )
- QFont::CharSet script () const
- void setScript ( QFont::CharSet c )
- void resetCharset ( )
- void setDefaultCharset ( QFont::CharSet c, bool b )
- const QString & encoding () const
- const QColor& textColor ()
- const QColor& linkColor ()
- const QColor& vLinkColor ()
- bool autoLoadImages ()
- bool isJavaEnabled ( const QString& hostname = QString::null )
- bool isJavaScriptEnabled ( const QString& hostname = QString::null )
- bool isPluginsEnabled ( const QString& hostname = QString::null )
- bool isCSSEnabled ( const QString& hostname = QString::null )
- QString settingsToCSS () const
- QString availableFamilies () const
- QString userStyleSheet () const

#### Public Static Methods

- static KJavaScriptAdvice strToAdvice (const QString& _str)
- static void splitDomainAdvice (const QString& configStr, QString &domain, KJavaScriptAdvice &javaAdvice, KJavaScriptAdvice& javaScriptAdvice)
- static const char* adviceToStr (KJavaScriptAdvice _advice)

## Detailed Description

Settings for the HTML view.

enum KJavaScriptAdvice { KJavaScriptDunno=0, KJavaScriptAccept, KJavaScriptReject } | ### KJavaScriptAdvice

This enum specifies whether Java/JavaScript execution is allowed.

KHTMLSettings () | ### KHTMLSettings

void init () | ### init

void init ( KConfig * config, bool reset = true ) | ### init

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.

~KHTMLSettings () | ### ~KHTMLSettings

[virtual]

bool changeCursor () | ### changeCursor

bool underlineLink () | ### underlineLink

bool hoverLink () | ### hoverLink

QString stdFontName () | ### stdFontName

[const]

QString fixedFontName () | ### fixedFontName

[const]

QString serifFontName () | ### serifFontName

[const]

QString sansSerifFontName () | ### sansSerifFontName

[const]

QString cursiveFontName () | ### cursiveFontName

[const]

QString fantasyFontName () | ### fantasyFontName

[const]

void setStdFontName (const QString &n) | ### setStdFontName

void setFixedFontName (const QString &n) | ### setFixedFontName

const QValueList<int> & fontSizes () | ### fontSizes

[const]

void setFontSizes (const QValueList<int> &newFontSizes ) | ### setFontSizes

void resetFontSizes () | ### resetFontSizes

int minFontSize () | ### minFontSize

[const]

QFont::CharSet charset () | ### charset

[const]

void setCharset ( QFont::CharSet c ) | ### setCharset

QFont::CharSet script () | ### script

[const]

void setScript ( QFont::CharSet c ) | ### setScript

void resetCharset ( ) | ### resetCharset

void setDefaultCharset ( QFont::CharSet c, bool b ) | ### setDefaultCharset

const QString & encoding () | ### encoding

[const]

const QColor& textColor () | ### textColor

const QColor& linkColor () | ### linkColor

const QColor& vLinkColor () | ### vLinkColor

bool autoLoadImages () | ### autoLoadImages

bool isJavaEnabled ( const QString& hostname = QString::null ) | ### isJavaEnabled

bool isJavaScriptEnabled ( const QString& hostname = QString::null ) | ### isJavaScriptEnabled

bool isPluginsEnabled ( const QString& hostname = QString::null ) | ### isPluginsEnabled

bool isCSSEnabled ( const QString& hostname = QString::null ) | ### isCSSEnabled

KJavaScriptAdvice strToAdvice (const QString& _str) | ### strToAdvice

[static]

void splitDomainAdvice (const QString& configStr, QString &domain, KJavaScriptAdvice &javaAdvice, KJavaScriptAdvice& javaScriptAdvice) | ### splitDomainAdvice

[static]

const char* adviceToStr (KJavaScriptAdvice _advice) | ### adviceToStr

[static]

QString settingsToCSS () | ### settingsToCSS

[const]

QString availableFamilies () | ### availableFamilies

[const]

QString userStyleSheet () | ### userStyleSheet

[const]

Generated by: root@sparc.ports.openbsd.org on Wed May 2 09:44:28 2001, using kdoc 2.0a53.