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

KHTML

  • khtml
  • EditCommandImpl
Public Types | Public Member Functions

khtml::EditCommandImpl Class Reference

#include <htmlediting_impl.h>

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

List of all members.

Public Types

enum  ECommandState { NotApplied, Applied }

Public Member Functions

 EditCommandImpl (DOM::DocumentImpl *)
virtual ~EditCommandImpl ()
void apply ()
virtual void doApply ()=0
virtual DOM::DocumentImpl * document () const
virtual void doReapply ()
virtual void doUnapply ()=0
DOM::Selection endingSelection () const
bool isCompositeStep () const
virtual bool isInputTextCommand () const
virtual bool isTypingCommand () 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 ()

Detailed Description

Definition at line 91 of file htmlediting_impl.h.


Member Enumeration Documentation

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

Definition at line 101 of file htmlediting_impl.h.


Constructor & Destructor Documentation

khtml::EditCommandImpl::EditCommandImpl ( DOM::DocumentImpl *  )

Definition at line 215 of file htmlediting_impl.cpp.

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

Definition at line 225 of file htmlediting_impl.cpp.


Member Function Documentation

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

Implements khtml::SharedCommandImpl.

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

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

Implements khtml::SharedCommandImpl.

Definition at line 111 of file htmlediting_impl.h.

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

Reimplemented in khtml::CompositeEditCommandImpl.

Definition at line 272 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 114 of file htmlediting_impl.h.

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

Implements khtml::SharedCommandImpl.

Definition at line 97 of file htmlediting_impl.h.

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

Reimplemented in khtml::InputTextCommandImpl.

Definition at line 124 of file htmlediting_impl.h.

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

Reimplemented in khtml::TypingCommandImpl.

Definition at line 123 of file htmlediting_impl.h.

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

Implements khtml::SharedCommandImpl.

Definition at line 297 of file htmlediting_impl.cpp.

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

Implements khtml::SharedCommandImpl.

Definition at line 258 of file htmlediting_impl.cpp.

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

Implements khtml::SharedCommandImpl.

Definition at line 287 of file htmlediting_impl.cpp.

void khtml::EditCommandImpl::setParent ( EditCommandImpl *  cmd) [virtual]

Implements khtml::SharedCommandImpl.

Definition at line 302 of file htmlediting_impl.cpp.

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

Implements khtml::SharedCommandImpl.

Definition at line 277 of file htmlediting_impl.cpp.

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

Definition at line 117 of file htmlediting_impl.h.

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

Implements khtml::SharedCommandImpl.

Definition at line 113 of file htmlediting_impl.h.

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

Definition at line 116 of file htmlediting_impl.h.

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

Implements khtml::SharedCommandImpl.

Definition at line 244 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
  • 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