class KHTMLSettings
|
Settings for the HTML view. More... |
|
|
Public Types
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.
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 |
bool underlineLink ()
| underlineLink |
[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]
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 |
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 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]
Generated by: dfaure on Tue Feb 27 12:47:29 2001, using kdoc 2.0a50. |