From 0880fb5e3e455cbe5279c6f9cdcd0772cff11312 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 15 Feb 2021 11:52:37 +0000 Subject: use GetPopupParent for editeng transient dialogs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie799643b68ea41b4c4d0d0493755d09d3983d9e0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110934 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- include/vcl/weld.hxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/vcl') diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 6f734be32b6d..2c0c5f6b5724 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -287,6 +287,8 @@ public: virtual void freeze() = 0; virtual void thaw() = 0; + virtual void set_busy_cursor(bool bBusy) = 0; + virtual std::unique_ptr weld_parent() const = 0; //iterate upwards through the hierarchy starting at this widgets parent, @@ -476,7 +478,6 @@ protected: public: virtual void set_title(const OUString& rTitle) = 0; virtual OUString get_title() const = 0; - virtual void set_busy_cursor(bool bBusy) = 0; virtual void window_move(int x, int y) = 0; virtual void set_modal(bool bModal) = 0; virtual bool get_modal() const = 0; @@ -523,10 +524,10 @@ public: class VCL_DLLPUBLIC WaitObject { private: - weld::Window* m_pWindow; + weld::Widget* m_pWindow; public: - WaitObject(weld::Window* pWindow) + WaitObject(weld::Widget* pWindow) : m_pWindow(pWindow) { if (m_pWindow) -- cgit