KHTML
KHTMLSettings Class Reference
Settings for the HTML view. More...
#include <khtml_settings.h>
Detailed Description
Settings for the HTML view.Definition at line 38 of file khtml_settings.h.
Member Enumeration Documentation
Definition at line 51 of file khtml_settings.h.
This enum specifies whether Java/JavaScript execution is allowed.
Definition at line 45 of file khtml_settings.h.
This enum specifies the policy for window.moveBy and .moveTo.
Definition at line 78 of file khtml_settings.h.
This enum specifies the policy for window.resizeBy and .resizeTo.
Definition at line 86 of file khtml_settings.h.
This enum specifies the policy for window.status and .defaultStatus.
Definition at line 70 of file khtml_settings.h.
Constructor & Destructor Documentation
KHTMLSettings::KHTMLSettings | ( | ) |
KHTMLSettings::KHTMLSettings | ( | const KHTMLSettings & | other | ) |
Definition at line 264 of file khtml_settings.cc.
KHTMLSettings::~KHTMLSettings | ( | ) | [virtual] |
Destructor.
Don't delete any instance by yourself.
Definition at line 270 of file khtml_settings.cc.
Member Function Documentation
bool KHTMLSettings::accessKeysEnabled | ( | ) | const |
Definition at line 706 of file khtml_settings.cc.
void KHTMLSettings::addAdFilter | ( | const QString & | url | ) |
Definition at line 742 of file khtml_settings.cc.
const char * KHTMLSettings::adviceToStr | ( | KJavaScriptAdvice | _advice | ) | [static] |
Definition at line 149 of file khtml_settings.cc.
bool KHTMLSettings::allowTabulation | ( | ) | const |
Definition at line 1036 of file khtml_settings.cc.
bool KHTMLSettings::autoLoadImages | ( | ) | const |
Definition at line 1001 of file khtml_settings.cc.
bool KHTMLSettings::autoSpellCheck | ( | ) | const |
Definition at line 1041 of file khtml_settings.cc.
const QString & KHTMLSettings::availableFamilies | ( | ) | [static] |
Definition at line 876 of file khtml_settings.cc.
const QColor & KHTMLSettings::baseColor | ( | ) | const |
Definition at line 986 of file khtml_settings.cc.
bool KHTMLSettings::changeCursor | ( | ) | const |
Definition at line 275 of file khtml_settings.cc.
QString KHTMLSettings::cursiveFontName | ( | ) | const |
Definition at line 932 of file khtml_settings.cc.
const QString & KHTMLSettings::encoding | ( | ) | const |
Definition at line 971 of file khtml_settings.cc.
QValueList< QPair< QString, QChar > > KHTMLSettings::fallbackAccessKeysAssignments | ( | ) | const |
Definition at line 1046 of file khtml_settings.cc.
QString KHTMLSettings::fantasyFontName | ( | ) | const |
Definition at line 937 of file khtml_settings.cc.
QString KHTMLSettings::fixedFontName | ( | ) | const |
Definition at line 917 of file khtml_settings.cc.
bool KHTMLSettings::followSystemColors | ( | ) | const |
Definition at line 976 of file khtml_settings.cc.
bool KHTMLSettings::hoverLink | ( | ) | const |
Definition at line 285 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 302 of file khtml_settings.cc.
void KHTMLSettings::init | ( | ) |
Definition at line 721 of file khtml_settings.cc.
bool KHTMLSettings::isAdFilterEnabled | ( | ) | const |
Definition at line 711 of file khtml_settings.cc.
bool KHTMLSettings::isAutoDelayedActionsEnabled | ( | ) | const |
Definition at line 1016 of file khtml_settings.cc.
bool KHTMLSettings::isBackRightClickEnabled | ( | ) |
Definition at line 701 of file khtml_settings.cc.
bool KHTMLSettings::isFormCompletionEnabled | ( | ) | const |
Definition at line 961 of file khtml_settings.cc.
bool KHTMLSettings::isHideAdsEnabled | ( | ) | const |
Definition at line 716 of file khtml_settings.cc.
Definition at line 783 of file khtml_settings.cc.
Definition at line 793 of file khtml_settings.cc.
Definition at line 788 of file khtml_settings.cc.
bool KHTMLSettings::isJavaScriptErrorReportingEnabled | ( | const QString & | hostname = QString::null |
) | const |
Definition at line 799 of file khtml_settings.cc.
bool KHTMLSettings::isOpenMiddleClickEnabled | ( | ) |
Definition at line 696 of file khtml_settings.cc.
Definition at line 805 of file khtml_settings.cc.
bool KHTMLSettings::jsErrorsEnabled | ( | ) | const |
Definition at line 1021 of file khtml_settings.cc.
bool KHTMLSettings::jsPopupBlockerPassivePopup | ( | ) | const |
Definition at line 1061 of file khtml_settings.cc.
const QColor & KHTMLSettings::linkColor | ( | ) | const |
Definition at line 991 of file khtml_settings.cc.
int KHTMLSettings::maxFormCompletionItems | ( | ) | const |
Definition at line 966 of file khtml_settings.cc.
int KHTMLSettings::mediumFontSize | ( | ) | const |
Definition at line 835 of file khtml_settings.cc.
int KHTMLSettings::minFontSize | ( | ) | const |
Definition at line 840 of file khtml_settings.cc.
void KHTMLSettings::readDomainSettings | ( | KConfig * | 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 189 of file khtml_settings.cc.
QString KHTMLSettings::sansSerifFontName | ( | ) | const |
Definition at line 927 of file khtml_settings.cc.
QString KHTMLSettings::serifFontName | ( | ) | const |
Definition at line 922 of file khtml_settings.cc.
void KHTMLSettings::setFixedFontName | ( | const QString & | n | ) |
Definition at line 949 of file khtml_settings.cc.
void KHTMLSettings::setJSErrorsEnabled | ( | bool | enabled | ) |
Definition at line 1026 of file khtml_settings.cc.
void KHTMLSettings::setJSPopupBlockerPassivePopup | ( | bool | enabled | ) |
Definition at line 1051 of file khtml_settings.cc.
void KHTMLSettings::setStdFontName | ( | const QString & | n | ) |
Definition at line 942 of file khtml_settings.cc.
QString KHTMLSettings::settingsToCSS | ( | ) | const |
Definition at line 845 of file khtml_settings.cc.
KHTMLSettings::KAnimationAdvice KHTMLSettings::showAnimations | ( | ) | const |
Definition at line 1011 of file khtml_settings.cc.
void KHTMLSettings::splitDomainAdvice | ( | const QString & | configStr, | |
QString & | domain, | |||
KJavaScriptAdvice & | javaAdvice, | |||
KJavaScriptAdvice & | javaScriptAdvice | |||
) | [static] |
Definition at line 160 of file khtml_settings.cc.
QString KHTMLSettings::stdFontName | ( | ) | const |
Definition at line 912 of file khtml_settings.cc.
KHTMLSettings::KJavaScriptAdvice KHTMLSettings::strToAdvice | ( | const QString & | _str | ) | [static] |
Definition at line 134 of file khtml_settings.cc.
const QColor & KHTMLSettings::textColor | ( | ) | const |
Definition at line 981 of file khtml_settings.cc.
bool KHTMLSettings::underlineLink | ( | ) | const |
Definition at line 280 of file khtml_settings.cc.
bool KHTMLSettings::unfinishedImageFrame | ( | ) | const |
Definition at line 1006 of file khtml_settings.cc.
QString KHTMLSettings::userStyleSheet | ( | ) | const |
Definition at line 956 of file khtml_settings.cc.
const QColor & KHTMLSettings::vLinkColor | ( | ) | const |
Definition at line 996 of file khtml_settings.cc.
KHTMLSettings::KJSWindowFocusPolicy KHTMLSettings::windowFocusPolicy | ( | const QString & | hostname = QString::null |
) | const |
Definition at line 830 of file khtml_settings.cc.
KHTMLSettings::KJSWindowMovePolicy KHTMLSettings::windowMovePolicy | ( | const QString & | hostname = QString::null |
) | const |
Definition at line 815 of file khtml_settings.cc.
KHTMLSettings::KJSWindowOpenPolicy KHTMLSettings::windowOpenPolicy | ( | const QString & | hostname = QString::null |
) | const |
Definition at line 810 of file khtml_settings.cc.
KHTMLSettings::KJSWindowResizePolicy KHTMLSettings::windowResizePolicy | ( | const QString & | hostname = QString::null |
) | const |
Definition at line 820 of file khtml_settings.cc.
KHTMLSettings::KJSWindowStatusPolicy KHTMLSettings::windowStatusPolicy | ( | const QString & | hostname = QString::null |
) | const |
Definition at line 825 of file khtml_settings.cc.
The documentation for this class was generated from the following files: