you want me to casting paintingdevice?
i m sure its not qwidget its qimage or qpixmap or qbitmap i dont know exactly what is that!
I'm asking you to look into the source code of the application you are maintaining and see what is the source device for the call being made.
So check. If it's QImage or QPixmap (or QBitmap which is its subclass) then you can use QImage::copy() or QPixmap::copy().i m sure its not qwidget its qimage or qpixmap or qbitmap i dont know exactly what is that!
if i wanna do this i must check so much code, and change so many functions for referencing that object too, if i have only QPainterDevice i cannot do anything?
Bookmarks