KHTML
Go to the documentation of this file.
30 #include "wtf/PassRefPtr.h"
36 class KHTMLEditorPart;
39 class EditCommandImpl;
49 class CSSStyleDeclarationImpl;
81 bool execCommand(
const DOMString &command,
bool userInterface,
const DOMString &value);
83 bool queryCommandEnabled(
const DOMString &command);
85 bool queryCommandIndeterm(
const DOMString &command);
87 bool queryCommandState(
const DOMString &command);
89 bool queryCommandSupported(
const DOMString &command);
120 bool canPaste()
const;
126 bool canRedo()
const;
128 bool canUndo()
const;
130 void applyStyle(DOM::CSSStyleDeclarationImpl *);
132 TriState selectionHasStyle(DOM::CSSStyleDeclarationImpl *)
const;
136 DOM::DOMString selectionStartStylePropertyValue(
int stylePropertyID)
const;
140 DOM::CSSStyleDeclarationImpl *selectionComputedStyle(DOM::NodeImpl *&nodeToRemove)
const;
148 WTF::PassRefPtr<khtml::EditCommandImpl> lastEditCommand()
const;
168 DOM::CSSStyleDeclarationImpl *typingStyle()
const;
173 void setTypingStyle(DOM::CSSStyleDeclarationImpl *);
178 void clearTypingStyle();
190 bool handleKeyEvent(QKeyEvent *);
193 EditorPrivate *
const d;
195 DOM::CSSStyleDeclarationImpl *m_typingStyle;
199 friend class ::KHTMLPart;
200 friend class ::KHTMLView;
201 friend class ::KHTMLEditorPart;
203 friend class DOM::ElementImpl;
This class resembles the editing API when the associated khtml document is editable (in design mode),...
KAction * cut(const QObject *recvr, const char *slot, QObject *parent)
KAction * undo(const QObject *recvr, const char *slot, QObject *parent)
static bool selectionStartHasStyle(KHTMLPart *part, int propertyID, const char *desiredValue)
This library provides a full-featured HTML parser and widget.
This class is khtml's main class.
Renders and displays HTML in a QScrollArea.
EditorCommand
List of all supported built-in editor commands.
KAction * print(const QObject *recvr, const char *slot, QObject *parent)
KAction * redo(const QObject *recvr, const char *slot, QObject *parent)
This class implements the basic string we use in the DOM.
KAction * copy(const QObject *recvr, const char *slot, QObject *parent)
TriState
Tri-state boolean.
KAction * paste(const QObject *recvr, const char *slot, QObject *parent)
QString indent(QString text, int spaces)
Contextual information about the caret and the built-in editor.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Jan 19 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.