KHTML
KHTMLSettings Class Reference
#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.
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 86 of file khtml_settings.h.
This enum specifies the policy for window.resizeBy and .resizeTo.
Definition at line 94 of file khtml_settings.h.
This enum specifies the policy for window.status and .defaultStatus.
Definition at line 78 of file khtml_settings.h.
Definition at line 59 of file khtml_settings.h.
Constructor & Destructor Documentation
| KHTMLSettings::KHTMLSettings | ( | ) |
Definition at line 261 of file khtml_settings.cc.
| KHTMLSettings::KHTMLSettings | ( | const KHTMLSettings & | other | ) |
Definition at line 267 of file khtml_settings.cc.
| KHTMLSettings::~KHTMLSettings | ( | ) | [virtual] |
Destructor.
Don't delete any instance by yourself.
Definition at line 273 of file khtml_settings.cc.
Member Function Documentation
| bool KHTMLSettings::accessKeysEnabled | ( | ) | const |
Definition at line 704 of file khtml_settings.cc.
| void KHTMLSettings::addAdFilter | ( | const QString & | url | ) |
Definition at line 732 of file khtml_settings.cc.
| const char * KHTMLSettings::adviceToStr | ( | KJavaScriptAdvice | _advice | ) | [static] |
Definition at line 152 of file khtml_settings.cc.
| bool KHTMLSettings::allowTabulation | ( | ) | const |
Definition at line 1028 of file khtml_settings.cc.
| bool KHTMLSettings::autoLoadImages | ( | ) | const |
Definition at line 989 of file khtml_settings.cc.
| bool KHTMLSettings::autoSpellCheck | ( | ) | const |
Definition at line 1033 of file khtml_settings.cc.
| const QString & KHTMLSettings::availableFamilies | ( | ) | [static] |
Definition at line 864 of file khtml_settings.cc.
| const QColor & KHTMLSettings::baseColor | ( | ) | const |
Definition at line 974 of file khtml_settings.cc.
| bool KHTMLSettings::changeCursor | ( | ) | const |
Definition at line 278 of file khtml_settings.cc.
| QString KHTMLSettings::cursiveFontName | ( | ) | const |
Definition at line 920 of file khtml_settings.cc.
| const QString & KHTMLSettings::encoding | ( | ) | const |
Definition at line 959 of file khtml_settings.cc.
Definition at line 1038 of file khtml_settings.cc.
| QString KHTMLSettings::fantasyFontName | ( | ) | const |
Definition at line 925 of file khtml_settings.cc.
| QString KHTMLSettings::fixedFontName | ( | ) | const |
Definition at line 905 of file khtml_settings.cc.
| bool KHTMLSettings::followSystemColors | ( | ) | const |
Definition at line 964 of file khtml_settings.cc.
| bool KHTMLSettings::hoverLink | ( | ) | const |
Definition at line 288 of file khtml_settings.cc.
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 305 of file khtml_settings.cc.
| void KHTMLSettings::init | ( | ) |
Definition at line 719 of file khtml_settings.cc.
| bool KHTMLSettings::isAdFilterEnabled | ( | ) | const |
Definition at line 709 of file khtml_settings.cc.
| bool KHTMLSettings::isAutoDelayedActionsEnabled | ( | ) | const |
Definition at line 1009 of file khtml_settings.cc.
| bool KHTMLSettings::isBackRightClickEnabled | ( | ) |
Definition at line 699 of file khtml_settings.cc.
| bool KHTMLSettings::isFormCompletionEnabled | ( | ) | const |
Definition at line 949 of file khtml_settings.cc.
| bool KHTMLSettings::isHideAdsEnabled | ( | ) | const |
Definition at line 714 of file khtml_settings.cc.
Definition at line 771 of file khtml_settings.cc.
Definition at line 781 of file khtml_settings.cc.
Definition at line 776 of file khtml_settings.cc.
| bool KHTMLSettings::isJavaScriptErrorReportingEnabled | ( | const QString & | hostname = QString() |
) | const |
Definition at line 787 of file khtml_settings.cc.
| bool KHTMLSettings::isOpenMiddleClickEnabled | ( | ) |
Definition at line 694 of file khtml_settings.cc.
Definition at line 793 of file khtml_settings.cc.
| bool KHTMLSettings::jsErrorsEnabled | ( | ) | const |
Definition at line 1014 of file khtml_settings.cc.
| bool KHTMLSettings::jsPopupBlockerPassivePopup | ( | ) | const |
Definition at line 1052 of file khtml_settings.cc.
| const QColor & KHTMLSettings::linkColor | ( | ) | const |
Definition at line 979 of file khtml_settings.cc.
| int KHTMLSettings::maxFormCompletionItems | ( | ) | const |
Definition at line 954 of file khtml_settings.cc.
| int KHTMLSettings::mediumFontSize | ( | ) | const |
Definition at line 823 of file khtml_settings.cc.
| int KHTMLSettings::minFontSize | ( | ) | const |
Definition at line 828 of file khtml_settings.cc.
| 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 192 of file khtml_settings.cc.
| QString KHTMLSettings::sansSerifFontName | ( | ) | const |
Definition at line 915 of file khtml_settings.cc.
| QString KHTMLSettings::serifFontName | ( | ) | const |
Definition at line 910 of file khtml_settings.cc.
| void KHTMLSettings::setFixedFontName | ( | const QString & | n | ) |
Definition at line 937 of file khtml_settings.cc.
| void KHTMLSettings::setJSErrorsEnabled | ( | bool | enabled | ) |
Definition at line 1019 of file khtml_settings.cc.
| void KHTMLSettings::setJSPopupBlockerPassivePopup | ( | bool | enabled | ) |
Definition at line 1043 of file khtml_settings.cc.
| void KHTMLSettings::setStdFontName | ( | const QString & | n | ) |
Definition at line 930 of file khtml_settings.cc.
| QString KHTMLSettings::settingsToCSS | ( | ) | const |
Definition at line 833 of file khtml_settings.cc.
| KHTMLSettings::KAnimationAdvice KHTMLSettings::showAnimations | ( | ) | const |
Definition at line 999 of file khtml_settings.cc.
| KHTMLSettings::KSmoothScrollingMode KHTMLSettings::smoothScrolling | ( | ) | const |
Definition at line 1004 of file khtml_settings.cc.
| void KHTMLSettings::splitDomainAdvice | ( | const QString & | configStr, | |
| QString & | domain, | |||
| KJavaScriptAdvice & | javaAdvice, | |||
| KJavaScriptAdvice & | javaScriptAdvice | |||
| ) | [static] |
Definition at line 163 of file khtml_settings.cc.
| QString KHTMLSettings::stdFontName | ( | ) | const |
Definition at line 900 of file khtml_settings.cc.
| KHTMLSettings::KJavaScriptAdvice KHTMLSettings::strToAdvice | ( | const QString & | _str | ) | [static] |
Definition at line 137 of file khtml_settings.cc.
| const QColor & KHTMLSettings::textColor | ( | ) | const |
Definition at line 969 of file khtml_settings.cc.
| bool KHTMLSettings::underlineLink | ( | ) | const |
Definition at line 283 of file khtml_settings.cc.
| bool KHTMLSettings::unfinishedImageFrame | ( | ) | const |
Definition at line 994 of file khtml_settings.cc.
| QString KHTMLSettings::userStyleSheet | ( | ) | const |
Definition at line 944 of file khtml_settings.cc.
| const QColor & KHTMLSettings::vLinkColor | ( | ) | const |
Definition at line 984 of file khtml_settings.cc.
| KHTMLSettings::KJSWindowFocusPolicy KHTMLSettings::windowFocusPolicy | ( | const QString & | hostname = QString() |
) | const |
Definition at line 818 of file khtml_settings.cc.
| KHTMLSettings::KJSWindowMovePolicy KHTMLSettings::windowMovePolicy | ( | const QString & | hostname = QString() |
) | const |
Definition at line 803 of file khtml_settings.cc.
| KHTMLSettings::KJSWindowOpenPolicy KHTMLSettings::windowOpenPolicy | ( | const QString & | hostname = QString() |
) | const |
Definition at line 798 of file khtml_settings.cc.
| KHTMLSettings::KJSWindowResizePolicy KHTMLSettings::windowResizePolicy | ( | const QString & | hostname = QString() |
) | const |
Definition at line 808 of file khtml_settings.cc.
| KHTMLSettings::KJSWindowStatusPolicy KHTMLSettings::windowStatusPolicy | ( | const QString & | hostname = QString() |
) | const |
Definition at line 813 of file khtml_settings.cc.
The documentation for this class was generated from the following files:
KDE 4.1 API Reference