lib Library API Documentation

CustomItemsMap Class Reference

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

#include <kotextdocument.h>

Inheritance diagram for CustomItemsMap:

QMap< int, KoTextCustomItem * > List of all members.

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 601 of file kotextdocument.h.


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 119 of file kotextcustomitem.cc.

References insertItems().

Referenced by KoTextObject::insert(), and insertItems().

void CustomItemsMap::deleteAll KMacroCommand *  macroCmd  ) 
 

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

Definition at line 138 of file kotextcustomitem.cc.

References deleteAll().

Referenced by deleteAll().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for lib Library Version 1.3.5.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Nov 17 06:54:21 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003