summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-02-15 11:52:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-02-15 16:59:42 +0100
commit0880fb5e3e455cbe5279c6f9cdcd0772cff11312 (patch)
treebc5656631d0e8306403baeb4540e15ec845d5bfa /include/vcl
parentd5670177aacde2d722cfba6fe8083544549533e0 (diff)
use GetPopupParent for editeng transient dialogs
Change-Id: Ie799643b68ea41b4c4d0d0493755d09d3983d9e0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110934 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/weld.hxx7
1 files changed, 4 insertions, 3 deletions
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<Container> 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)