summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDennis Oberst <dennis.oberst@qt.io>2023-02-28 18:47:05 +0100
committerDennis Oberst <dennis.oberst@qt.io>2023-03-20 20:58:08 +0100
commitd795dfaee7093a30b278e6e8b9dea30c2e7a2106 (patch)
tree7797d1c53dca0d33a6618a0f55eaa8fdeeef4fcd /doc
parent5c2245cd66894cc27d6d4afcf13499db6434ee2e (diff)
downloadqtbase-d795dfaee7093a30b278e6e8b9dea30c2e7a2106.tar.gz
Example: update wordcount example
Added a QFileDialog to let the user select a path. Before, the path was statically assigned with "../../" , which is not optimal. I also modified the findFiles function to check for text files in general and not only *.cpp and *.h files. Lastly the result of the word counting is now displayed on the console, as I think this is an informative output from this example. Task-number: QTBUG-111165 Pick-to: 6.5 6.5.0 Change-Id: Ie27c6acb4f79a78e3bef141edb92de08901fde71 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/global/manifest-meta.qdocconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/global/manifest-meta.qdocconf b/doc/global/manifest-meta.qdocconf
index 63c8c4befb..633888c3d1 100644
--- a/doc/global/manifest-meta.qdocconf
+++ b/doc/global/manifest-meta.qdocconf
@@ -211,7 +211,7 @@ manifestmeta.thumbnail.names = "QtCore/Contiguous Cache Example" \
"QtCore/Semaphores Example" \
"QtCore/Wait Conditions Example" \
"QtConcurrent/Map Example" \
- "QtConcurrent/QtConcurrent Word Count Example" \
+ "QtConcurrent/Word Count" \
"QtConcurrent/Run Function Example" \
"QtGui/Raster Window Example" \
"QtNetwork/Network Download*" \