aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtGui
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-12-03 17:07:11 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:47:56 -0300
commitedf5b58da83696ad908ac21b18bdd9a343d842ee (patch)
tree3ce899c72ff81b7958e463c4d96ae6f58d7835af /PySide/QtGui
parent1c6fad98417ad5be5a4748ac865ed81f52b5d9c5 (diff)
Added QRegExp.replace(QString, const char*) method.
The only way to search and replace using QRegExp is using the QString::replace method. Since QString was removed, QRegExp now is useful only to search stuff, but not replace. For this purpose the QRegExp.replace method was added. The first argument is the string that will be operated over, the second argument contains the replacement, and the return value is a new modified Python string. Unit tests and documentation for QRegExp.replace were added as well. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'PySide/QtGui')
0 files changed, 0 insertions, 0 deletions