Logo Search packages:      
Sourcecode: qt-x11-free version File versions

QRegExp & QRegExp::operator= ( const QRegExp rx  ) 

Copies the regular expression rx and returns a reference to the copy. The case sensitivity, wildcard and minimal matching options are also copied.

Definition at line 3350 of file qregexp.cpp.

References eng, and priv.

Referenced by QRegExp().

    QRegExpEngine *otherEng = rx.eng;
    if ( otherEng != 0 )
    eng = otherEng;
    priv->pattern = rx.priv->pattern;
    priv->rxpattern = rx.priv->rxpattern;
    priv->wc = rx.priv->wc;
    priv->min = rx.priv->min;
    priv->cs = rx.priv->cs;
    priv->t = rx.priv->t;
    priv->capturedCache = rx.priv->capturedCache;
    priv->captured = rx.priv->captured;
    return *this;

Generated by  Doxygen 1.6.0   Back to index