• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KHTML

  • khtml
khtmlpart_p.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 *
3 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
4 * 1999-2001 Lars Knoll <knoll@kde.org>
5 * 1999-2001 Antti Koivisto <koivisto@kde.org>
6 * 2000-2001 Simon Hausmann <hausmann@kde.org>
7 * 2000-2001 Dirk Mueller <mueller@kde.org>
8 * 2000 Stefan Schimanski <1Stein@gmx.de>
9 * 2001-2005 George Staikos <staikos@kde.org>
10 *
11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Library General Public
13 * License as published by the Free Software Foundation; either
14 * version 2 of the License, or (at your option) any later version.
15 *
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Library General Public License for more details.
20 *
21 * You should have received a copy of the GNU Library General Public License
22 * along with this library; see the file COPYING.LIB. If not, write to
23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24 * Boston, MA 02110-1301, USA.
25 */
26#ifndef khtmlpart_p_h
27#define khtmlpart_p_h
28
29#include <kcursor.h>
30#include <kxmlguifactory.h>
31#include <kaction.h>
32#include <kparts/partmanager.h>
33#include <kparts/statusbarextension.h>
34#include <kparts/browserextension.h>
35#include <kparts/scriptableextension.h>
36
37#include <QtCore/QDate>
38#include <QtCore/QPointer>
39#include <QtCore/QMap>
40#include <QtCore/QTimer>
41#include <QtCore/QList>
42#include <QtCore/QQueue>
43
44#include "html/html_formimpl.h"
45#include "html/html_objectimpl.h"
46#include "khtml_run.h"
47#include "khtml_global.h"
48#include "khtml_events.h"
49#include "khtml_ext.h"
50#include "khtml_settings.h"
51#include "khtml_childframe_p.h"
52
53#include <kencodingdetector.h>
54#include "ecma/kjs_proxy.h"
55#include "xml/dom_nodeimpl.h"
56#include "editing/editing_p.h"
57#include "ui/findbar/khtmlfind_p.h"
58#include "ui/passwordbar/storepassbar.h"
59#include "ecma/kjs_scriptable.h"
60
61class KFind;
62class KFindDialog;
63class KCodecAction;
64class KUrlLabel;
65class KJavaAppletContext;
66class KJSErrorDlg;
67class KToggleAction;
68class KHTMLViewBar;
69
70namespace KIO
71{
72 class Job;
73 class TransferJob;
74}
75namespace KParts
76{
77 class StatusBarExtension;
78}
79
80#include "khtml_wallet_p.h"
81
82enum MimeType {
83 MimeHTML,
84 MimeSVG,
85 MimeXHTML,
86 MimeXML, // XML but not SVG or XHTML
87 MimeImage,
88 MimeText,
89 MimeOther
90};
91
92
93class KHTMLPartPrivate
94{
95 KHTMLPartPrivate(const KHTMLPartPrivate & other);
96 KHTMLPartPrivate& operator=(const KHTMLPartPrivate&);
97public:
98 KHTMLPartPrivate(KHTMLPart* part, QObject* parent) :
99 m_find( part, (part->parentPart() ? &part->parentPart()->d->m_find : 0) ), m_storePass( part )
100 {
101 q = part;
102 m_doc = 0L;
103 m_decoder = 0L;
104#ifndef KHTML_NO_WALLET
105 m_wallet = 0L;
106#endif
107 m_bWalletOpened = false;
108 m_runningScripts = 0;
109 m_job = 0L;
110 m_bComplete = true;
111 m_bLoadEventEmitted = true;
112 m_cachePolicy = KIO::CC_Verify;
113 m_manager = 0L;
114 m_settings = new KHTMLSettings(*KHTMLGlobal::defaultHTMLSettings());
115 m_bClearing = false;
116 m_bCleared = false;
117 m_zoomFactor = 100;
118 m_fontScaleFactor = 100;
119 m_bDnd = true;
120 m_linkCursor = QCursor(Qt::PointingHandCursor);
121 m_loadedObjects = 0;
122 m_totalObjectCount = 0;
123 m_jobPercent = 0;
124 m_haveEncoding = false;
125 m_activeFrame = 0L;
126 m_ssl_in_use = false;
127 m_jsedlg = 0;
128 m_formNotification = KHTMLPart::NoNotification;
129
130 m_cacheId = 0;
131 m_frameNameId = 1;
132
133 m_restored = false;
134 m_restoreScrollPosition = false;
135
136 m_focusNodeNumber = -1;
137 m_focusNodeRestored = false;
138
139 m_bJScriptForce = false;
140 m_bJScriptOverride = false;
141 m_bJavaForce = false;
142 m_bJavaOverride = false;
143 m_bPluginsForce = false;
144 m_bPluginsOverride = false;
145 m_onlyLocalReferences = false;
146 m_forcePermitLocalImages = false;
147 m_bDNSPrefetch = KHTMLPart::DNSPrefetchDisabled;
148 m_bDNSPrefetchIsDefault = true;
149 m_DNSPrefetchTimer = -1;
150 m_DNSTTLTimer = -1;
151 m_numDNSPrefetchedNames = 0;
152
153 m_caretMode = false;
154 m_designMode = false;
155
156 m_metaRefreshEnabled = true;
157 m_statusMessagesEnabled = true;
158
159 m_bFirstData = true;
160 m_bStrictModeQuirk = true;
161 m_submitForm = 0;
162 m_delayRedirect = 0;
163 m_autoDetectLanguage = KEncodingDetector::SemiautomaticDetection;
164
165 // inherit settings from parent
166 if(parent && parent->inherits("KHTMLPart"))
167 {
168 KHTMLPart* part = static_cast<KHTMLPart*>(parent);
169 if(part->d)
170 {
171 m_bJScriptForce = part->d->m_bJScriptForce;
172 m_bJScriptOverride = part->d->m_bJScriptOverride;
173 m_bJavaForce = part->d->m_bJavaForce;
174 m_bJavaOverride = part->d->m_bJavaOverride;
175 m_bPluginsForce = part->d->m_bPluginsForce;
176 m_bPluginsOverride = part->d->m_bPluginsOverride;
177 m_bDNSPrefetch = part->d->m_bDNSPrefetch;
178 m_bDNSPrefetchIsDefault = part->d->m_bDNSPrefetchIsDefault;
179 m_onlyLocalReferences = part->d->m_onlyLocalReferences;
180 m_forcePermitLocalImages = part->d->m_forcePermitLocalImages;
181 // Same for SSL settings
182 m_ssl_in_use = part->d->m_ssl_in_use;
183 m_caretMode = part->d->m_caretMode;
184 m_designMode = part->d->m_designMode;
185 m_zoomFactor = part->d->m_zoomFactor;
186 m_fontScaleFactor = part->d->m_fontScaleFactor;
187 m_autoDetectLanguage = part->d->m_autoDetectLanguage;
188 m_encoding = part->d->m_encoding;
189 m_haveEncoding = part->d->m_haveEncoding;
190 }
191 }
192
193 m_focusNodeNumber = -1;
194 m_focusNodeRestored = false;
195 m_opener = 0;
196 m_openedByJS = false;
197 m_newJSInterpreterExists = false;
198 m_jobspeed = 0;
199 m_statusBarWalletLabel = 0L;
200 m_statusBarUALabel = 0L;
201 m_statusBarJSErrorLabel = 0L;
202 m_userStyleSheetLastModified = 0;
203#ifndef KHTML_NO_WALLET
204 m_wq = 0;
205#endif
206 }
207 ~KHTMLPartPrivate()
208 {
209 delete m_statusBarExtension;
210 delete m_scriptableExtension;
211 delete m_extension;
212 delete m_settings;
213#ifndef KHTML_NO_WALLET
214 delete m_wallet;
215#endif
216#ifndef Q_WS_QWS
217 //delete m_javaContext;
218#endif
219 }
220
221 KHTMLPart* q;
222
223 QPointer<khtml::ChildFrame> m_frame;
224 KHTMLFrameList m_frames;
225 KHTMLFrameList m_objects;
226
227 QPointer<KHTMLView> m_view;
228 QPointer<KHTMLViewBar> m_topViewBar;
229 QPointer<KHTMLViewBar> m_bottomViewBar;
230 KHTMLPartBrowserExtension *m_extension;
231 KParts::StatusBarExtension *m_statusBarExtension;
232 KHTMLPartBrowserHostExtension *m_hostExtension;
233 KJS::KHTMLPartScriptable *m_scriptableExtension;
234 KUrlLabel* m_statusBarIconLabel;
235 KUrlLabel* m_statusBarWalletLabel;
236 KUrlLabel* m_statusBarUALabel;
237 KUrlLabel* m_statusBarJSErrorLabel;
238 KUrlLabel* m_statusBarPopupLabel;
239 QList<QPointer<KHTMLPart> > m_suppressedPopupOriginParts; // We need to guard these in case the origin
240 // is a child part.
241 int m_openableSuppressedPopups;
242 DOM::DocumentImpl *m_doc;
243 KEncodingDetector::AutoDetectScript m_autoDetectLanguage;
244 KEncodingDetector *m_decoder;
245 QString m_encoding;
246 QString m_sheetUsed;
247 qlonglong m_cacheId;
248
249#ifndef KHTML_NO_WALLET
250 KWallet::Wallet* m_wallet;
251 QStringList m_walletForms;
252#endif
253 int m_runningScripts;
254 bool m_bOpenMiddleClick;
255 bool m_bJScriptEnabled;
256 bool m_bJScriptDebugEnabled;
257 bool m_bJavaEnabled;
258 bool m_bPluginsEnabled;
259 bool m_bJScriptForce;
260 bool m_bJScriptOverride;
261 bool m_bJavaForce;
262 bool m_bJavaOverride;
263 bool m_bPluginsForce;
264 bool m_metaRefreshEnabled;
265 bool m_bPluginsOverride;
266 bool m_restored;
267 bool m_restoreScrollPosition;
268 bool m_statusMessagesEnabled;
269 bool m_bWalletOpened;
270 bool m_urlSelectedOpenedURL; // KDE4: remove
271 bool m_bDNSPrefetchIsDefault;
272 int m_DNSPrefetchTimer;
273 int m_DNSTTLTimer;
274 int m_numDNSPrefetchedNames;
275 QQueue<QString> m_DNSPrefetchQueue;
276 KHTMLPart::DNSPrefetch m_bDNSPrefetch;
277 int m_frameNameId;
278
279 KHTMLSettings *m_settings;
280
281 KIO::TransferJob * m_job;
282
283 QString m_statusBarText[3];
284 unsigned long m_jobspeed;
285 QString m_lastModified;
286 QString m_httpHeaders;
287 QString m_pageServices;
288
289 // QStrings for SSL metadata
290 // Note: When adding new variables don't forget to update ::saveState()/::restoreState()!
291 QString m_ssl_peer_chain,
292 m_ssl_peer_ip,
293 m_ssl_cipher,
294 m_ssl_protocol_version,
295 m_ssl_cipher_used_bits,
296 m_ssl_cipher_bits,
297 m_ssl_cert_errors,
298 m_ssl_parent_ip,
299 m_ssl_parent_cert;
300 bool m_ssl_in_use;
301
302 bool m_bComplete;
303 bool m_bLoadEventEmitted;
304 bool m_haveEncoding;
305 bool m_onlyLocalReferences;
306 bool m_forcePermitLocalImages;
307 bool m_redirectLockHistory;
308
309 KUrl m_workingURL;
310
311 KIO::CacheControl m_cachePolicy;
312 QTimer m_redirectionTimer;
313 QTime m_parsetime;
314 int m_delayRedirect;
315 QString m_redirectURL;
316
317 KAction *m_paViewDocument;
318 KAction *m_paViewFrame;
319 KAction *m_paViewInfo;
320 KAction *m_paSaveBackground;
321 KAction *m_paSaveDocument;
322 KAction *m_paSaveFrame;
323 KAction *m_paSecurity;
324 KCodecAction *m_paSetEncoding;
325 KSelectAction *m_paUseStylesheet;
326 KSelectAction *m_paIncZoomFactor;
327 KSelectAction *m_paDecZoomFactor;
328 KAction *m_paLoadImages;
329 KAction *m_paFind;
330 KAction *m_paFindNext;
331 KAction *m_paFindPrev;
332 KAction *m_paFindAheadText;
333 KAction *m_paFindAheadLinks;
334 KAction *m_paPrintFrame;
335 KAction *m_paSelectAll;
336 KAction *m_paDebugScript;
337 KAction *m_paDebugDOMTree;
338 KAction *m_paDebugRenderTree;
339 KAction *m_paStopAnimations;
340 KToggleAction *m_paToggleCaretMode;
341 QMap<QAction*, int> m_paLanguageMap;
342
343 KParts::PartManager *m_manager;
344
345 KHTMLPart::GUIProfile m_guiProfile;
346
347 int m_zoomFactor;
348 int m_fontScaleFactor;
349
350 QString m_strSelectedURL;
351 QString m_strSelectedURLTarget;
352 QString m_referrer;
353 QString m_pageReferrer;
354
355 struct SubmitForm
356 {
357 const char *submitAction;
358 QString submitUrl;
359 QByteArray submitFormData;
360 QString target;
361 QString submitContentType;
362 QString submitBoundary;
363 };
364
365 SubmitForm *m_submitForm;
366
367 bool m_bMousePressed;
368 bool m_bRightMousePressed;
369 DOM::Node m_mousePressNode; //node under the mouse when the mouse was pressed (set in the mouse handler)
370
371 khtml::EditorContext editor_context;
372
373 QString m_overURL;
374 QString m_overURLTarget;
375
376 bool m_bDnd;
377 bool m_bFirstData;
378 bool m_bStrictModeQuirk;
379 bool m_bClearing;
380 bool m_bCleared;
381 bool m_focusNodeRestored;
382
383 int m_focusNodeNumber;
384
385 QPoint m_dragStartPos;
386#ifdef KHTML_NO_SELECTION
387 QPoint m_dragLastPos;
388#endif
389
390 bool m_designMode;
391 bool m_caretMode;
392
393 QCursor m_linkCursor;
394 QTimer m_scrollTimer;
395
396 unsigned long m_loadedObjects;
397 unsigned long m_totalObjectCount;
398 unsigned int m_jobPercent;
399
400 KHTMLPart::FormNotification m_formNotification;
401 QTimer m_progressUpdateTimer;
402
403 QStringList m_pluginPageQuestionAsked;
404
405 KHTMLFind m_find;
406 StorePass m_storePass;
407
408 KJSErrorDlg *m_jsedlg;
409
410 //QGuardedPtr<KParts::Part> m_activeFrame;
411 KParts::Part * m_activeFrame;
412 QPointer<KHTMLPart> m_opener;
413 bool m_openedByJS;
414 bool m_newJSInterpreterExists; // set to 1 by setOpenedByJS, for window.open
415
416 void setFlagRecursively(bool KHTMLPartPrivate::*flag, bool value);
417
418 time_t m_userStyleSheetLastModified;
419
420 QSet<QString> m_lookedupHosts;
421 static bool s_dnsInitialised;
422
423#ifndef KHTML_NO_WALLET
424 KHTMLWalletQueue *m_wq;
425#endif
426
427 // Does determination of how we should handle the given type, as per HTML5 rules
428 MimeType classifyMimeType(const QString& mime);
429
430 void clearRedirection();
431
432 bool isLocalAnchorJump(const KUrl& url);
433 void executeAnchorJump(const KUrl& url, bool lockHistory);
434
435 static bool isJavaScriptURL(const QString& url);
436 static QString codeForJavaScriptURL(const QString& url);
437 void executeJavascriptURL(const QString &u);
438
439 bool isInPageURL(const QString& url) {
440 return isLocalAnchorJump(KUrl(url)) || isJavaScriptURL(url);
441 }
442
443 void executeInPageURL(const QString& url, bool lockHistory) {
444 KUrl kurl(url);
445 if (isLocalAnchorJump(kurl))
446 executeAnchorJump(kurl, lockHistory);
447 else
448 executeJavascriptURL(url);
449 }
450
451 void propagateInitialDomainAndBaseTo(KHTMLPart* kid);
452
453 void renameFrameForContainer(DOM::HTMLPartContainerElementImpl* cont,
454 const QString& newName);
455
456 KHTMLPart* findFrameParent(KParts::ReadOnlyPart* callingPart, const QString& f,
457 khtml::ChildFrame **childFrame, bool checkForNavigation);
458
459 bool canNavigate(KParts::ReadOnlyPart* b);
460 KHTMLPart* top();
461
462 // Check whether the frame is fully loaded.
463 // The return value doesn't consider any pending redirections.
464 // If the return value is true, however, pendingRedirections will
465 // report if there are any
466 bool isFullyLoaded(bool* pendingRedirections) const;
467};
468
469#endif
browserextension.h
DOM::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:271
KAction
KCodecAction
KEncodingDetector
KEncodingDetector::AutoDetectScript
AutoDetectScript
KEncodingDetector::SemiautomaticDetection
SemiautomaticDetection
KFindDialog
KFind
KHTMLFind
This class implements the find activity for the KHTMLPart.
Definition: khtmlfind_p.h:47
KHTMLGlobal::defaultHTMLSettings
static KHTMLSettings * defaultHTMLSettings()
Definition: khtml_global.cpp:237
KHTMLPartBrowserExtension
This is the BrowserExtension for a KHTMLPart document.
Definition: khtml_ext.h:44
KHTMLPartBrowserHostExtension
Definition: khtml_ext.h:95
KHTMLPartPrivate
Definition: khtmlpart_p.h:94
KHTMLPartPrivate::m_job
KIO::TransferJob * m_job
Definition: khtmlpart_p.h:281
KHTMLPartPrivate::m_paSetEncoding
KCodecAction * m_paSetEncoding
Definition: khtmlpart_p.h:324
KHTMLPartPrivate::m_wallet
KWallet::Wallet * m_wallet
Definition: khtmlpart_p.h:250
KHTMLPartPrivate::m_designMode
bool m_designMode
Definition: khtmlpart_p.h:390
KHTMLPartPrivate::m_ssl_cipher_used_bits
QString m_ssl_cipher_used_bits
Definition: khtmlpart_p.h:295
KHTMLPartPrivate::m_statusBarJSErrorLabel
KUrlLabel * m_statusBarJSErrorLabel
Definition: khtmlpart_p.h:237
KHTMLPartPrivate::m_openedByJS
bool m_openedByJS
Definition: khtmlpart_p.h:413
KHTMLPartPrivate::top
KHTMLPart * top()
Definition: khtml_part.cpp:5242
KHTMLPartPrivate::m_paStopAnimations
KAction * m_paStopAnimations
Definition: khtmlpart_p.h:339
KHTMLPartPrivate::m_paFindAheadText
KAction * m_paFindAheadText
Definition: khtmlpart_p.h:332
KHTMLPartPrivate::isLocalAnchorJump
bool isLocalAnchorJump(const KUrl &url)
Definition: khtml_part.cpp:620
KHTMLPartPrivate::m_bClearing
bool m_bClearing
Definition: khtmlpart_p.h:379
KHTMLPartPrivate::m_formNotification
KHTMLPart::FormNotification m_formNotification
Definition: khtmlpart_p.h:400
KHTMLPartPrivate::m_paViewInfo
KAction * m_paViewInfo
Definition: khtmlpart_p.h:319
KHTMLPartPrivate::m_bJScriptForce
bool m_bJScriptForce
Definition: khtmlpart_p.h:259
KHTMLPartPrivate::isFullyLoaded
bool isFullyLoaded(bool *pendingRedirections) const
Definition: khtml_part.cpp:2359
KHTMLPartPrivate::m_paDebugDOMTree
KAction * m_paDebugDOMTree
Definition: khtmlpart_p.h:337
KHTMLPartPrivate::executeAnchorJump
void executeAnchorJump(const KUrl &url, bool lockHistory)
Definition: khtml_part.cpp:631
KHTMLPartPrivate::m_pluginPageQuestionAsked
QStringList m_pluginPageQuestionAsked
Definition: khtmlpart_p.h:403
KHTMLPartPrivate::m_fontScaleFactor
int m_fontScaleFactor
Definition: khtmlpart_p.h:348
KHTMLPartPrivate::m_ssl_cipher_bits
QString m_ssl_cipher_bits
Definition: khtmlpart_p.h:296
KHTMLPartPrivate::canNavigate
bool canNavigate(KParts::ReadOnlyPart *b)
Definition: khtml_part.cpp:5250
KHTMLPartPrivate::m_DNSTTLTimer
int m_DNSTTLTimer
Definition: khtmlpart_p.h:273
KHTMLPartPrivate::m_workingURL
KUrl m_workingURL
Definition: khtmlpart_p.h:309
KHTMLPartPrivate::editor_context
khtml::EditorContext editor_context
Definition: khtmlpart_p.h:371
KHTMLPartPrivate::renameFrameForContainer
void renameFrameForContainer(DOM::HTMLPartContainerElementImpl *cont, const QString &newName)
Definition: khtml_part.cpp:5326
KHTMLPartPrivate::m_scrollTimer
QTimer m_scrollTimer
Definition: khtmlpart_p.h:394
KHTMLPartPrivate::m_overURL
QString m_overURL
Definition: khtmlpart_p.h:373
KHTMLPartPrivate::m_loadedObjects
unsigned long m_loadedObjects
Definition: khtmlpart_p.h:396
KHTMLPartPrivate::m_statusMessagesEnabled
bool m_statusMessagesEnabled
Definition: khtmlpart_p.h:268
KHTMLPartPrivate::m_runningScripts
int m_runningScripts
Definition: khtmlpart_p.h:253
KHTMLPartPrivate::m_mousePressNode
DOM::Node m_mousePressNode
Definition: khtmlpart_p.h:369
KHTMLPartPrivate::m_DNSPrefetchTimer
int m_DNSPrefetchTimer
Definition: khtmlpart_p.h:272
KHTMLPartPrivate::m_forcePermitLocalImages
bool m_forcePermitLocalImages
Definition: khtmlpart_p.h:306
KHTMLPartPrivate::m_ssl_parent_cert
QString m_ssl_parent_cert
Definition: khtmlpart_p.h:299
KHTMLPartPrivate::m_encoding
QString m_encoding
Definition: khtmlpart_p.h:245
KHTMLPartPrivate::m_cacheId
qlonglong m_cacheId
Definition: khtmlpart_p.h:247
KHTMLPartPrivate::q
KHTMLPart * q
Definition: khtmlpart_p.h:221
KHTMLPartPrivate::m_paViewFrame
KAction * m_paViewFrame
Definition: khtmlpart_p.h:318
KHTMLPartPrivate::m_bDNSPrefetch
KHTMLPart::DNSPrefetch m_bDNSPrefetch
Definition: khtmlpart_p.h:276
KHTMLPartPrivate::isInPageURL
bool isInPageURL(const QString &url)
Definition: khtmlpart_p.h:439
KHTMLPartPrivate::m_bCleared
bool m_bCleared
Definition: khtmlpart_p.h:380
KHTMLPartPrivate::m_haveEncoding
bool m_haveEncoding
Definition: khtmlpart_p.h:304
KHTMLPartPrivate::m_overURLTarget
QString m_overURLTarget
Definition: khtmlpart_p.h:374
KHTMLPartPrivate::m_bDnd
bool m_bDnd
Definition: khtmlpart_p.h:376
KHTMLPartPrivate::m_jobPercent
unsigned int m_jobPercent
Definition: khtmlpart_p.h:398
KHTMLPartPrivate::m_referrer
QString m_referrer
Definition: khtmlpart_p.h:352
KHTMLPartPrivate::m_view
QPointer< KHTMLView > m_view
Definition: khtmlpart_p.h:227
KHTMLPartPrivate::m_paLoadImages
KAction * m_paLoadImages
Definition: khtmlpart_p.h:328
KHTMLPartPrivate::m_paIncZoomFactor
KSelectAction * m_paIncZoomFactor
Definition: khtmlpart_p.h:326
KHTMLPartPrivate::m_totalObjectCount
unsigned long m_totalObjectCount
Definition: khtmlpart_p.h:397
KHTMLPartPrivate::m_suppressedPopupOriginParts
QList< QPointer< KHTMLPart > > m_suppressedPopupOriginParts
Definition: khtmlpart_p.h:239
KHTMLPartPrivate::m_paDebugScript
KAction * m_paDebugScript
Definition: khtmlpart_p.h:336
KHTMLPartPrivate::propagateInitialDomainAndBaseTo
void propagateInitialDomainAndBaseTo(KHTMLPart *kid)
Definition: khtml_part.cpp:5061
KHTMLPartPrivate::m_restoreScrollPosition
bool m_restoreScrollPosition
Definition: khtmlpart_p.h:267
KHTMLPartPrivate::executeJavascriptURL
void executeJavascriptURL(const QString &u)
Definition: khtml_part.cpp:2539
KHTMLPartPrivate::m_guiProfile
KHTMLPart::GUIProfile m_guiProfile
Definition: khtmlpart_p.h:345
KHTMLPartPrivate::m_paPrintFrame
KAction * m_paPrintFrame
Definition: khtmlpart_p.h:334
KHTMLPartPrivate::m_paUseStylesheet
KSelectAction * m_paUseStylesheet
Definition: khtmlpart_p.h:325
KHTMLPartPrivate::m_paLanguageMap
QMap< QAction *, int > m_paLanguageMap
Definition: khtmlpart_p.h:341
KHTMLPartPrivate::m_paSelectAll
KAction * m_paSelectAll
Definition: khtmlpart_p.h:335
KHTMLPartPrivate::m_parsetime
QTime m_parsetime
Definition: khtmlpart_p.h:313
KHTMLPartPrivate::m_wq
KHTMLWalletQueue * m_wq
Definition: khtmlpart_p.h:424
KHTMLPartPrivate::m_redirectLockHistory
bool m_redirectLockHistory
Definition: khtmlpart_p.h:307
KHTMLPartPrivate::classifyMimeType
MimeType classifyMimeType(const QString &mime)
Definition: khtml_part.cpp:1962
KHTMLPartPrivate::m_lookedupHosts
QSet< QString > m_lookedupHosts
Definition: khtmlpart_p.h:420
KHTMLPartPrivate::m_statusBarExtension
KParts::StatusBarExtension * m_statusBarExtension
Definition: khtmlpart_p.h:231
KHTMLPartPrivate::m_pageServices
QString m_pageServices
Definition: khtmlpart_p.h:287
KHTMLPartPrivate::m_restored
bool m_restored
Definition: khtmlpart_p.h:266
KHTMLPartPrivate::m_urlSelectedOpenedURL
bool m_urlSelectedOpenedURL
Definition: khtmlpart_p.h:270
KHTMLPartPrivate::m_bComplete
bool m_bComplete
Definition: khtmlpart_p.h:302
KHTMLPartPrivate::m_bRightMousePressed
bool m_bRightMousePressed
Definition: khtmlpart_p.h:368
KHTMLPartPrivate::m_bMousePressed
bool m_bMousePressed
Definition: khtmlpart_p.h:367
KHTMLPartPrivate::s_dnsInitialised
static bool s_dnsInitialised
Definition: khtmlpart_p.h:421
KHTMLPartPrivate::m_lastModified
QString m_lastModified
Definition: khtmlpart_p.h:285
KHTMLPartPrivate::setFlagRecursively
void setFlagRecursively(bool KHTMLPartPrivate::*flag, bool value)
Definition: khtml_part.cpp:2813
KHTMLPartPrivate::m_find
KHTMLFind m_find
Definition: khtmlpart_p.h:405
KHTMLPartPrivate::m_scriptableExtension
KJS::KHTMLPartScriptable * m_scriptableExtension
Definition: khtmlpart_p.h:233
KHTMLPartPrivate::m_bFirstData
bool m_bFirstData
Definition: khtmlpart_p.h:377
KHTMLPartPrivate::isJavaScriptURL
static bool isJavaScriptURL(const QString &url)
Definition: khtml_part.cpp:2553
KHTMLPartPrivate::m_storePass
StorePass m_storePass
Definition: khtmlpart_p.h:406
KHTMLPartPrivate::m_bJScriptDebugEnabled
bool m_bJScriptDebugEnabled
Definition: khtmlpart_p.h:256
KHTMLPartPrivate::m_focusNodeNumber
int m_focusNodeNumber
Definition: khtmlpart_p.h:383
KHTMLPartPrivate::m_redirectURL
QString m_redirectURL
Definition: khtmlpart_p.h:315
KHTMLPartPrivate::m_paViewDocument
KAction * m_paViewDocument
Definition: khtmlpart_p.h:317
KHTMLPartPrivate::m_paSaveBackground
KAction * m_paSaveBackground
Definition: khtmlpart_p.h:320
KHTMLPartPrivate::m_objects
KHTMLFrameList m_objects
Definition: khtmlpart_p.h:225
KHTMLPartPrivate::m_jsedlg
KJSErrorDlg * m_jsedlg
Definition: khtmlpart_p.h:408
KHTMLPartPrivate::findFrameParent
KHTMLPart * findFrameParent(KParts::ReadOnlyPart *callingPart, const QString &f, khtml::ChildFrame **childFrame, bool checkForNavigation)
Definition: khtml_part.cpp:5195
KHTMLPartPrivate::m_zoomFactor
int m_zoomFactor
Definition: khtmlpart_p.h:347
KHTMLPartPrivate::m_paToggleCaretMode
KToggleAction * m_paToggleCaretMode
Definition: khtmlpart_p.h:340
KHTMLPartPrivate::m_bJScriptOverride
bool m_bJScriptOverride
Definition: khtmlpart_p.h:260
KHTMLPartPrivate::m_ssl_in_use
bool m_ssl_in_use
Definition: khtmlpart_p.h:300
KHTMLPartPrivate::m_bJavaForce
bool m_bJavaForce
Definition: khtmlpart_p.h:261
KHTMLPartPrivate::m_dragStartPos
QPoint m_dragStartPos
Definition: khtmlpart_p.h:385
KHTMLPartPrivate::m_redirectionTimer
QTimer m_redirectionTimer
Definition: khtmlpart_p.h:312
KHTMLPartPrivate::m_extension
KHTMLPartBrowserExtension * m_extension
Definition: khtmlpart_p.h:230
KHTMLPartPrivate::m_hostExtension
KHTMLPartBrowserHostExtension * m_hostExtension
Definition: khtmlpart_p.h:232
KHTMLPartPrivate::m_pageReferrer
QString m_pageReferrer
Definition: khtmlpart_p.h:353
KHTMLPartPrivate::m_settings
KHTMLSettings * m_settings
Definition: khtmlpart_p.h:279
KHTMLPartPrivate::m_frame
QPointer< khtml::ChildFrame > m_frame
Definition: khtmlpart_p.h:223
KHTMLPartPrivate::m_numDNSPrefetchedNames
int m_numDNSPrefetchedNames
Definition: khtmlpart_p.h:274
KHTMLPartPrivate::m_jobspeed
unsigned long m_jobspeed
Definition: khtmlpart_p.h:284
KHTMLPartPrivate::m_paDecZoomFactor
KSelectAction * m_paDecZoomFactor
Definition: khtmlpart_p.h:327
KHTMLPartPrivate::m_ssl_cert_errors
QString m_ssl_cert_errors
Definition: khtmlpart_p.h:297
KHTMLPartPrivate::m_decoder
KEncodingDetector * m_decoder
Definition: khtmlpart_p.h:244
KHTMLPartPrivate::m_bPluginsEnabled
bool m_bPluginsEnabled
Definition: khtmlpart_p.h:258
KHTMLPartPrivate::m_progressUpdateTimer
QTimer m_progressUpdateTimer
Definition: khtmlpart_p.h:401
KHTMLPartPrivate::m_sheetUsed
QString m_sheetUsed
Definition: khtmlpart_p.h:246
KHTMLPartPrivate::m_statusBarUALabel
KUrlLabel * m_statusBarUALabel
Definition: khtmlpart_p.h:236
KHTMLPartPrivate::m_openableSuppressedPopups
int m_openableSuppressedPopups
Definition: khtmlpart_p.h:241
KHTMLPartPrivate::codeForJavaScriptURL
static QString codeForJavaScriptURL(const QString &url)
Definition: khtml_part.cpp:2534
KHTMLPartPrivate::m_ssl_protocol_version
QString m_ssl_protocol_version
Definition: khtmlpart_p.h:294
KHTMLPartPrivate::m_bJavaOverride
bool m_bJavaOverride
Definition: khtmlpart_p.h:262
KHTMLPartPrivate::m_strSelectedURLTarget
QString m_strSelectedURLTarget
Definition: khtmlpart_p.h:351
KHTMLPartPrivate::m_bWalletOpened
bool m_bWalletOpened
Definition: khtmlpart_p.h:269
KHTMLPartPrivate::m_bJavaEnabled
bool m_bJavaEnabled
Definition: khtmlpart_p.h:257
KHTMLPartPrivate::m_paFindAheadLinks
KAction * m_paFindAheadLinks
Definition: khtmlpart_p.h:333
KHTMLPartPrivate::m_ssl_parent_ip
QString m_ssl_parent_ip
Definition: khtmlpart_p.h:298
KHTMLPartPrivate::m_ssl_peer_ip
QString m_ssl_peer_ip
Definition: khtmlpart_p.h:292
KHTMLPartPrivate::m_doc
DOM::DocumentImpl * m_doc
Definition: khtmlpart_p.h:242
KHTMLPartPrivate::m_newJSInterpreterExists
bool m_newJSInterpreterExists
Definition: khtmlpart_p.h:414
KHTMLPartPrivate::m_focusNodeRestored
bool m_focusNodeRestored
Definition: khtmlpart_p.h:381
KHTMLPartPrivate::m_frames
KHTMLFrameList m_frames
Definition: khtmlpart_p.h:224
KHTMLPartPrivate::m_paFindNext
KAction * m_paFindNext
Definition: khtmlpart_p.h:330
KHTMLPartPrivate::m_autoDetectLanguage
KEncodingDetector::AutoDetectScript m_autoDetectLanguage
Definition: khtmlpart_p.h:243
KHTMLPartPrivate::m_linkCursor
QCursor m_linkCursor
Definition: khtmlpart_p.h:393
KHTMLPartPrivate::m_bPluginsOverride
bool m_bPluginsOverride
Definition: khtmlpart_p.h:265
KHTMLPartPrivate::~KHTMLPartPrivate
~KHTMLPartPrivate()
Definition: khtmlpart_p.h:207
KHTMLPartPrivate::m_manager
KParts::PartManager * m_manager
Definition: khtmlpart_p.h:343
KHTMLPartPrivate::m_opener
QPointer< KHTMLPart > m_opener
Definition: khtmlpart_p.h:412
KHTMLPartPrivate::m_userStyleSheetLastModified
time_t m_userStyleSheetLastModified
Definition: khtmlpart_p.h:418
KHTMLPartPrivate::m_activeFrame
KParts::Part * m_activeFrame
Definition: khtmlpart_p.h:411
KHTMLPartPrivate::m_caretMode
bool m_caretMode
Definition: khtmlpart_p.h:391
KHTMLPartPrivate::m_paSecurity
KAction * m_paSecurity
Definition: khtmlpart_p.h:323
KHTMLPartPrivate::m_frameNameId
int m_frameNameId
Definition: khtmlpart_p.h:277
KHTMLPartPrivate::m_topViewBar
QPointer< KHTMLViewBar > m_topViewBar
Definition: khtmlpart_p.h:228
KHTMLPartPrivate::m_httpHeaders
QString m_httpHeaders
Definition: khtmlpart_p.h:286
KHTMLPartPrivate::KHTMLPartPrivate
KHTMLPartPrivate(KHTMLPart *part, QObject *parent)
Definition: khtmlpart_p.h:98
KHTMLPartPrivate::m_delayRedirect
int m_delayRedirect
Definition: khtmlpart_p.h:314
KHTMLPartPrivate::m_DNSPrefetchQueue
QQueue< QString > m_DNSPrefetchQueue
Definition: khtmlpart_p.h:275
KHTMLPartPrivate::m_statusBarIconLabel
KUrlLabel * m_statusBarIconLabel
Definition: khtmlpart_p.h:234
KHTMLPartPrivate::m_walletForms
QStringList m_walletForms
Definition: khtmlpart_p.h:251
KHTMLPartPrivate::m_strSelectedURL
QString m_strSelectedURL
Definition: khtmlpart_p.h:350
KHTMLPartPrivate::m_paSaveDocument
KAction * m_paSaveDocument
Definition: khtmlpart_p.h:321
KHTMLPartPrivate::m_bJScriptEnabled
bool m_bJScriptEnabled
Definition: khtmlpart_p.h:255
KHTMLPartPrivate::m_cachePolicy
KIO::CacheControl m_cachePolicy
Definition: khtmlpart_p.h:311
KHTMLPartPrivate::m_submitForm
SubmitForm * m_submitForm
Definition: khtmlpart_p.h:365
KHTMLPartPrivate::m_statusBarPopupLabel
KUrlLabel * m_statusBarPopupLabel
Definition: khtmlpart_p.h:238
KHTMLPartPrivate::m_paSaveFrame
KAction * m_paSaveFrame
Definition: khtmlpart_p.h:322
KHTMLPartPrivate::m_paFindPrev
KAction * m_paFindPrev
Definition: khtmlpart_p.h:331
KHTMLPartPrivate::m_bLoadEventEmitted
bool m_bLoadEventEmitted
Definition: khtmlpart_p.h:303
KHTMLPartPrivate::m_bottomViewBar
QPointer< KHTMLViewBar > m_bottomViewBar
Definition: khtmlpart_p.h:229
KHTMLPartPrivate::m_bOpenMiddleClick
bool m_bOpenMiddleClick
Definition: khtmlpart_p.h:254
KHTMLPartPrivate::clearRedirection
void clearRedirection()
Definition: khtml_part.cpp:2588
KHTMLPartPrivate::m_bDNSPrefetchIsDefault
bool m_bDNSPrefetchIsDefault
Definition: khtmlpart_p.h:271
KHTMLPartPrivate::m_ssl_cipher
QString m_ssl_cipher
Definition: khtmlpart_p.h:293
KHTMLPartPrivate::m_bStrictModeQuirk
bool m_bStrictModeQuirk
Definition: khtmlpart_p.h:378
KHTMLPartPrivate::m_statusBarText
QString m_statusBarText[3]
Definition: khtmlpart_p.h:283
KHTMLPartPrivate::m_onlyLocalReferences
bool m_onlyLocalReferences
Definition: khtmlpart_p.h:305
KHTMLPartPrivate::m_paFind
KAction * m_paFind
Definition: khtmlpart_p.h:329
KHTMLPartPrivate::executeInPageURL
void executeInPageURL(const QString &url, bool lockHistory)
Definition: khtmlpart_p.h:443
KHTMLPartPrivate::m_statusBarWalletLabel
KUrlLabel * m_statusBarWalletLabel
Definition: khtmlpart_p.h:235
KHTMLPartPrivate::m_paDebugRenderTree
KAction * m_paDebugRenderTree
Definition: khtmlpart_p.h:338
KHTMLPartPrivate::m_metaRefreshEnabled
bool m_metaRefreshEnabled
Definition: khtmlpart_p.h:264
KHTMLPartPrivate::m_bPluginsForce
bool m_bPluginsForce
Definition: khtmlpart_p.h:263
KHTMLPartPrivate::m_ssl_peer_chain
QString m_ssl_peer_chain
Definition: khtmlpart_p.h:291
KHTMLPart
This class is khtml's main class.
Definition: khtml_part.h:207
KHTMLPart::FormNotification
FormNotification
Definition: khtml_part.h:1106
KHTMLPart::NoNotification
@ NoNotification
Definition: khtml_part.h:1106
KHTMLPart::DNSPrefetch
DNSPrefetch
DNS Prefetching Mode enumeration.
Definition: khtml_part.h:281
KHTMLPart::DNSPrefetchDisabled
@ DNSPrefetchDisabled
Definition: khtml_part.h:282
KHTMLPart::GUIProfile
GUIProfile
Definition: khtml_part.h:272
KHTMLSettings
Settings for the HTML view.
Definition: khtml_settings.h:42
KHTMLViewBar
Definition: khtmlviewbar.h:29
KHTMLWalletQueue
Definition: khtml_wallet_p.h:42
KIO::TransferJob
KJSErrorDlg
Definition: kjserrordlg.h:9
KJavaAppletContext
Definition: kjavaappletcontext.h:46
KParts::PartManager
KParts::Part
KParts::ReadOnlyPart
KParts::StatusBarExtension
KSelectAction
KToggleAction
KUrlLabel
KUrl
KWallet::Wallet
QCursor
QList
QMap
QObject
QSet
StorePass
Definition: storepassbar.h:46
khtml::ChildFrame
Definition: khtml_childframe_p.h:41
editing_p.h
kaction.h
kcursor.h
kencodingdetector.h
khtml_childframe_p.h
khtml_events.h
khtml_ext.h
khtml_global.h
khtml_run.h
khtml_settings.h
khtml_wallet_p.h
d
#define d
Definition: khtmlfind.cpp:42
khtmlfind_p.h
MimeType
MimeType
Definition: khtmlpart_p.h:82
MimeHTML
@ MimeHTML
Definition: khtmlpart_p.h:83
MimeImage
@ MimeImage
Definition: khtmlpart_p.h:87
MimeXHTML
@ MimeXHTML
Definition: khtmlpart_p.h:85
MimeText
@ MimeText
Definition: khtmlpart_p.h:88
MimeOther
@ MimeOther
Definition: khtmlpart_p.h:89
MimeSVG
@ MimeSVG
Definition: khtmlpart_p.h:84
MimeXML
@ MimeXML
Definition: khtmlpart_p.h:86
kxmlguifactory.h
KIO
KIO::CacheControl
CacheControl
KIO::CC_Verify
CC_Verify
KParts
partmanager.h
scriptableextension.h
statusbarextension.h
storepassbar.h
KHTMLFrameList
Definition: khtml_childframe_p.h:82
KHTMLPartPrivate::SubmitForm
Definition: khtmlpart_p.h:356
KHTMLPartPrivate::SubmitForm::submitAction
const char * submitAction
Definition: khtmlpart_p.h:357
KHTMLPartPrivate::SubmitForm::submitContentType
QString submitContentType
Definition: khtmlpart_p.h:361
KHTMLPartPrivate::SubmitForm::target
QString target
Definition: khtmlpart_p.h:360
KHTMLPartPrivate::SubmitForm::submitFormData
QByteArray submitFormData
Definition: khtmlpart_p.h:359
KHTMLPartPrivate::SubmitForm::submitBoundary
QString submitBoundary
Definition: khtmlpart_p.h:362
KHTMLPartPrivate::SubmitForm::submitUrl
QString submitUrl
Definition: khtmlpart_p.h:358
khtml::EditorContext
Contextual information about the caret and the built-in editor.
Definition: editing_p.h:38
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal