Untitled


SUBMITTED BY: Guest

DATE: May 14, 2013, 5:50 p.m.

FORMAT: C++

SIZE: 207 Bytes

HITS: 79940

  1. QString MainWindow::GetId(QString url)
  2. {
  3. QRegExp re("^[^v]+v=(.{11}).*", Qt::CaseInsensitive);
  4. re.indexIn(url);
  5. QStringList list = re.capturedTexts();
  6. return list.at(1);
  7. }

comments powered by Disqus