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

KHTML

  • khtml
  • EditCommandImpl
Public Types | Public Member Functions | List of all members
khtml::EditCommandImpl Class Referenceabstract

#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

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 ()
 
- Public Member Functions inherited from khtml::SharedCommandImpl
 SharedCommandImpl ()
 
virtual ~SharedCommandImpl ()
 
virtual void apply ()=0
 
virtual DOM::DocumentImpl * document () const =0
 
virtual DOM::Selection endingSelection () const =0
 
virtual bool isCompositeStep () const =0
 
virtual EditCommandImpl * parent () const =0
 
virtual void reapply ()=0
 
virtual void setEndingSelection (const DOM::Selection &s)=0
 
virtual void setParent (EditCommandImpl *)=0
 
virtual void setStartingSelection (const DOM::Selection &s)=0
 
virtual DOM::Selection startingSelection () const =0
 
virtual void unapply ()=0
 

Detailed Description

Definition at line 91 of file htmlediting_impl.h.

Member Enumeration Documentation

◆ ECommandState

enum khtml::EditCommandImpl::ECommandState
Enumerator
NotApplied 
Applied 

Definition at line 101 of file htmlediting_impl.h.

Constructor & Destructor Documentation

◆ EditCommandImpl()

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

Definition at line 215 of file htmlediting_impl.cpp.

◆ ~EditCommandImpl()

khtml::EditCommandImpl::~EditCommandImpl ( )
virtual

Definition at line 225 of file htmlediting_impl.cpp.

Member Function Documentation

◆ apply()

void khtml::EditCommandImpl::apply ( )
virtual

Implements khtml::SharedCommandImpl.

Definition at line 230 of file htmlediting_impl.cpp.

◆ doApply()

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

Implemented in 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, khtml::IndentOutdentCommandImpl, and khtml::CompositeEditCommandImpl.

◆ document()

virtual DOM::DocumentImpl * khtml::EditCommandImpl::document ( ) const
inlinevirtual

Implements khtml::SharedCommandImpl.

Definition at line 111 of file htmlediting_impl.h.

◆ doReapply()

void khtml::EditCommandImpl::doReapply ( )
virtual

Reimplemented in khtml::CompositeEditCommandImpl.

Definition at line 272 of file htmlediting_impl.cpp.

◆ doUnapply()

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.

◆ endingSelection()

DOM::Selection khtml::EditCommandImpl::endingSelection ( ) const
inlinevirtual

Implements khtml::SharedCommandImpl.

Definition at line 114 of file htmlediting_impl.h.

◆ isCompositeStep()

bool khtml::EditCommandImpl::isCompositeStep ( ) const
inlinevirtual

Implements khtml::SharedCommandImpl.

Definition at line 97 of file htmlediting_impl.h.

◆ isInputTextCommand()

virtual bool khtml::EditCommandImpl::isInputTextCommand ( ) const
inlinevirtual

Reimplemented in khtml::InputTextCommandImpl.

Definition at line 124 of file htmlediting_impl.h.

◆ isTypingCommand()

virtual bool khtml::EditCommandImpl::isTypingCommand ( ) const
inlinevirtual

Reimplemented in khtml::TypingCommandImpl.

Definition at line 123 of file htmlediting_impl.h.

◆ parent()

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

Implements khtml::SharedCommandImpl.

Definition at line 297 of file htmlediting_impl.cpp.

◆ reapply()

void khtml::EditCommandImpl::reapply ( )
virtual

Implements khtml::SharedCommandImpl.

Definition at line 258 of file htmlediting_impl.cpp.

◆ setEndingSelection()

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

Implements khtml::SharedCommandImpl.

Definition at line 287 of file htmlediting_impl.cpp.

◆ setParent()

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

Implements khtml::SharedCommandImpl.

Definition at line 302 of file htmlediting_impl.cpp.

◆ setStartingSelection()

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

Implements khtml::SharedCommandImpl.

Definition at line 277 of file htmlediting_impl.cpp.

◆ setState()

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

Definition at line 117 of file htmlediting_impl.h.

◆ startingSelection()

DOM::Selection khtml::EditCommandImpl::startingSelection ( ) const
inlinevirtual

Implements khtml::SharedCommandImpl.

Definition at line 113 of file htmlediting_impl.h.

◆ state()

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

Definition at line 116 of file htmlediting_impl.h.

◆ unapply()

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

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

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • 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
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal