lib

KoTextDeleteCommand Class Reference

#include <KoTextCommand.h>

Inheritance diagram for KoTextDeleteCommand:
KoTextInsertCommand

Public Member Functions

 KoTextDeleteCommand (KoTextDocument *d, int i, int idx, const TQMemArray< KoTextStringChar > &str, const CustomItemsMap &customItemsMap, const TQValueList< KoParagLayout > &oldParagLayouts)
 
KoTextCursor * execute (KoTextCursor *c)
 
KoTextCursor * unexecute (KoTextCursor *c)
 

Protected Attributes

TQValueList< KoParagLayout > m_oldParagLayouts
 
CustomItemsMap m_customItemsMap
 

Detailed Description

Command created when deleting some text.

Definition at line 55 of file KoTextCommand.h.

Constructor & Destructor Documentation

◆ KoTextDeleteCommand()

KoTextDeleteCommand::KoTextDeleteCommand ( KoTextDocument *  d,
int  i,
int  idx,
const TQMemArray< KoTextStringChar > &  str,
const CustomItemsMap &  customItemsMap,
const TQValueList< KoParagLayout > &  oldParagLayouts 
)

Definition at line 39 of file KoTextCommand.cpp.

Member Function Documentation

◆ execute()

KoTextCursor * KoTextDeleteCommand::execute ( KoTextCursor *  c)

Definition at line 50 of file KoTextCommand.cpp.

◆ unexecute()

KoTextCursor * KoTextDeleteCommand::unexecute ( KoTextCursor *  c)

Definition at line 76 of file KoTextCommand.cpp.

Member Data Documentation

◆ m_customItemsMap

CustomItemsMap KoTextDeleteCommand::m_customItemsMap
protected

Definition at line 65 of file KoTextCommand.h.

◆ m_oldParagLayouts

TQValueList<KoParagLayout> KoTextDeleteCommand::m_oldParagLayouts
protected

Definition at line 64 of file KoTextCommand.h.


The documentation for this class was generated from the following files: