diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2020-05-29 12:01:26 +0200 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-06-04 10:39:52 +0200 |
| commit | 21549529ef0e80c3dae28b4d7ea9a8ffb859f351 (patch) | |
| tree | 2e068dc065c56fd252485c977601331d25cef757 /src/corelib/text/qstringview.cpp | |
| parent | f439df7893d133261325aa19e6c8b64b41eb0042 (diff) | |
Rename snippet files to match the carved up corelib/tools/
This is a folllow-up to commits
548513a4bd050d3df0a85fed6e2d1a00ce06d2ab and
a9aa206b7b8ac4e69f8c46233b4080e00e845ff5, renaming the snippets files
referenced by the files moved out of corelib/tools/ to match the new
locations of the files using them.
Change-Id: I59f5d3c217ef835e9244387cc769e7212de9d8f5
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/corelib/text/qstringview.cpp')
| -rw-r--r-- | src/corelib/text/qstringview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/text/qstringview.cpp b/src/corelib/text/qstringview.cpp index f4c3ccce66e..bf8b80ee5d2 100644 --- a/src/corelib/text/qstringview.cpp +++ b/src/corelib/text/qstringview.cpp @@ -75,14 +75,14 @@ QT_BEGIN_NAMESPACE string literal. QStringViews should be passed by value, not by reference-to-const: - \snippet code/src_corelib_tools_qstringview.cpp 0 + \snippet code/src_corelib_text_qstringview.cpp 0 If you want to give your users maximum freedom in what strings they can pass to your function, accompany the QStringView overload with overloads for \list \li \e QChar: this overload can delegate to the QStringView version: - \snippet code/src_corelib_tools_qstringview.cpp 1 + \snippet code/src_corelib_text_qstringview.cpp 1 even though, for technical reasons, QStringView cannot provide a QChar constructor by itself. \li \e QString: if you store an unmodified copy of the string and thus would @@ -286,7 +286,7 @@ QT_BEGIN_NAMESPACE If you need the full array, use the constructor from pointer and size instead: - \snippet code/src_corelib_tools_qstringview.cpp 2 + \snippet code/src_corelib_text_qstringview.cpp 2 \a string must remain valid for the lifetime of this string view object. |
