• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs 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:
Inheritance graph
[legend]

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 ()
 

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::IndentOutdentCommandImpl, khtml::InsertListCommandImpl, khtml::TypingCommandImpl, khtml::SplitTextNodeCommandImpl, khtml::SetNodeAttributeCommandImpl, khtml::RemoveNodePreservingChildrenCommandImpl, khtml::RemoveNodeAndPruneCommandImpl, khtml::RemoveNodeCommandImpl, khtml::RemoveNodeAttributeCommandImpl, khtml::RemoveCSSPropertyCommandImpl, khtml::MoveSelectionCommandImpl, khtml::ReplaceSelectionCommandImpl, khtml::JoinTextNodesCommandImpl, khtml::InsertTextCommandImpl, khtml::InsertNodeBeforeCommandImpl, khtml::InputTextCommandImpl, khtml::InputNewlineCommandImpl, khtml::DeleteTextCommandImpl, khtml::DeleteSelectionCommandImpl, khtml::DeleteCollapsibleWhitespaceCommandImpl, khtml::ApplyStyleCommandImpl, khtml::AppendNodeCommandImpl, and khtml::CompositeEditCommandImpl.

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

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::SplitTextNodeCommandImpl, khtml::SetNodeAttributeCommandImpl, khtml::RemoveNodeCommandImpl, khtml::RemoveNodeAttributeCommandImpl, khtml::RemoveCSSPropertyCommandImpl, khtml::JoinTextNodesCommandImpl, khtml::InsertTextCommandImpl, khtml::InsertNodeBeforeCommandImpl, khtml::DeleteTextCommandImpl, khtml::AppendNodeCommandImpl, and khtml::CompositeEditCommandImpl.

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

Implements khtml::SharedCommandImpl.

Definition at line 114 of file htmlediting_impl.h.

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

Implements khtml::SharedCommandImpl.

Definition at line 97 of file htmlediting_impl.h.

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

Reimplemented in khtml::InputTextCommandImpl.

Definition at line 124 of file htmlediting_impl.h.

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

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
inlinevirtual

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:24 by doxygen 1.8.7 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 API Reference

Skip menu "kdelibs 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
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



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