lib

CustomItemsMap Class Reference

#include <KoTextDocument.h>

Inherits TQMap< U, T >.

Public Member Functions

void insertItems (const KoTextCursor &startCursor, int size)
 
void deleteAll (KMacroCommand *macroCmd)
 

Detailed Description

A CustomItemsMap associates a custom item to an index Used in the undo/redo info for insert/delete text.

Definition at line 608 of file KoTextDocument.h.

Member Function Documentation

◆ deleteAll()

void CustomItemsMap::deleteAll ( KMacroCommand *  macroCmd)

Delete all the items from the map, adding their commands into macroCmd.

Definition at line 139 of file KoTextCustomItem.cpp.

◆ insertItems()

void CustomItemsMap::insertItems ( const KoTextCursor &  startCursor,
int  size 
)

Insert all the items from the map, into the existing text.

Definition at line 120 of file KoTextCustomItem.cpp.


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