Glimpse in kdereview

Aaron J. Seigo aseigo at
Mon Mar 31 16:32:07 BST 2008

On Monday 31 March 2008, Kåre Särs wrote:
> On Monday 31 March 2008, Aaron J. Seigo wrote:
> > from the QImage docs:
> >
> > "QImage objects can be passed around by value since the QImage class uses
> > implicit data sharing."
> >
> > in this case the QImage is created in the method, then passed back by
> > reference to the QImage object in the consumer at which point the QImage
> > in makeQImage is destroyed (no further modifications) ... so no data is
> > actually copied, just pointers moved around in the dtprs. quite fast, no
> > matter what size the image actually is =)
> I wish I had known that before I opted in to have libksane 0.1.0 released
> with kde 4.0.2 ....

if you need to keep SC and BC, just add another more sensible method and mark 
the current one as deprecated. =)

Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the kde-core-devel mailing list