LogoSearch packages:      

Sourcecode: qt4-x11 version File versions  Download package

QImage & QImage::operator= ( const QImage image  ) 

Assigns a shallow copy of the given image to this image and returns a reference to this image.

For more information about shallow copies, see the {Implicit Data Sharing} documentation.

See also:
copy(), QImage()

Definition at line 1271 of file qimage.cpp.

References d.

Referenced by load(), and loadFromData().

{
    if (image.d)
        image.d->ref.ref();
    if (d && !d->ref.deref())
        delete d;
    d = image.d;
    return *this;
}


Generated by  Doxygen 1.5.1   Back to index