lib
CustomItemsMap Class Reference
#include <KoTextDocument.h>
Inherits QMap< int, KoTextCustomItem * >.
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.
Public Member Functions | |
void | insertItems (const KoTextCursor &startCursor, int size) |
void | deleteAll (KMacroCommand *macroCmd) |
Member Function Documentation
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.
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.
The documentation for this class was generated from the following files: