KHTML
khtml_part.cpp File Reference
#include "khtml_part.h"#include "ui_htmlpageinfo.h"#include "khtmlviewbar.h"#include "khtml_pagecache.h"#include "dom/dom_string.h"#include "dom/dom_element.h"#include "dom/dom_exception.h"#include "dom/html_document.h"#include "dom/dom2_range.h"#include "editing/editor.h"#include "editing/htmlediting.h"#include "html/html_documentimpl.h"#include "html/html_baseimpl.h"#include "html/html_objectimpl.h"#include "html/html_miscimpl.h"#include "html/html_imageimpl.h"#include "rendering/render_text.h"#include "rendering/render_frames.h"#include "rendering/render_layer.h"#include "misc/htmlhashes.h"#include "misc/loader.h"#include "misc/khtml_partaccessor.h"#include "xml/dom2_eventsimpl.h"#include "xml/dom2_rangeimpl.h"#include "xml/xml_tokenizer.h"#include "css/cssstyleselector.h"#include "css/csshelper.h"#include "khtmlview.h"#include <kparts/partmanager.h>#include <kacceleratormanager.h>#include "ecma/kjs_proxy.h"#include "ecma/kjs_window.h"#include "khtml_settings.h"#include "kjserrordlg.h"#include <kjs/function.h>#include <kjs/interpreter.h>#include <sys/types.h>#include <assert.h>#include <unistd.h>#include <config.h>#include <kstandarddirs.h>#include <kstringhandler.h>#include <kio/job.h>#include <kio/jobuidelegate.h>#include <kio/global.h>#include <kio/netaccess.h>#include <kio/hostinfo_p.h>#include <kprotocolmanager.h>#include <kdebug.h>#include <kicon.h>#include <kiconloader.h>#include <klocale.h>#include <kmessagebox.h>#include <kstandardaction.h>#include <kstandardguiitem.h>#include <kactioncollection.h>#include <kfiledialog.h>#include <kmimetypetrader.h>#include <ktemporaryfile.h>#include <kglobalsettings.h>#include <ktoolinvocation.h>#include <kauthorized.h>#include <kparts/browserinterface.h>#include <kde_file.h>#include <kactionmenu.h>#include <ktoggleaction.h>#include <kcodecaction.h>#include <kselectaction.h>#include <ksslinfodialog.h>#include <ksslsettings.h>#include <kfileitem.h>#include <kurifilter.h>#include <kstatusbar.h>#include <kurllabel.h>#include <QtGui/QClipboard>#include <QtGui/QToolTip>#include <QtCore/QFile>#include <QtCore/QMetaEnum>#include <QtGui/QTextDocument>#include <QtCore/QDate>#include <QtNetwork/QSslCertificate>#include "khtmlpart_p.h"#include "khtml_iface.h"#include "kpassivepopup.h"#include "kmenu.h"#include "rendering/render_form.h"#include <kwindowsystem.h>#include <kconfiggroup.h>#include "ecma/debugger/debugwindow.h"#include <svg/SVGDocument.h>#include "khtml_part.moc"#include "khtmlpart_p.moc"#include "khtml_wallet_p.moc"Go to the source code of this file.
Namespaces | |
| namespace | khtml |
Defines | |
| #define | DIRECT_LINKAGE_TO_ECMA |
Functions | |
| static bool | createJScript (khtml::ChildFrame *frame) |
| static bool | firstRunAt (khtml::RenderObject *renderNode, int y, NodeImpl *&startNode, long &startOffset) |
| static bool | isAncestorOrSamePart (KHTMLPart *p1, KHTMLPart *p2) |
| KJSProxy * | kjs_html_init (khtml::ChildFrame *childframe) |
| static bool | lastRunAt (khtml::RenderObject *renderNode, int y, NodeImpl *&endNode, long &endOffset) |
| static void | setCaretInvisibleIfNeeded (KHTMLPart *part) |
Variables | |
| const int | fastZoomSizeCount = sizeof fastZoomSizes / sizeof fastZoomSizes[0] |
| const int | fastZoomSizes [] = { 20, 50, 75, 90, 100, 120, 150, 200, 300 } |
| static const int | maxZoom = 300 |
| static const int | minZoom = 20 |
| static int | s_DOMTreeIndentLevel = 0 |
| static const int | sDNSCacheSize = 500 |
| static const int | sDNSPrefetchTimerDelay = 200 |
| static const int | sDNSTTLSeconds = 400 |
| static const int | sMaxDNSPrefetchPerPage = 42 |
| static const int | zoomSizeCount = (sizeof(zoomSizes) / sizeof(int)) |
| static const int | zoomSizes [] = { 20, 40, 60, 80, 90, 95, 100, 105, 110, 120, 140, 160, 180, 200, 250, 300 } |
Define Documentation
| #define DIRECT_LINKAGE_TO_ECMA |
Definition at line 1140 of file khtml_part.cpp.
Function Documentation
| static bool createJScript | ( | khtml::ChildFrame * | frame | ) | [static] |
Definition at line 1146 of file khtml_part.cpp.
| static bool firstRunAt | ( | khtml::RenderObject * | renderNode, | |
| int | y, | |||
| NodeImpl *& | startNode, | |||
| long & | startOffset | |||
| ) | [static] |
returns the position of the first inline text box of the line at coordinate y in renderNode
This is a helper function for line-by-line text selection.
Definition at line 5992 of file khtml_part.cpp.
Definition at line 2251 of file khtml_part.cpp.
| KJSProxy* kjs_html_init | ( | khtml::ChildFrame * | childframe | ) |
| static bool lastRunAt | ( | khtml::RenderObject * | renderNode, | |
| int | y, | |||
| NodeImpl *& | endNode, | |||
| long & | endOffset | |||
| ) | [static] |
returns the position of the last inline text box of the line at coordinate y in renderNode
This is a helper function for line-by-line text selection.
Definition at line 6019 of file khtml_part.cpp.
| static void setCaretInvisibleIfNeeded | ( | KHTMLPart * | part | ) | [static] |
Definition at line 2851 of file khtml_part.cpp.
Variable Documentation
| const int fastZoomSizeCount = sizeof fastZoomSizes / sizeof fastZoomSizes[0] |
| const int fastZoomSizes[] = { 20, 50, 75, 90, 100, 120, 150, 200, 300 } |
const int maxZoom = 300 [static] |
Definition at line 5574 of file khtml_part.cpp.
const int minZoom = 20 [static] |
Definition at line 5573 of file khtml_part.cpp.
int s_DOMTreeIndentLevel = 0 [static] |
Definition at line 1436 of file khtml_part.cpp.
const int sDNSCacheSize = 500 [static] |
Definition at line 144 of file khtml_part.cpp.
const int sDNSPrefetchTimerDelay = 200 [static] |
Definition at line 142 of file khtml_part.cpp.
const int sDNSTTLSeconds = 400 [static] |
Definition at line 143 of file khtml_part.cpp.
const int sMaxDNSPrefetchPerPage = 42 [static] |
Definition at line 141 of file khtml_part.cpp.
const int zoomSizeCount = (sizeof(zoomSizes) / sizeof(int)) [static] |
Definition at line 5572 of file khtml_part.cpp.
const int zoomSizes[] = { 20, 40, 60, 80, 90, 95, 100, 105, 110, 120, 140, 160, 180, 200, 250, 300 } [static] |
Definition at line 5571 of file khtml_part.cpp.
KDE 4.3 API Reference