KHTML
editor.cpp File Reference
#include "editor.h"#include "edit_command.h"#include "htmlediting.h"#include "jsediting.h"#include "css/css_renderstyledeclarationimpl.h"#include "css/css_valueimpl.h"#include "misc/htmlattrs.h"#include "xml/dom_selection.h"#include "xml/dom_docimpl.h"#include "xml/dom_elementimpl.h"#include "xml/dom_textimpl.h"#include "xml/dom2_rangeimpl.h"#include "khtml_part.h"#include "khtml_ext.h"#include "khtmlpart_p.h"#include <QStack>#include "editor.moc"Go to the source code of this file.
Namespaces | |
| namespace | DOM |
Defines | |
| #define | assert(x) Q_ASSERT(x) |
| #define | PREPARE_JSEDITOR_CALL(command, retval) |
Functions | |
| static void | updateState (CSSStyleDeclarationImpl *desiredStyle, CSSStyleDeclarationImpl *computedStyle, bool &atStart, Editor::TriState &state) |
Variables | |
| static const int | DOM::sMaxUndoSteps = 1000 |
Define Documentation
| #define assert | ( | x | ) | Q_ASSERT(x) |
Definition at line 45 of file editor.cpp.
| #define PREPARE_JSEDITOR_CALL | ( | command, | |||
| retval | ) |
Value:
JSEditor *js = m_part->xmlDocImpl() ? m_part->xmlDocImpl()->jsEditor() : 0; \
if (!js) return retval; \
const CommandImp *imp = js->commandImp(command)
Definition at line 48 of file editor.cpp.
Function Documentation
| static void updateState | ( | CSSStyleDeclarationImpl * | desiredStyle, | |
| CSSStyleDeclarationImpl * | computedStyle, | |||
| bool & | atStart, | |||
| Editor::TriState & | state | |||
| ) | [static] |
Definition at line 246 of file editor.cpp.
KDE 4.3 API Reference