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

void QRegExp::setPattern ( const QString pattern  ) 

Sets the pattern string to pattern. The case sensitivity, wildcard and minimal matching options are not changed.

See also:
pattern()

Definition at line 3460 of file qregexp.cpp.

{
    if ( priv->pattern != pattern ) {
      priv->pattern = pattern;
      invalidateEngine();
    }
}


Generated by  Doxygen 1.6.0   Back to index