diff options
Diffstat (limited to 'tools/snippets_translate/override.py')
| -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 |
