diff options
| author | Shawn Rutledge <shawn.rutledge@qt.io> | 2024-11-27 19:06:41 +0100 |
|---|---|---|
| committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2024-11-27 22:51:58 +0100 |
| commit | 7dda22389674bd4ba705fbef438ff2ad97ed8ef5 (patch) | |
| tree | 027876fa32b78883fb53ac192c6f6ccf5840fc04 /src/quick/doc/snippets | |
| parent | a2feeada7db56c7249640974b87111667e3e3963 (diff) | |
doc: Modernize QFileSystemModel snippet and get it working
- call QFileSystemModel::setRootPath() to start populating it
- singleton rather than context property
- alternate-colored rows
- TapHandler rather than MouseArea
- required properties, qualified access etc. to satisfy qmllint
- no need for QApplication in Qt 6 (QGuiApplication is fine)
- make it buildable (how else would we know if it works?)
Pick-to: 6.8
Task-number: QTBUG-131487
Change-Id: I8b42971a3ec4f3a2fd8cfadbb2de699c852783a0
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/quick/doc/snippets')
0 files changed, 0 insertions, 0 deletions
