• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KHTML

khtml::CompositeEditCommandImpl

khtml::CompositeEditCommandImpl Class Reference

#include <htmlediting_impl.h>

Inheritance diagram for khtml::CompositeEditCommandImpl:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 103 of file htmlediting_impl.h.


Public Member Functions

virtual int commandID () const
 CompositeEditCommandImpl (DOM::DocumentImpl *)
virtual void doApply ()=0
virtual void doReapply ()
virtual void doUnapply ()
virtual ~CompositeEditCommandImpl ()

Protected Member Functions

void appendNode (DOM::NodeImpl *parent, DOM::NodeImpl *appendChild)
void applyCommandToComposite (EditCommand &)
DOM::ElementImpl * createTypingStyleElement () const
void deleteCollapsibleWhitespace (const DOM::Selection &selection)
void deleteCollapsibleWhitespace ()
void deleteKeyPressed ()
void deleteSelection (const DOM::Selection &selection)
void deleteSelection ()
void deleteText (DOM::TextImpl *node, long offset, long count)
void inputText (const DOM::DOMString &text)
void insertNodeAfter (DOM::NodeImpl *insertChild, DOM::NodeImpl *refChild)
void insertNodeAt (DOM::NodeImpl *insertChild, DOM::NodeImpl *refChild, long offset)
void insertNodeBefore (DOM::NodeImpl *insertChild, DOM::NodeImpl *refChild)
void insertText (DOM::TextImpl *node, long offset, const DOM::DOMString &text)
void joinTextNodes (DOM::TextImpl *text1, DOM::TextImpl *text2)
void removeCSSProperty (DOM::CSSStyleDeclarationImpl *, int property)
void removeNode (DOM::NodeImpl *removeChild)
void removeNodeAndPrune (DOM::NodeImpl *pruneNode, DOM::NodeImpl *stopNode=0)
void removeNodeAttribute (DOM::ElementImpl *, int attribute)
void removeNodePreservingChildren (DOM::NodeImpl *node)
void replaceText (DOM::TextImpl *node, long offset, long count, const DOM::DOMString &replacementText)
void setNodeAttribute (DOM::ElementImpl *, int attribute, const DOM::DOMString &)
void splitTextNode (DOM::TextImpl *text, long offset)

Protected Attributes

QList< EditCommand > m_cmds

Constructor & Destructor Documentation

khtml::CompositeEditCommandImpl::CompositeEditCommandImpl ( DOM::DocumentImpl *   ) 

khtml::CompositeEditCommandImpl::~CompositeEditCommandImpl (  )  [virtual]

Definition at line 336 of file htmlediting_impl.cpp.


Member Function Documentation

void khtml::CompositeEditCommandImpl::appendNode ( DOM::NodeImpl *  parent,
DOM::NodeImpl *  appendChild 
) [protected]

void khtml::CompositeEditCommandImpl::applyCommandToComposite ( EditCommand &  cmd  )  [protected]

Definition at line 372 of file htmlediting_impl.cpp.

int khtml::CompositeEditCommandImpl::commandID (  )  const [virtual]

Reimplemented from khtml::EditCommandImpl.

Reimplemented in khtml::ApplyStyleCommandImpl, khtml::DeleteCollapsibleWhitespaceCommandImpl, khtml::DeleteSelectionCommandImpl, khtml::InputNewlineCommandImpl, khtml::InputTextCommandImpl, khtml::ReplaceSelectionCommandImpl, khtml::MoveSelectionCommandImpl, khtml::RemoveNodeAndPruneCommandImpl, khtml::RemoveNodePreservingChildrenCommandImpl, and khtml::TypingCommandImpl.

Definition at line 340 of file htmlediting_impl.cpp.

ElementImpl * khtml::CompositeEditCommandImpl::createTypingStyleElement (  )  const [protected]

Definition at line 530 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::deleteCollapsibleWhitespace ( const DOM::Selection &  selection  )  [protected]

void khtml::CompositeEditCommandImpl::deleteCollapsibleWhitespace (  )  [protected]

Definition at line 500 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::deleteKeyPressed (  )  [protected]

Reimplemented in khtml::TypingCommandImpl.

void khtml::CompositeEditCommandImpl::deleteSelection ( const DOM::Selection &  selection  )  [protected]

void khtml::CompositeEditCommandImpl::deleteSelection (  )  [protected]

Definition at line 484 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::deleteText ( DOM::TextImpl *  node,
long  offset,
long  count 
) [protected]

virtual void khtml::CompositeEditCommandImpl::doApply (  )  [pure virtual]

Implements khtml::EditCommandImpl.

Implemented in khtml::ApplyStyleCommandImpl, khtml::DeleteCollapsibleWhitespaceCommandImpl, khtml::DeleteSelectionCommandImpl, khtml::InputNewlineCommandImpl, khtml::InputTextCommandImpl, khtml::ReplaceSelectionCommandImpl, khtml::MoveSelectionCommandImpl, khtml::RemoveNodeAndPruneCommandImpl, khtml::RemoveNodePreservingChildrenCommandImpl, and khtml::TypingCommandImpl.

void khtml::CompositeEditCommandImpl::doReapply (  )  [virtual]

Reimplemented from khtml::EditCommandImpl.

Definition at line 357 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::doUnapply (  )  [virtual]

Implements khtml::EditCommandImpl.

Definition at line 345 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::inputText ( const DOM::DOMString &  text  )  [protected]

Definition at line 457 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::insertNodeAfter ( DOM::NodeImpl *  insertChild,
DOM::NodeImpl *  refChild 
) [protected]

void khtml::CompositeEditCommandImpl::insertNodeAt ( DOM::NodeImpl *  insertChild,
DOM::NodeImpl *  refChild,
long  offset 
) [protected]

void khtml::CompositeEditCommandImpl::insertNodeBefore ( DOM::NodeImpl *  insertChild,
DOM::NodeImpl *  refChild 
) [protected]

void khtml::CompositeEditCommandImpl::insertText ( DOM::TextImpl *  node,
long  offset,
const DOM::DOMString &  text 
) [protected]

void khtml::CompositeEditCommandImpl::joinTextNodes ( DOM::TextImpl *  text1,
DOM::TextImpl *  text2 
) [protected]

void khtml::CompositeEditCommandImpl::removeCSSProperty ( DOM::CSSStyleDeclarationImpl *  ,
int  property 
) [protected]

void khtml::CompositeEditCommandImpl::removeNode ( DOM::NodeImpl *  removeChild  )  [protected]

void khtml::CompositeEditCommandImpl::removeNodeAndPrune ( DOM::NodeImpl *  pruneNode,
DOM::NodeImpl *  stopNode = 0 
) [protected]

void khtml::CompositeEditCommandImpl::removeNodeAttribute ( DOM::ElementImpl *  ,
int  attribute 
) [protected]

void khtml::CompositeEditCommandImpl::removeNodePreservingChildren ( DOM::NodeImpl *  node  )  [protected]

void khtml::CompositeEditCommandImpl::replaceText ( DOM::TextImpl *  node,
long  offset,
long  count,
const DOM::DOMString &  replacementText 
) [protected]

void khtml::CompositeEditCommandImpl::setNodeAttribute ( DOM::ElementImpl *  ,
int  attribute,
const DOM::DOMString &   
) [protected]

void khtml::CompositeEditCommandImpl::splitTextNode ( DOM::TextImpl *  text,
long  offset 
) [protected]


Member Data Documentation

QList<EditCommand> khtml::CompositeEditCommandImpl::m_cmds [protected]

Definition at line 144 of file htmlediting_impl.h.


The documentation for this class was generated from the following files:
  • htmlediting_impl.h
  • htmlediting_impl.cpp

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal