Lines Matching refs:QWebSettings
64 #include <qwebsettings.h>
141 QWebSettings* globalSettings = QWebSettings::globalSettings();
143 globalSettings->setFontSize(QWebSettings::MinimumFontSize, 0);
144 globalSettings->setFontSize(QWebSettings::MinimumLogicalFontSize, 5);
145 globalSettings->setFontSize(QWebSettings::DefaultFontSize, 16);
146 globalSettings->setFontSize(QWebSettings::DefaultFixedFontSize, 13);
148 globalSettings->setAttribute(QWebSettings::JavascriptCanOpenWindows, true);
149 globalSettings->setAttribute(QWebSettings::JavascriptCanAccessClipboard, true);
150 globalSettings->setAttribute(QWebSettings::LinksIncludedInFocusChain, false);
151 globalSettings->setAttribute(QWebSettings::PluginsEnabled, true);
152 globalSettings->setAttribute(QWebSettings::LocalContentCanAccessRemoteUrls, true);
153 globalSettings->setAttribute(QWebSettings::JavascriptEnabled, true);
154 globalSettings->setAttribute(QWebSettings::PrivateBrowsingEnabled, false);
155 globalSettings->setAttribute(QWebSettings::SpatialNavigationEnabled, false);
185 settings()->resetFontSize(QWebSettings::DefaultFontSize);
186 settings()->resetAttribute(QWebSettings::JavascriptCanOpenWindows);
187 settings()->resetAttribute(QWebSettings::JavascriptEnabled);
188 settings()->resetAttribute(QWebSettings::PrivateBrowsingEnabled);
189 settings()->resetAttribute(QWebSettings::SpatialNavigationEnabled);
190 settings()->resetAttribute(QWebSettings::LinksIncludedInFocusChain);
191 settings()->resetAttribute(QWebSettings::OfflineWebApplicationCacheEnabled);
192 settings()->resetAttribute(QWebSettings::LocalContentCanAccessRemoteUrls);
193 settings()->resetAttribute(QWebSettings::LocalContentCanAccessFileUrls);
194 settings()->resetAttribute(QWebSettings::PluginsEnabled);
195 settings()->resetAttribute(QWebSettings::JavascriptCanAccessClipboard);
196 settings()->resetAttribute(QWebSettings::AutoLoadImages);
206 QWebSettings::setMaximumPagesInCache(0); // reset to default
430 QWebSettings::enablePersistentStorage(m_persistentStoragePath);
645 QWebSettings::clearMemoryCaches();