• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KHTML

  • khtml
  • CompositeEditCommandImpl
Public Member Functions | Protected Member Functions | Protected Attributes

khtml::CompositeEditCommandImpl Class Reference

#include <htmlediting_impl.h>

Inheritance diagram for khtml::CompositeEditCommandImpl:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Protected Member Functions

void appendNode (DOM::NodeImpl *parent, DOM::NodeImpl *appendChild)
void applyCommandToComposite (PassRefPtr< EditCommandImpl >)
DOM::ElementImpl * createTypingStyleElement () const
void deleteCollapsibleWhitespace (const DOM::Selection &selection)
void deleteCollapsibleWhitespace ()
void deleteKeyPressed ()
void deleteSelection ()
void deleteSelection (const DOM::Selection &selection)
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< RefPtr< EditCommandImpl > > m_cmds

Detailed Description

Definition at line 137 of file htmlediting_impl.h.


Constructor & Destructor Documentation

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

Definition at line 310 of file htmlediting_impl.cpp.

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

Definition at line 315 of file htmlediting_impl.cpp.


Member Function Documentation

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

Definition at line 395 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::applyCommandToComposite ( PassRefPtr< EditCommandImpl >  cmd) [protected]

Definition at line 346 of file htmlediting_impl.cpp.

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

Definition at line 504 of file htmlediting_impl.cpp.

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

Definition at line 474 of file htmlediting_impl.cpp.

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

Reimplemented in khtml::TypingCommandImpl.

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

Definition at line 458 of file htmlediting_impl.cpp.

void khtml::CompositeEditCommandImpl::deleteSelection ( const DOM::Selection &  selection) [protected]
void khtml::CompositeEditCommandImpl::deleteText ( DOM::TextImpl *  node,
long  offset,
long  count 
) [protected]

Definition at line 444 of file htmlediting_impl.cpp.

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, khtml::TypingCommandImpl, khtml::InsertListCommandImpl, and khtml::IndentOutdentCommandImpl.

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

Reimplemented from khtml::EditCommandImpl.

Definition at line 331 of file htmlediting_impl.cpp.

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

Implements khtml::EditCommandImpl.

Definition at line 319 of file htmlediting_impl.cpp.

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

Definition at line 431 of file htmlediting_impl.cpp.

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

Definition at line 361 of file htmlediting_impl.cpp.

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

Definition at line 372 of file htmlediting_impl.cpp.

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

Definition at line 355 of file htmlediting_impl.cpp.

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]

Definition at line 425 of file htmlediting_impl.cpp.

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

Definition at line 486 of file htmlediting_impl.cpp.

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

Definition at line 401 of file htmlediting_impl.cpp.

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

Definition at line 407 of file htmlediting_impl.cpp.

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

Definition at line 492 of file htmlediting_impl.cpp.

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

Definition at line 413 of file htmlediting_impl.cpp.

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

Definition at line 450 of file htmlediting_impl.cpp.

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

Definition at line 498 of file htmlediting_impl.cpp.

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

Definition at line 419 of file htmlediting_impl.cpp.


Member Data Documentation

QList<RefPtr<EditCommandImpl> > khtml::CompositeEditCommandImpl::m_cmds [protected]

Definition at line 176 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
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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