diff options
Diffstat (limited to 'doc/src/snippets/code/src_gui_accessible_qaccessible.cpp')
-rw-r--r-- | doc/src/snippets/code/src_gui_accessible_qaccessible.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/src/snippets/code/src_gui_accessible_qaccessible.cpp b/doc/src/snippets/code/src_gui_accessible_qaccessible.cpp new file mode 100644 index 0000000..69ebeb2 --- /dev/null +++ b/doc/src/snippets/code/src_gui_accessible_qaccessible.cpp @@ -0,0 +1,8 @@ +//! [0] +QAccessibleInterface *child = 0; +int targetChild = object->navigate(Accessible::Child, 1, &child); +if (child) { + // ... + delete child; +} +//! [0] |