class KHTMLSettings
|
Settings for the HTML view. More... |
|
|
Public Types
- enum KJavaScriptAdvice { KJavaScriptDunno=0,
KJavaScriptAccept,
KJavaScriptReject
}
- enum KAnimationAdvice { KAnimationDisabled=0,
KAnimationLoopOnce,
KAnimationEnabled
}
Public Methods
Public Static Methods
Settings for the HTML view.
enum KJavaScriptAdvice { KJavaScriptDunno=0,
KJavaScriptAccept,
KJavaScriptReject
}
| KJavaScriptAdvice |
This enum specifies whether Java/JavaScript execution is allowed.
enum KAnimationAdvice { KAnimationDisabled=0,
KAnimationLoopOnce,
KAnimationEnabled
}
| KAnimationAdvice |
KHTMLSettings ()
| KHTMLSettings |
Called by constructor and reparseConfiguration
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]
Destructor. Don't delete any instance by yourself.
bool changeCursor ()
| changeCursor |
[const]
bool underlineLink ()
| underlineLink |
[const]
bool hoverLink ()
| hoverLink |
[const]
KAnimationAdvice showAnimations ()
| showAnimations |
[const]
[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 |
int minFontSize ()
| minFontSize |
[const]
int mediumFontSize ()
| mediumFontSize |
[const]
const QString & encoding ()
| encoding |
[const]
const QColor& textColor ()
| textColor |
[const]
const QColor& linkColor ()
| linkColor |
[const]
const QColor& vLinkColor ()
| vLinkColor |
[const]
bool autoLoadImages ()
| autoLoadImages |
[const]
bool isJavaEnabled ( const QString& hostname = QString::null )
| isJavaEnabled |
bool isJavaScriptEnabled ( const QString& hostname = QString::null )
| isJavaScriptEnabled |
bool isJavaScriptDebugEnabled ( const QString& hostname = QString::null )
| isJavaScriptDebugEnabled |
bool isPluginsEnabled ( const QString& hostname = QString::null )
| isPluginsEnabled |
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]
const QString & availableFamilies ()
| availableFamilies |
[static]
QString userStyleSheet ()
| userStyleSheet |
[const]
bool isFormCompletionEnabled ()
| isFormCompletionEnabled |
[const]
int maxFormCompletionItems ()
| maxFormCompletionItems |
[const]
Generated by: dfaure on faure on Tue Apr 16 08:50:42 2002, using kdoc 2.0a53. |