summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-12-09 07:39:58 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-18 16:59:48 +0200
commitaf5b0086239b2d0e33b4dcc5b7d401a0e1fc6a70 (patch)
tree3805325e403ada8d34764648d92768c234a218be /include/vcl
parent909d87cc6187ecffa2704e67ffbe372fd2d90e49 (diff)
uitest: store the id of each vcl::Window
We will use the ID in the UI testing to identify the widget. Change-Id: I4dd79a02355e1de40f3c2ddc6a61a805b4e30778
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/window.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index 86ff2b76b905..933e490e2684 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -1544,6 +1544,16 @@ public:
*/
void reorderWithinParent(sal_uInt16 nNewPosition);
+ /**
+ * Sets an ID.
+ */
+ void set_id(const OUString& rID);
+
+ /**
+ * Get the ID of the window.
+ */
+ const OUString& get_id() const;
+
// Native Widget Rendering functions