PyKDE - Python Bindings for KDE
class KHTMLSettings
Table of contents
Modules
tdehtml Classes
All Classes
Module
tdehtml
Class
KHTMLSettings
Inherits
enums
KAnimationAdvice
= {KAnimationDisabled, KAnimationLoopOnce, KAnimationEnabled }
KJSWindowFocusPolicy
= {KJSWindowFocusAllow, KJSWindowFocusIgnore }
KJSWindowMovePolicy
= {KJSWindowMoveAllow, KJSWindowMoveIgnore }
KJSWindowOpenPolicy
= {KJSWindowOpenAllow, KJSWindowOpenAsk, KJSWindowOpenDeny, KJSWindowOpenSmart }
KJSWindowResizePolicy
= {KJSWindowResizeAllow, KJSWindowResizeIgnore }
KJSWindowStatusPolicy
= {KJSWindowStatusAllow, KJSWindowStatusIgnore }
KJavaScriptAdvice
= {KJavaScriptDunno, KJavaScriptAccept, KJavaScriptReject }
methods
KHTMLSettings
()
returns
a KHTMLSettings instance
KHTMLSettings
(other)
returns
a KHTMLSettings instance
Argument
Type
Default
other
KHTMLSettings
accessKeysEnabled
()
returns
(bool)
In versions KDE 3.5.0 and above only
addAdFilter
(url)
returns
nothing
In versions KDE 3.5.0 and above only
Argument
Type
Default
url
TQString
adviceToStr
(_advice)
returns
(char)
static
Argument
Type
Default
_advice
KHTMLSettings.KJavaScriptAdvice
allowTabulation
()
returns
(bool)
In versions KDE 3.4.0 and above only
autoLoadImages
()
returns
(bool)
autoSpellCheck
()
returns
(bool)
In versions KDE 3.4.0 and above only
availableFamilies
()
returns
(TQString)
static
baseColor
()
returns
(TQColor)
In versions KDE 3.4.0 and above only
changeCursor
()
returns
(bool)
cursiveFontName
()
returns
(TQString)
encoding
()
returns
(TQString)
fallbackAccessKeysAssignments
()
returns
(TQValueList
>)
In versions KDE 3.5.0 and above only
fantasyFontName
()
returns
(TQString)
fixedFontName
()
returns
(TQString)
followSystemColors
()
returns
(bool)
In versions KDE 3.4.0 and above only
hoverLink
()
returns
(bool)
init
()
returns
nothing
init
(config, reset = 1)
returns
nothing
Argument
Type
Default
config
TDEConfig
reset
bool
1
isAdFilterEnabled
()
returns
(bool)
In versions KDE 3.5.0 and above only
isAdFiltered
(url)
returns
(bool)
In versions KDE 3.5.0 and above only
Argument
Type
Default
url
TQString
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)
isHideAdsEnabled
()
returns
(bool)
In versions KDE 3.5.0 and above only
isJavaEnabled
(hostname = TQString .null)
returns
(bool)
Argument
Type
Default
hostname
TQString
TQString .null
isJavaScriptDebugEnabled
(hostname = TQString .null)
returns
(bool)
Argument
Type
Default
hostname
TQString
TQString .null
isJavaScriptEnabled
(hostname = TQString .null)
returns
(bool)
Argument
Type
Default
hostname
TQString
TQString .null
isJavaScriptErrorReportingEnabled
(hostname = TQString .null)
returns
(bool)
In versions KDE 3.2.0 and above only
Argument
Type
Default
hostname
TQString
TQString .null
isOpenMiddleClickEnabled
()
returns
(bool)
In versions KDE 3.3.0 and above only
isPluginsEnabled
(hostname = TQString .null)
returns
(bool)
Argument
Type
Default
hostname
TQString
TQString .null
jsErrorsEnabled
()
returns
(bool)
In versions KDE 3.2.0 and above only
jsPopupBlockerPassivePopup
()
returns
(bool)
In versions KDE 3.5.0 and above only
linkColor
()
returns
(TQColor)
maxFormCompletionItems
()
returns
(int)
mediumFontSize
()
returns
(int)
minFontSize
()
returns
(int)
readDomainSettings
(config, reset, global, pd_settings)
Not Implemented
sansSerifFontName
()
returns
(TQString)
serifFontName
()
returns
(TQString)
setFixedFontName
(n)
returns
nothing
Argument
Type
Default
n
TQString
setJSErrorsEnabled
(enabled)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
enabled
bool
setJSPopupBlockerPassivePopup
(enabled)
returns
nothing
In versions KDE 3.5.0 and above only
Argument
Type
Default
enabled
bool
setStdFontName
(n)
returns
nothing
Argument
Type
Default
n
TQString
settingsToCSS
()
returns
(TQString)
showAnimations
()
returns
(KHTMLSettings.KAnimationAdvice)
splitDomainAdvice
(configStr, domain)
Not Implemented
stdFontName
()
returns
(TQString)
strToAdvice
(_str)
returns
(KJavaScriptAdvice)
static
Argument
Type
Default
_str
TQString
textColor
()
returns
(TQColor)
underlineLink
()
returns
(bool)
unfinishedImageFrame
()
returns
(bool)
In versions KDE 3.4.0 and above only
userStyleSheet
()
returns
(TQString)
vLinkColor
()
returns
(TQColor)
windowFocusPolicy
(hostname = TQString .null)
returns
(KHTMLSettings.KJSWindowFocusPolicy)
In versions KDE 3.2.0 and above only
Argument
Type
Default
hostname
TQString
TQString .null
windowMovePolicy
(hostname = TQString .null)
returns
(KHTMLSettings.KJSWindowMovePolicy)
In versions KDE 3.2.0 and above only
Argument
Type
Default
hostname
TQString
TQString .null
windowOpenPolicy
(hostname = TQString .null)
returns
(KHTMLSettings.KJSWindowOpenPolicy)
In versions KDE 3.2.0 and above only
Argument
Type
Default
hostname
TQString
TQString .null
windowResizePolicy
(hostname = TQString .null)
returns
(KHTMLSettings.KJSWindowResizePolicy)
In versions KDE 3.2.0 and above only
Argument
Type
Default
hostname
TQString
TQString .null
windowStatusPolicy
(hostname = TQString .null)
returns
(KHTMLSettings.KJSWindowStatusPolicy)
In versions KDE 3.2.0 and above only
Argument
Type
Default
hostname
TQString
TQString .null