KHTML
khtml_part.cpp File Reference
#include "khtml_part.h"#include "khtml_pagecache.h"#include "dom/dom_string.h"#include "dom/dom_element.h"#include "dom/dom_exception.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 "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 "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 "htmlpageinfo.h"#include <sys/types.h>#include <assert.h>#include <unistd.h>#include <config.h>#include <dcopclient.h>#include <dcopref.h>#include <kstandarddirs.h>#include <kstringhandler.h>#include <kio/job.h>#include <kio/global.h>#include <kio/netaccess.h>#include <kprotocolmanager.h>#include <kdebug.h>#include <kiconloader.h>#include <klocale.h>#include <kcharsets.h>#include <kmessagebox.h>#include <kstdaction.h>#include <kfiledialog.h>#include <ktrader.h>#include <kdatastream.h>#include <ktempfile.h>#include <kglobalsettings.h>#include <kurldrag.h>#include <kapplication.h>#include <kparts/browserinterface.h>#include <kmultipledrag.h>#include "../kutils/kfinddialog.h"#include "../kutils/kfind.h"#include <ksslcertchain.h>#include <ksslinfodlg.h>#include <kfileitem.h>#include <kurifilter.h>#include <kstatusbar.h>#include <kurllabel.h>#include <qclipboard.h>#include <qfile.h>#include <qtooltip.h>#include <qmetaobject.h>#include <private/qucomextra_p.h>#include "khtmlpart_p.h"#include "kpassivepopup.h"#include "kpopupmenu.h"#include "rendering/render_form.h"#include <kwin.h>#include "khtml_part.moc"#include "khtmlpart_p.moc"Go to the source code of this file.
Namespaces | |
| namespace | khtml |
Defines | |
| #define | DIRECT_LINKAGE_TO_ECMA |
| #define | HINT_UTF8 106 |
Functions | |
| static bool | createJScript (khtml::ChildFrame *frame) |
| static bool | firstRunAt (khtml::RenderObject *renderNode, int y, NodeImpl *&startNode, long &startOffset) |
| KJSProxy * | kjs_html_init (khtml::ChildFrame *childframe) |
| static bool | lastRunAt (khtml::RenderObject *renderNode, int y, NodeImpl *&endNode, long &endOffset) |
Variables | |
| const int KDE_NO_EXPORT | fastZoomSizeCount = sizeof fastZoomSizes / sizeof fastZoomSizes[0] |
| const int KDE_NO_EXPORT | 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 int | s_saveStateIndentLevel = 0 |
| 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 966 of file khtml_part.cpp.
| #define HINT_UTF8 106 |
Definition at line 122 of file khtml_part.cpp.
Function Documentation
| static bool createJScript | ( | khtml::ChildFrame * | frame | ) | [static] |
Definition at line 972 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 5979 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 6008 of file khtml_part.cpp.
Variable Documentation
| const int KDE_NO_EXPORT fastZoomSizeCount = sizeof fastZoomSizes / sizeof fastZoomSizes[0] |
| const int KDE_NO_EXPORT fastZoomSizes[] = { 20, 50, 75, 90, 100, 120, 150, 200, 300 } |
Definition at line 5668 of file khtml_part.cpp.
Definition at line 5667 of file khtml_part.cpp.
int s_DOMTreeIndentLevel = 0 [static] |
Definition at line 1289 of file khtml_part.cpp.
int s_saveStateIndentLevel = 0 [static] |
Definition at line 5352 of file khtml_part.cpp.
const int zoomSizeCount = (sizeof(zoomSizes) / sizeof(int)) [static] |
Definition at line 5666 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 5665 of file khtml_part.cpp.
KDE 3.5 API Reference