diff options
author | Anders Bakken <agbakken@gmail.com> | 2010-05-31 12:03:00 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-05-31 12:05:09 (GMT) |
commit | 1b687d41ecf6b129982318632398526525f882b0 (patch) | |
tree | a7e6e23d70ab0313ec78c2ec307fddcc7df23e59 /examples/ipc | |
parent | f21d6799385e10f3ecf9d1b5af050ec83c6031b4 (diff) | |
download | Qt-1b687d41ecf6b129982318632398526525f882b0.zip Qt-1b687d41ecf6b129982318632398526525f882b0.tar.gz Qt-1b687d41ecf6b129982318632398526525f882b0.tar.bz2 |
Add some convenience functions for QStringRef
QStringRef was hard to use for a lot of real-world tasks since it lacked
methods similar to the ones in QString for
indexOf/lastIndexOf/contains/startsWith/endsWith
This patch adds that functionality.
I also copied the relevant test cases from QString for the new APIs and
introduced a QStringRef test.
Merge-request: 625
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
Reviewed-by: ossi
Diffstat (limited to 'examples/ipc')
0 files changed, 0 insertions, 0 deletions