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

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

Assigns the given path to this painter path.

See also:
QPainterPath()

Definition at line 563 of file qpainterpath.cpp.

References d_func().

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


Generated by  Doxygen 1.6.0   Back to index