Stefan Schimanski wrote:
I reorganised the code and moved the dialog and saving code into the frontend (i.e. Clipboard.cpp) now. The CutAndPaste function is very simple now.
I looked at the patch just now and realized that you are introducing Clipboard.cpp while I think you should just put the code in GuiClipboard and use Qt methods. For example in Clipboard::GraphicsData::save() you could use QImage::save(), couldn't you? Same remark for getPastedGraphicsFileName(), you just don't need the additional file IMHO.
Abdel.