class KHTMLSettings

#### PyKDE - Python Bindings for KDE

# class KHTMLSettings |
Table of contents
Modules
khtml Classes
All Classes

Module | khtml
Class | KHTMLSettings
Inherits |

### enums

- KAnimationAdvice = {KAnimationDisabled = 0, KAnimationLoopOnce, KAnimationEnabled }
- KJSWindowFocusPolicy = {KJSWindowFocusAllow = 0, KJSWindowFocusIgnore }
- KJSWindowMovePolicy = {KJSWindowMoveAllow = 0, KJSWindowMoveIgnore }
- KJSWindowOpenPolicy = {KJSWindowOpenAllow = 0, KJSWindowOpenAsk, KJSWindowOpenDeny, KJSWindowOpenSmart }
- KJSWindowResizePolicy = {KJSWindowResizeAllow = 0, KJSWindowResizeIgnore }
- KJSWindowStatusPolicy = {KJSWindowStatusAllow = 0, KJSWindowStatusIgnore }
- KJavaScriptAdvice = {KJavaScriptDunno = 0, KJavaScriptAccept, KJavaScriptReject }

### methods

- KHTMLSettings ()

  returns a KHTMLSettings instance

- KHTMLSettings (other)

  returns a KHTMLSettings instance
  Argument | Type | Default
  --- | --- | ---
  other | KHTMLSettings |

- adviceToStr (_advice)

  returns (char)
  static
  Argument | Type | Default
  --- | --- | ---
  _advice | KHTMLSettings.KJavaScriptAdvice |

- autoLoadImages ()

  returns (bool)

- availableFamilies ()

  returns (QString)
  static

- changeCursor ()

  returns (bool)

- cursiveFontName ()

  returns (QString)

- encoding ()

  returns (QString)

- fantasyFontName ()

  returns (QString)

- fixedFontName ()

  returns (QString)

- hoverLink ()

  returns (bool)

- init ()

  returns nothing

- init (config, reset = 1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  config | KConfig |
  reset | bool | 1

- isAutoDelayedActionsEnabled ()

  returns (bool)
  In versions KDE 3.1.1 and above only

- isBackRightClickEnabled ()

  returns (bool)
  In versions KDE 3.1.0 and above only

- isFormCompletionEnabled ()

  returns (bool)

- isJavaEnabled (hostname = QString .null)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  hostname | QString | QString .null

- isJavaScriptDebugEnabled (hostname = QString .null)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  hostname | QString | QString .null

- isJavaScriptEnabled (hostname = QString .null)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  hostname | QString | QString .null

- isJavaScriptErrorReportingEnabled (hostname = QString .null)

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  hostname | QString | QString .null

- isOpenMiddleClickEnabled ()

  returns (bool)
  In versions KDE 3.3.0 and above only

- isPluginsEnabled (hostname = QString .null)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  hostname | QString | QString .null

- jsErrorsEnabled ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- linkColor ()

  returns (QColor)

- maxFormCompletionItems ()

  returns (int)

- mediumFontSize ()

  returns (int)

- minFontSize ()

  returns (int)

- readDomainSettings (config, reset, global, pd_settings)

  Not Implemented

- sansSerifFontName ()

  returns (QString)

- serifFontName ()

  returns (QString)

- setFixedFontName (n)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  n | QString |

- setJSErrorsEnabled (enabled)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  enabled | bool |

- setStdFontName (n)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  n | QString |

- settingsToCSS ()

  returns (QString)

- showAnimations ()

  returns (KHTMLSettings.KAnimationAdvice)

- splitDomainAdvice (configStr, domain)

  Not Implemented

- stdFontName ()

  returns (QString)

- strToAdvice (_str)

  returns (KJavaScriptAdvice)
  static
  Argument | Type | Default
  --- | --- | ---
  _str | QString |

- textColor ()

  returns (QColor)

- underlineLink ()

  returns (bool)

- userStyleSheet ()

  returns (QString)

- vLinkColor ()

  returns (QColor)

- windowFocusPolicy (hostname = QString .null)

  returns (KHTMLSettings.KJSWindowFocusPolicy)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  hostname | QString | QString .null

- windowMovePolicy (hostname = QString .null)

  returns (KHTMLSettings.KJSWindowMovePolicy)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  hostname | QString | QString .null

- windowOpenPolicy (hostname = QString .null)

  returns (KHTMLSettings.KJSWindowOpenPolicy)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  hostname | QString | QString .null

- windowResizePolicy (hostname = QString .null)

  returns (KHTMLSettings.KJSWindowResizePolicy)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  hostname | QString | QString .null

- windowStatusPolicy (hostname = QString .null)

  returns (KHTMLSettings.KJSWindowStatusPolicy)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  hostname | QString | QString .null