Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QPainterPath & QPainterPath::operator= ( const QPainterPath path  ) 

Assigns the given path to this painter path.

See also:
QPainterPath()

Definition at line 534 of file qpainterpath.cpp.

References d_func().

{
    if (other.d_func() != d_func()) {
        QPainterPathPrivate *data = other.d_func();
        if (data) data->ref.ref();
        data = qAtomicSetPtr(&d_ptr, data);
        if (data && !data->ref.deref())
            delete (QPainterPathData *) data;
    }
    return *this;
}


Generated by  Doxygen 1.6.0   Back to index