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

QString QRegExp::errorString (  ) 

Returns a text string that explains why a regexp pattern is invalid the case being; otherwise returns "no error occurred".

See also:
isValid()

Definition at line 3897 of file qregexp.cpp.

References isValid().

{
    if ( isValid() ) {
      return QString( RXERR_OK );
    } else {
      return eng->errorString();
    }
}


Generated by  Doxygen 1.6.0   Back to index