org.kde.koala
public class KHTMLSettings extends Object implements QtSupport
UNKNOWN: Settings for the HTML view.
Field Summary | |
---|---|
static int | KAnimationDisabled |
static int | KAnimationEnabled |
static int | KAnimationLoopOnce |
static int | KJavaScriptAccept |
static int | KJavaScriptDunno
This enum specifies whether Java/JavaScript execution is allowed. |
static int | KJavaScriptReject |
static int | KJSWindowFocusAllow
This enum specifies the policy for window.focus |
static int | KJSWindowFocusIgnore |
static int | KJSWindowMoveAllow
This enum specifies the policy for window.moveBy and .moveTo |
static int | KJSWindowMoveIgnore |
static int | KJSWindowOpenAllow
This enum specifies the policy for window.open |
static int | KJSWindowOpenAsk |
static int | KJSWindowOpenDeny |
static int | KJSWindowOpenSmart |
static int | KJSWindowResizeAllow
This enum specifies the policy for window.resizeBy and .resizeTo |
static int | KJSWindowResizeIgnore |
static int | KJSWindowStatusAllow
This enum specifies the policy for window.status and .defaultStatus |
static int | KJSWindowStatusIgnore |
Constructor Summary | |
---|---|
protected | KHTMLSettings(Class dummy) |
KHTMLSettings() | |
KHTMLSettings(KHTMLSettings other) |
Method Summary | |
---|---|
boolean | accessKeysEnabled() |
void | addAdFilter(String url) |
static String | adviceToStr(int _advice) |
boolean | allowTabulation() |
boolean | autoLoadImages() |
boolean | autoSpellCheck() |
static String | availableFamilies() |
QColor | baseColor() |
boolean | changeCursor() |
String | cursiveFontName() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
String | encoding() |
String | fallbackAccessKeysAssignments() |
String | fantasyFontName() |
protected void | finalize() Deletes the wrapped C++ instance |
String | fixedFontName() |
boolean | followSystemColors() |
boolean | hoverLink() |
void | init()
Called by constructor and reparseConfiguration |
void | init(KConfig config, boolean reset) Read settings from config. |
void | init(KConfig config) |
boolean | isAdFiltered(String url) |
boolean | isAdFilterEnabled() |
boolean | isAutoDelayedActionsEnabled() |
boolean | isBackRightClickEnabled() |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | isFormCompletionEnabled() |
boolean | isHideAdsEnabled() |
boolean | isJavaEnabled(String hostname) |
boolean | isJavaEnabled() |
boolean | isJavaScriptDebugEnabled(String hostname) |
boolean | isJavaScriptDebugEnabled() |
boolean | isJavaScriptEnabled(String hostname) |
boolean | isJavaScriptEnabled() |
boolean | isJavaScriptErrorReportingEnabled(String hostname) |
boolean | isJavaScriptErrorReportingEnabled() |
boolean | isOpenMiddleClickEnabled() |
boolean | isPluginsEnabled(String hostname) |
boolean | isPluginsEnabled() |
boolean | jsErrorsEnabled() |
boolean | jsPopupBlockerPassivePopup() |
QColor | linkColor() |
int | maxFormCompletionItems() |
int | mediumFontSize() |
int | minFontSize() |
String | sansSerifFontName() |
String | serifFontName() |
void | setFixedFontName(String n) |
void | setJSErrorsEnabled(boolean enabled) |
void | setJSPopupBlockerPassivePopup(boolean enabled) |
void | setStdFontName(String n) |
String | settingsToCSS() reads from config 's current group, forcing initialization
if reset is true. |
int | showAnimations() |
static void | splitDomainAdvice(String configStr, StringBuffer domain, int javaAdvice, int javaScriptAdvice) |
String | stdFontName() |
static int | strToAdvice(String _str) |
QColor | textColor() |
boolean | underlineLink() |
boolean | unfinishedImageFrame() |
String | userStyleSheet() |
QColor | vLinkColor() |
int | windowFocusPolicy(String hostname) |
int | windowFocusPolicy() |
int | windowMovePolicy(String hostname) |
int | windowMovePolicy() |
int | windowOpenPolicy(String hostname) |
int | windowOpenPolicy() |
int | windowResizePolicy(String hostname) |
int | windowResizePolicy() |
int | windowStatusPolicy(String hostname) |
int | windowStatusPolicy() |
UNKNOWN: This enum specifies whether Java/JavaScript execution is allowed.
UNKNOWN: This enum specifies the policy for window.
UNKNOWN: This enum specifies the policy for window.
UNKNOWN: This enum specifies the policy for window.
UNKNOWN: This enum specifies the policy for window.
UNKNOWN: This enum specifies the policy for window.
UNKNOWN:
UNKNOWN: Called by constructor and reparseConfiguration
config.
Parameters: config is a pointer to KConfig object. reset if true, settings are always set; if false, settings are only set if the config file has a corresponding key.
UNKNOWN: Read settings from config.
config
's current group, forcing initialization
if reset
is true.Parameters: config is a pointer to KConfig object. reset true if initialization is to be forced. global true if the global domain is to be read. pd_settings will be initialised with the computed (inherited) settings.
UNKNOWN: reads from config
's current group, forcing initialization if reset
is true.