Properly define the lifetime of a Shape / Frame / FrameSet in KWord so we don't have memory leaks.
This refactor has as effect that KWord now removes frames by removing its shape and deleting (done in the remove command) the shape will delete the frame and possibly the frameset. For this reason the KoShape needs to 'own' some add on application data; I added the KoShapeApplicationData interface for that. svn path=/trunk/koffice/; revision=607382
Showing with 76 additions and 1 deletion