KHTML
Go to the documentation of this file.
30#include "wtf/PassRefPtr.h"
39 class EditCommandImpl;
49class 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;
134 bool selectionStartHasStyle(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 implements the basic string we use in the DOM.
This class resembles the editing API when the associated khtml document is editable (in design mode),...
TriState
Tri-state boolean.
This class is khtml's main class.
Renders and displays HTML in a QScrollArea.
QString indent(QString text, int spaces)
This library provides a full-featured HTML parser and widget.
EditorCommand
List of all supported built-in editor commands.
Contextual information about the caret and the built-in editor.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.