lib

KoTextInsertCommand Class Reference

#include <KoTextCommand.h>

Inheritance diagram for KoTextInsertCommand:
KoTextDeleteCommand

Public Member Functions

 KoTextInsertCommand (KoTextDocument *d, int i, int idx, const TQMemArray< KoTextStringChar > &str, const CustomItemsMap &customItemsMap, const TQValueList< KoParagLayout > &oldParagLayouts)
 
Commands type () const
 
KoTextCursor * execute (KoTextCursor *c)
 
KoTextCursor * unexecute (KoTextCursor *c)
 
- Public Member Functions inherited from KoTextDeleteCommand
 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)
 

Additional Inherited Members

- Protected Attributes inherited from KoTextDeleteCommand
TQValueList< KoParagLayout > m_oldParagLayouts
 
CustomItemsMap m_customItemsMap
 

Detailed Description

Command created when inserting some text.

Definition at line 71 of file KoTextCommand.h.

Constructor & Destructor Documentation

◆ KoTextInsertCommand()

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

Definition at line 74 of file KoTextCommand.h.

Member Function Documentation

◆ execute()

KoTextCursor * KoTextInsertCommand::execute ( KoTextCursor *  c)
inline

Definition at line 79 of file KoTextCommand.h.

◆ type()

Commands KoTextInsertCommand::type ( ) const
inline

Definition at line 78 of file KoTextCommand.h.

◆ unexecute()

KoTextCursor * KoTextInsertCommand::unexecute ( KoTextCursor *  c)
inline

Definition at line 80 of file KoTextCommand.h.


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