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

KHTML

khtml::EditCommandImpl

khtml::EditCommandImpl Class Reference

#include <htmlediting_impl.h>

Inheritance diagram for khtml::EditCommandImpl:
khtml::SharedCommandImpl Shared khtml::AppendNodeCommandImpl khtml::CompositeEditCommandImpl khtml::DeleteTextCommandImpl khtml::InsertNodeBeforeCommandImpl khtml::InsertTextCommandImpl khtml::JoinTextNodesCommandImpl khtml::RemoveCSSPropertyCommandImpl khtml::RemoveNodeAttributeCommandImpl khtml::RemoveNodeCommandImpl khtml::SetNodeAttributeCommandImpl khtml::SplitTextNodeCommandImpl

List of all members.

Public Types

enum  ECommandState { NotApplied, Applied }

Public Member Functions

void apply ()
virtual int commandID () const
virtual void doApply ()=0
virtual DOM::DocumentImpl * document () const
virtual void doReapply ()
virtual void doUnapply ()=0
 EditCommandImpl (DOM::DocumentImpl *)
DOM::Selection endingSelection () const
bool isCompositeStep () const
EditCommandImpl * parent () const
void reapply ()
void setEndingSelection (const DOM::Selection &s)
void setParent (EditCommandImpl *)
void setStartingSelection (const DOM::Selection &s)
void setState (ECommandState state)
DOM::Selection startingSelection () const
ECommandState state () const
void unapply ()
virtual ~EditCommandImpl ()

Detailed Description

Definition at line 59 of file htmlediting_impl.h.


Member Enumeration Documentation

enum khtml::EditCommandImpl::ECommandState
Enumerator:
NotApplied 
Applied 

Definition at line 70 of file htmlediting_impl.h.


Constructor & Destructor Documentation

khtml::EditCommandImpl::EditCommandImpl ( DOM::DocumentImpl *   ) 
khtml::EditCommandImpl::~EditCommandImpl (  )  [virtual]

Definition at line 235 of file htmlediting_impl.cpp.


Member Function Documentation

void khtml::EditCommandImpl::apply (  )  [virtual]

Implements khtml::SharedCommandImpl.

Definition at line 245 of file htmlediting_impl.cpp.

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

Implements khtml::SharedCommandImpl.

Reimplemented in khtml::CompositeEditCommandImpl, khtml::AppendNodeCommandImpl, khtml::ApplyStyleCommandImpl, khtml::DeleteCollapsibleWhitespaceCommandImpl, khtml::DeleteSelectionCommandImpl, khtml::DeleteTextCommandImpl, khtml::InputNewlineCommandImpl, khtml::InputTextCommandImpl, khtml::InsertNodeBeforeCommandImpl, khtml::InsertTextCommandImpl, khtml::JoinTextNodesCommandImpl, khtml::ReplaceSelectionCommandImpl, khtml::MoveSelectionCommandImpl, khtml::RemoveCSSPropertyCommandImpl, khtml::RemoveNodeAttributeCommandImpl, khtml::RemoveNodeCommandImpl, khtml::RemoveNodeAndPruneCommandImpl, khtml::RemoveNodePreservingChildrenCommandImpl, khtml::SetNodeAttributeCommandImpl, khtml::SplitTextNodeCommandImpl, and khtml::TypingCommandImpl.

Definition at line 240 of file htmlediting_impl.cpp.

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

Implemented in khtml::CompositeEditCommandImpl, khtml::AppendNodeCommandImpl, khtml::ApplyStyleCommandImpl, khtml::DeleteCollapsibleWhitespaceCommandImpl, khtml::DeleteSelectionCommandImpl, khtml::DeleteTextCommandImpl, khtml::InputNewlineCommandImpl, khtml::InputTextCommandImpl, khtml::InsertNodeBeforeCommandImpl, khtml::InsertTextCommandImpl, khtml::JoinTextNodesCommandImpl, khtml::ReplaceSelectionCommandImpl, khtml::MoveSelectionCommandImpl, khtml::RemoveCSSPropertyCommandImpl, khtml::RemoveNodeAttributeCommandImpl, khtml::RemoveNodeCommandImpl, khtml::RemoveNodeAndPruneCommandImpl, khtml::RemoveNodePreservingChildrenCommandImpl, khtml::SetNodeAttributeCommandImpl, khtml::SplitTextNodeCommandImpl, and khtml::TypingCommandImpl.

virtual DOM::DocumentImpl* khtml::EditCommandImpl::document (  )  const [inline, virtual]

Implements khtml::SharedCommandImpl.

Definition at line 80 of file htmlediting_impl.h.

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

Reimplemented in khtml::CompositeEditCommandImpl.

Definition at line 293 of file htmlediting_impl.cpp.

virtual void khtml::EditCommandImpl::doUnapply (  )  [pure virtual]

Implemented in khtml::CompositeEditCommandImpl, khtml::AppendNodeCommandImpl, khtml::DeleteTextCommandImpl, khtml::InsertNodeBeforeCommandImpl, khtml::InsertTextCommandImpl, khtml::JoinTextNodesCommandImpl, khtml::RemoveCSSPropertyCommandImpl, khtml::RemoveNodeAttributeCommandImpl, khtml::RemoveNodeCommandImpl, khtml::SetNodeAttributeCommandImpl, and khtml::SplitTextNodeCommandImpl.

DOM::Selection khtml::EditCommandImpl::endingSelection (  )  const [inline, virtual]

Implements khtml::SharedCommandImpl.

Definition at line 83 of file htmlediting_impl.h.

bool khtml::EditCommandImpl::isCompositeStep (  )  const [inline, virtual]

Implements khtml::SharedCommandImpl.

Definition at line 66 of file htmlediting_impl.h.

EditCommandImpl * khtml::EditCommandImpl::parent (  )  const [virtual]

Implements khtml::SharedCommandImpl.

Definition at line 318 of file htmlediting_impl.cpp.

void khtml::EditCommandImpl::reapply (  )  [virtual]

Implements khtml::SharedCommandImpl.

Definition at line 277 of file htmlediting_impl.cpp.

void khtml::EditCommandImpl::setEndingSelection ( const DOM::Selection &  s  )  [virtual]

Implements khtml::SharedCommandImpl.

void khtml::EditCommandImpl::setParent ( EditCommandImpl *  cmd  ) 

Definition at line 323 of file htmlediting_impl.cpp.

void khtml::EditCommandImpl::setStartingSelection ( const DOM::Selection &  s  )  [virtual]

Implements khtml::SharedCommandImpl.

void khtml::EditCommandImpl::setState ( ECommandState  state  )  [inline]

Definition at line 86 of file htmlediting_impl.h.

DOM::Selection khtml::EditCommandImpl::startingSelection (  )  const [inline, virtual]

Implements khtml::SharedCommandImpl.

Definition at line 82 of file htmlediting_impl.h.

ECommandState khtml::EditCommandImpl::state (  )  const [inline]

Definition at line 85 of file htmlediting_impl.h.

void khtml::EditCommandImpl::unapply (  )  [virtual]

Implements khtml::SharedCommandImpl.

Definition at line 261 of file htmlediting_impl.cpp.


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
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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