|
|
* (such as PIC/START) have restrictions, and can only have one instance of | * (such as PIC/START) have restrictions, and can only have one instance of |
* themselves on the canvas, and adds the operation to the undo list | * themselves on the canvas, and adds the operation to the undo list |
*/ | */ |
virtual Item* addItem( const QString &id, const QPoint &p, bool newItem ) = 0l; |
virtual Item* addItem( const QString &id, const QPoint &p, bool newItem ) = 0; |
/** | /** |
* @returns A pointer to the canvas | * @returns A pointer to the canvas |
*/ | */ |
|
|
* Set the given QCanvasItem (which will attempt to be casted to known | * Set the given QCanvasItem (which will attempt to be casted to known |
* items to be deleted. | * items to be deleted. |
*/ | */ |
virtual void appendDeleteList( QCanvasItem * ) = 0l; |
virtual void appendDeleteList( QCanvasItem * ) = 0; |
/** | /** |
* Save the current state of the document to the undo/redo history. | * Save the current state of the document to the undo/redo history. |
* @param actionTicket if this is non-negative, and the last state save | * @param actionTicket if this is non-negative, and the last state save |