diff options
| author | Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2022-08-29 11:17:21 +0200 |
|---|---|---|
| committer | Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2022-08-29 09:40:05 +0000 |
| commit | ecc192d91985e93536c64d6e40604c7c8cd6c18d (patch) | |
| tree | 465080ffd90a17f7199da681b7aeb46f229cacc3 /tools/snippets_translate | |
| parent | ba5fdf167b79444f210884aa01f484b5283ec67a (diff) | |
fix bluetooth heart rate example snippet directory
amends ba5fdf167b79444f210884aa01f484b5283ec67a
Pick-to: 6.3
Task-number: PYSIDE-841
Change-Id: I03e06d77ce6dce0acaef1366f9fbde1dbbe05d0c
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tools/snippets_translate')
| -rw-r--r-- | tools/snippets_translate/override.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/snippets_translate/override.py b/tools/snippets_translate/override.py index 3154f4136..e7623d8a5 100644 --- a/tools/snippets_translate/override.py +++ b/tools/snippets_translate/override.py @@ -88,21 +88,21 @@ def python_example_snippet_mapping(): snippet_id = str(i) result[(qt_path, snippet_id)] = pyside_path, snippet_id - qt_path = "qtconnectivity/examples/bluetooth/heartrate-game/devicefinder.cpp" - pyside_path = EXAMPLES_PATH / "bluetooth" / "heartrate-game" / "devicefinder.py" + qt_path = "qtconnectivity/examples/bluetooth/heartrate_game/devicefinder.cpp" + pyside_path = EXAMPLES_PATH / "bluetooth" / "heartrate_game" / "devicefinder.py" for i in range(5): snippet_id = f"devicediscovery-{i}" result[(qt_path, snippet_id)] = pyside_path, snippet_id - qt_path = "qtconnectivity/examples/bluetooth/heartrate-game/devicehandler.cpp" - pyside_path = EXAMPLES_PATH / "bluetooth" / "heartrate-game" / "devicehandler.py" + qt_path = "qtconnectivity/examples/bluetooth/heartrate_game/devicehandler.cpp" + pyside_path = EXAMPLES_PATH / "bluetooth" / "heartrate_game" / "devicehandler.py" for snippet_id in ["Connect-Signals-1", "Connect-Signals-2", "Filter HeartRate service 2", "Find HRM characteristic", "Reading value"]: result[(qt_path, snippet_id)] = pyside_path, snippet_id - qt_path = "qtconnectivity/examples/bluetooth/heartrate-server/main.cpp" - pyside_path = EXAMPLES_PATH / "bluetooth" / "heartrate-server" / "heartrate-server.py" + qt_path = "qtconnectivity/examples/bluetooth/heartrate_server/main.cpp" + pyside_path = EXAMPLES_PATH / "bluetooth" / "heartrate_server" / "heartrate_server.py" for snippet_id in ["Advertising Data", "Start Advertising", "Service Data", "Provide Heartbeat"]: result[(qt_path, snippet_id)] = pyside_path, snippet_id |
