Logo Search packages:      
Sourcecode: kcheckgmail version File versions

QString GMailParser::stripTags ( QString  data  ) 

Tags stripper.

This function removes all tags from data.

data The data to be processed
The content of data without tags

Definition at line 721 of file gmailparser.cpp.

Referenced by cleanUpData().

      static QRegExp tags("<[^>]+>|</[^>]+>|<[^>]+/>");
      if(!tags.isValid()) {
            kdWarning() << k_funcinfo << "Invalid RX!\n"
                        << tags.errorString() << endl;
      return data;

Generated by  Doxygen 1.6.0   Back to index