KHTML
KHTMLSettings Class Reference
Settings for the HTML view. More...
#include <khtml_settings.h>
Detailed Description
Settings for the HTML view.Definition at line 40 of file khtml_settings.h.
Member Enumeration Documentation
Definition at line 53 of file khtml_settings.h.
Definition at line 65 of file khtml_settings.h.
This enum specifies whether Java/JavaScript execution is allowed.
Definition at line 47 of file khtml_settings.h.
This enum specifies the policy for window.moveBy and .moveTo.
Definition at line 92 of file khtml_settings.h.
This enum specifies the policy for window.resizeBy and .resizeTo.
Definition at line 100 of file khtml_settings.h.
This enum specifies the policy for window.status and .defaultStatus.
Definition at line 84 of file khtml_settings.h.
Definition at line 59 of file khtml_settings.h.
Constructor & Destructor Documentation
KHTMLSettings::KHTMLSettings | ( | ) |
KHTMLSettings::KHTMLSettings | ( | const KHTMLSettings & | other | ) |
Definition at line 269 of file khtml_settings.cpp.
KHTMLSettings::~KHTMLSettings | ( | ) | [virtual] |
Destructor.
Don't delete any instance by yourself.
Definition at line 275 of file khtml_settings.cpp.
Member Function Documentation
bool KHTMLSettings::accessKeysEnabled | ( | ) | const |
Definition at line 718 of file khtml_settings.cpp.
void KHTMLSettings::addAdFilter | ( | const QString & | url | ) |
Definition at line 746 of file khtml_settings.cpp.
const char * KHTMLSettings::adviceToStr | ( | KJavaScriptAdvice | _advice | ) | [static] |
Definition at line 154 of file khtml_settings.cpp.
bool KHTMLSettings::allowTabulation | ( | ) | const |
Definition at line 1047 of file khtml_settings.cpp.
bool KHTMLSettings::autoLoadImages | ( | ) | const |
Definition at line 1003 of file khtml_settings.cpp.
bool KHTMLSettings::autoSpellCheck | ( | ) | const |
Definition at line 1052 of file khtml_settings.cpp.
const QString & KHTMLSettings::availableFamilies | ( | ) | [static] |
Definition at line 878 of file khtml_settings.cpp.
const QColor & KHTMLSettings::baseColor | ( | ) | const |
Definition at line 988 of file khtml_settings.cpp.
bool KHTMLSettings::changeCursor | ( | ) | const |
Definition at line 280 of file khtml_settings.cpp.
QString KHTMLSettings::cursiveFontName | ( | ) | const |
Definition at line 934 of file khtml_settings.cpp.
KHTMLSettings::KDNSPrefetch KHTMLSettings::dnsPrefetch | ( | ) | const |
Definition at line 1023 of file khtml_settings.cpp.
const QString & KHTMLSettings::encoding | ( | ) | const |
Definition at line 973 of file khtml_settings.cpp.
Definition at line 1057 of file khtml_settings.cpp.
QString KHTMLSettings::fantasyFontName | ( | ) | const |
Definition at line 939 of file khtml_settings.cpp.
QString KHTMLSettings::fixedFontName | ( | ) | const |
Definition at line 919 of file khtml_settings.cpp.
bool KHTMLSettings::followSystemColors | ( | ) | const |
Definition at line 978 of file khtml_settings.cpp.
bool KHTMLSettings::hoverLink | ( | ) | const |
Definition at line 290 of file khtml_settings.cpp.
void KHTMLSettings::init | ( | KConfig * | config, | |
bool | reset = true | |||
) |
Read settings from 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.
Definition at line 307 of file khtml_settings.cpp.
void KHTMLSettings::init | ( | ) |
bool KHTMLSettings::isAdFiltered | ( | const QString & | url | ) | const |
Definition at line 733 of file khtml_settings.cpp.
bool KHTMLSettings::isAdFilterEnabled | ( | ) | const |
Definition at line 723 of file khtml_settings.cpp.
bool KHTMLSettings::isAutoDelayedActionsEnabled | ( | ) | const |
Definition at line 1028 of file khtml_settings.cpp.
bool KHTMLSettings::isBackRightClickEnabled | ( | ) |
Definition at line 713 of file khtml_settings.cpp.
bool KHTMLSettings::isFormCompletionEnabled | ( | ) | const |
Definition at line 963 of file khtml_settings.cpp.
bool KHTMLSettings::isHideAdsEnabled | ( | ) | const |
Definition at line 728 of file khtml_settings.cpp.
Definition at line 785 of file khtml_settings.cpp.
Definition at line 795 of file khtml_settings.cpp.
Definition at line 790 of file khtml_settings.cpp.
bool KHTMLSettings::isJavaScriptErrorReportingEnabled | ( | const QString & | hostname = QString() |
) | const |
Definition at line 801 of file khtml_settings.cpp.
bool KHTMLSettings::isOpenMiddleClickEnabled | ( | ) |
Definition at line 708 of file khtml_settings.cpp.
Definition at line 807 of file khtml_settings.cpp.
bool KHTMLSettings::jsErrorsEnabled | ( | ) | const |
Definition at line 1033 of file khtml_settings.cpp.
bool KHTMLSettings::jsPopupBlockerPassivePopup | ( | ) | const |
Definition at line 1071 of file khtml_settings.cpp.
const QColor & KHTMLSettings::linkColor | ( | ) | const |
Definition at line 993 of file khtml_settings.cpp.
int KHTMLSettings::maxFormCompletionItems | ( | ) | const |
Definition at line 968 of file khtml_settings.cpp.
int KHTMLSettings::mediumFontSize | ( | ) | const |
Definition at line 837 of file khtml_settings.cpp.
int KHTMLSettings::minFontSize | ( | ) | const |
Definition at line 842 of file khtml_settings.cpp.
void KHTMLSettings::readDomainSettings | ( | const KConfigGroup & | config, | |
bool | reset, | |||
bool | global, | |||
KPerDomainSettings & | pd_settings | |||
) |
reads from 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.
Definition at line 194 of file khtml_settings.cpp.
QString KHTMLSettings::sansSerifFontName | ( | ) | const |
Definition at line 929 of file khtml_settings.cpp.
QString KHTMLSettings::serifFontName | ( | ) | const |
Definition at line 924 of file khtml_settings.cpp.
void KHTMLSettings::setFixedFontName | ( | const QString & | n | ) |
Definition at line 951 of file khtml_settings.cpp.
void KHTMLSettings::setJSErrorsEnabled | ( | bool | enabled | ) |
Definition at line 1038 of file khtml_settings.cpp.
void KHTMLSettings::setJSPopupBlockerPassivePopup | ( | bool | enabled | ) |
Definition at line 1062 of file khtml_settings.cpp.
void KHTMLSettings::setStdFontName | ( | const QString & | n | ) |
Definition at line 944 of file khtml_settings.cpp.
QString KHTMLSettings::settingsToCSS | ( | ) | const |
Definition at line 847 of file khtml_settings.cpp.
KHTMLSettings::KAnimationAdvice KHTMLSettings::showAnimations | ( | ) | const |
Definition at line 1013 of file khtml_settings.cpp.
KHTMLSettings::KSmoothScrollingMode KHTMLSettings::smoothScrolling | ( | ) | const |
Definition at line 1018 of file khtml_settings.cpp.
void KHTMLSettings::splitDomainAdvice | ( | const QString & | configStr, | |
QString & | domain, | |||
KJavaScriptAdvice & | javaAdvice, | |||
KJavaScriptAdvice & | javaScriptAdvice | |||
) | [static] |
Definition at line 165 of file khtml_settings.cpp.
QString KHTMLSettings::stdFontName | ( | ) | const |
Definition at line 914 of file khtml_settings.cpp.
KHTMLSettings::KJavaScriptAdvice KHTMLSettings::strToAdvice | ( | const QString & | _str | ) | [static] |
Definition at line 139 of file khtml_settings.cpp.
const QColor & KHTMLSettings::textColor | ( | ) | const |
Definition at line 983 of file khtml_settings.cpp.
bool KHTMLSettings::underlineLink | ( | ) | const |
Definition at line 285 of file khtml_settings.cpp.
bool KHTMLSettings::unfinishedImageFrame | ( | ) | const |
Definition at line 1008 of file khtml_settings.cpp.
QString KHTMLSettings::userStyleSheet | ( | ) | const |
Definition at line 958 of file khtml_settings.cpp.
const QColor & KHTMLSettings::vLinkColor | ( | ) | const |
Definition at line 998 of file khtml_settings.cpp.
KHTMLSettings::KJSWindowFocusPolicy KHTMLSettings::windowFocusPolicy | ( | const QString & | hostname = QString() |
) | const |
Definition at line 832 of file khtml_settings.cpp.
KHTMLSettings::KJSWindowMovePolicy KHTMLSettings::windowMovePolicy | ( | const QString & | hostname = QString() |
) | const |
Definition at line 817 of file khtml_settings.cpp.
KHTMLSettings::KJSWindowOpenPolicy KHTMLSettings::windowOpenPolicy | ( | const QString & | hostname = QString() |
) | const |
Definition at line 812 of file khtml_settings.cpp.
KHTMLSettings::KJSWindowResizePolicy KHTMLSettings::windowResizePolicy | ( | const QString & | hostname = QString() |
) | const |
Definition at line 822 of file khtml_settings.cpp.
KHTMLSettings::KJSWindowStatusPolicy KHTMLSettings::windowStatusPolicy | ( | const QString & | hostname = QString() |
) | const |
Definition at line 827 of file khtml_settings.cpp.
The documentation for this class was generated from the following files: