.TH "KHTMLSettings" 3 "28 Jan 2004" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KHTMLSettings \- Settings for the HTML view.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <khtml_settings.h>\fP
.PP
.SS "Public Types"

.in +1c
.ti -1c
.RI "enum \fBKJavaScriptAdvice\fP { \fBKJavaScriptDunno\fP = 0, \fBKJavaScriptAccept\fP, \fBKJavaScriptReject\fP }"
.br
.RI "\fIThis enum specifies whether Java/JavaScript execution is allowed. \fP"
.ti -1c
.RI "enum \fBKAnimationAdvice\fP { \fBKAnimationDisabled\fP = 0, \fBKAnimationLoopOnce\fP, \fBKAnimationEnabled\fP }"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKHTMLSettings\fP (const  \fBKHTMLSettings\fP &other)"
.br
.ti -1c
.RI "void \fBinit\fP ()"
.br
.RI "\fICalled by constructor and reparseConfiguration. \fP"
.ti -1c
.RI "void \fBinit\fP (\fBKConfig\fP *config, bool reset=true)"
.br
.RI "\fIRead settings from \fCconfig\fP. \fP"
.ti -1c
.RI "virtual \fB~KHTMLSettings\fP ()"
.br
.RI "\fIDestructor. \fP"
.ti -1c
.RI "bool \fBchangeCursor\fP () const "
.br
.ti -1c
.RI "bool \fBunderlineLink\fP () const "
.br
.ti -1c
.RI "bool \fBhoverLink\fP () const "
.br
.ti -1c
.RI "KAnimationAdvice \fBshowAnimations\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBstdFontName\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBfixedFontName\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBserifFontName\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBsansSerifFontName\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBcursiveFontName\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBfantasyFontName\fP () const "
.br
.ti -1c
.RI "void \fBsetStdFontName\fP (const  \fBQString\fP &n)"
.br
.ti -1c
.RI "void \fBsetFixedFontName\fP (const  \fBQString\fP &n)"
.br
.ti -1c
.RI "int \fBminFontSize\fP () const "
.br
.ti -1c
.RI "int \fBmediumFontSize\fP () const "
.br
.ti -1c
.RI "const  \fBQString\fP & \fBencoding\fP () const "
.br
.ti -1c
.RI "const  \fBQColor\fP & \fBtextColor\fP () const "
.br
.ti -1c
.RI "const  \fBQColor\fP & \fBlinkColor\fP () const "
.br
.ti -1c
.RI "const  \fBQColor\fP & \fBvLinkColor\fP () const "
.br
.ti -1c
.RI "bool \fBautoLoadImages\fP () const "
.br
.ti -1c
.RI "bool \fBisBackRightClickEnabled\fP ()"
.br
.ti -1c
.RI "bool \fBisJavaEnabled\fP (const  \fBQString\fP &hostname=QString::null)"
.br
.ti -1c
.RI "bool \fBisJavaScriptEnabled\fP (const  \fBQString\fP &hostname=QString::null)"
.br
.ti -1c
.RI "bool \fBisJavaScriptDebugEnabled\fP (const  \fBQString\fP &hostname=QString::null)"
.br
.ti -1c
.RI "bool \fBisPluginsEnabled\fP (const  \fBQString\fP &hostname=QString::null)"
.br
.ti -1c
.RI "\fBQString\fP \fBsettingsToCSS\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBuserStyleSheet\fP () const "
.br
.ti -1c
.RI "bool \fBisFormCompletionEnabled\fP () const "
.br
.ti -1c
.RI "int \fBmaxFormCompletionItems\fP () const "
.br
.ti -1c
.RI "bool \fBisAutoDelayedActionsEnabled\fP () const "
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKJavaScriptAdvice\fP \fBstrToAdvice\fP (const  \fBQString\fP &_str)"
.br
.ti -1c
.RI "void \fBsplitDomainAdvice\fP (const  \fBQString\fP &configStr, \fBQString\fP &domain, \fBKJavaScriptAdvice\fP &javaAdvice, \fBKJavaScriptAdvice\fP &javaScriptAdvice)"
.br
.ti -1c
.RI "const  char * \fBadviceToStr\fP (\fBKJavaScriptAdvice\fP _advice)"
.br
.ti -1c
.RI "const  \fBQString\fP & \fBavailableFamilies\fP ()"
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBKHTMLFactory\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
Settings for the HTML view. Definition at line 35 of file khtml_settings.h.
.SH "Member Enumeration Documentation"
.PP 
.SS "enum \fBKHTMLSettings::KJavaScriptAdvice\fP"
.PP
This enum specifies whether Java/JavaScript execution is allowed. Definition at line 42 of file khtml_settings.h.
.PP
Referenced by init().
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KHTMLSettings::~\fBKHTMLSettings\fP ()\fC [virtual]\fP"
.PP
Destructor. Don't delete any instance by yourself. Definition at line 138 of file khtml_settings.cc.
.SH "Member Function Documentation"
.PP 
.SS "void KHTMLSettings::init ()"
.PP
Called by constructor and reparseConfiguration. Definition at line 158 of file khtml_settings.cc.
.PP
References KGlobal::config().
.SS "void KHTMLSettings::init (\fBKConfig\fP * config, bool reset = true)"
.PP
Read settings from \fCconfig\fP. \fBParameters:\fP
.RS 4
\fIreset\fP if true, settings are always set; if false, settings are only set if the config file has a corresponding key. 
.RE
.PP
Definition at line 170 of file khtml_settings.cc.
.PP
References KLocale::encoding(), QFont::family(), KGlobalSettings::fixedFont(), QString::fromLatin1(), KGlobalSettings::generalFont(), KConfigBase::group(), KConfigBase::hasGroup(), KConfigBase::hasKey(), KJavaScriptAdvice, KGlobal::locale(), QString::lower(), KConfigBase::readBoolEntry(), KConfigBase::readColorEntry(), KConfigBase::readEntry(), KConfigBase::readListEntry(), KConfigBase::readNumEntry(), KConfigBase::setGroup(), and KConfigBase::writeEntry().

.SH "Author"
.PP 
Generated automatically by Doxygen for khtml Library from the source code.
