#pragma once class QQuickWindow; class TextBackend; // Environment-driven helpers for headless testing; no effect when unset. // SLOPOSK_AUTOTYPE=text commit `text` whenever a text field gets focus // SLOPOSK_SCREENSHOT=path save the keyboard window to `path`, then quit void installDevHooks(TextBackend &backend, QQuickWindow &window);