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 /tests/auto/corelib.pro | |
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 'tests/auto/corelib.pro')
-rw-r--r-- | tests/auto/corelib.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/corelib.pro b/tests/auto/corelib.pro index 259be4c..a7ab54d 100644 --- a/tests/auto/corelib.pro +++ b/tests/auto/corelib.pro @@ -75,6 +75,7 @@ SUBDIRS=\ qstringbuilder4 \ qstringlist \ qstringmatcher \ + qstringref \ qtconcurrentfilter \ qtconcurrentiteratekernel \ qtconcurrentmap \ |