KHTML
khtmlview.cpp File Reference
#include "khtmlview.moc"#include "khtmlview.h"#include "khtml_part.h"#include "khtml_events.h"#include "html/html_documentimpl.h"#include "html/html_inlineimpl.h"#include "html/html_formimpl.h"#include "rendering/render_arena.h"#include "rendering/render_canvas.h"#include "rendering/render_frames.h"#include "rendering/render_replaced.h"#include "rendering/render_layer.h"#include "rendering/render_line.h"#include "rendering/render_table.h"#include "rendering/render_text.h"#include "xml/dom2_eventsimpl.h"#include "css/cssstyleselector.h"#include "css/csshelper.h"#include "misc/htmlhashes.h"#include "misc/helper.h"#include "misc/loader.h"#include "khtml_settings.h"#include "khtml_printsettings.h"#include "khtmlpart_p.h"#include "khtml_caret_p.h"#include "xml/dom2_rangeimpl.h"#include <kapplication.h>#include <kcursor.h>#include <kdebug.h>#include <kdialogbase.h>#include <kiconloader.h>#include <kimageio.h>#include <klocale.h>#include <knotifyclient.h>#include <kprinter.h>#include <ksimpleconfig.h>#include <kstandarddirs.h>#include <kstdaccel.h>#include <kstringhandler.h>#include <kurldrag.h>#include <qbitmap.h>#include <qlabel.h>#include <qobjectlist.h>#include <qpaintdevicemetrics.h>#include <qpainter.h>#include <qptrdict.h>#include <qtooltip.h>#include <qstring.h>#include <qstylesheet.h>#include <qtimer.h>#include <qvaluevector.h>#include "khtml_caret.cpp"Go to the source code of this file.
Namespaces | |
| namespace | khtml |
Defines | |
| #define | PAINT_BUFFER_HEIGHT 128 |
| #define | protected public |
Functions | |
| static QMap< NodeImpl *, QString > | buildLabels (NodeImpl *start) |
| static bool | findImageMapRect (HTMLImageElementImpl *img, const QPoint &scrollOfs, const QPoint &p, QRect &r, QString &s) |
| static void | forwardPeripheralEvent (khtml::RenderWidget *r, QMouseEvent *me, int x, int y) |
| static QString | getElementText (NodeImpl *start, bool after) |
| static bool | targetOpensNewWindow (KHTMLPart *part, QString target) |
Define Documentation
| #define PAINT_BUFFER_HEIGHT 128 |
Definition at line 102 of file khtmlview.cpp.
| #define protected public |
Definition at line 45 of file khtmlview.cpp.
Function Documentation
Definition at line 2468 of file khtmlview.cpp.
| static bool findImageMapRect | ( | HTMLImageElementImpl * | img, | |
| const QPoint & | scrollOfs, | |||
| const QPoint & | p, | |||
| QRect & | r, | |||
| QString & | s | |||
| ) | [static] |
calculates the client-side image map rectangle for the given image element
- Parameters:
-
img image element scrollOfs scroll offset of viewport in content coordinates p position to be probed in viewport coordinates r returns the bounding rectangle in content coordinates s returns the title string
- Returns:
- true if an appropriate area was found -- only in this case r and s are valid, false otherwise
Definition at line 412 of file khtmlview.cpp.
| static void forwardPeripheralEvent | ( | khtml::RenderWidget * | r, | |
| QMouseEvent * | me, | |||
| int | x, | |||
| int | y | |||
| ) | [inline, static] |
Definition at line 1088 of file khtmlview.cpp.
Definition at line 2417 of file khtmlview.cpp.
Definition at line 1104 of file khtmlview.cpp.
KDE 3.5 API Reference