From 71d90c236d57580e3e81adcd09ea5abe5be8a8d2 Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Sat, 21 Dec 2024 01:22:04 +0100 Subject: tdf#130857 qt weld: Implement scroll bar policy {g,s}etters Change-Id: I0ee4cececc40f21a6ef4eeb034c44727578d309c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178976 Tested-by: Jenkins Reviewed-by: Michael Weghorn --- vcl/inc/qt5/QtInstanceScrolledWindow.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vcl/inc') diff --git a/vcl/inc/qt5/QtInstanceScrolledWindow.hxx b/vcl/inc/qt5/QtInstanceScrolledWindow.hxx index 548e7fbf4033..7a612372ae08 100644 --- a/vcl/inc/qt5/QtInstanceScrolledWindow.hxx +++ b/vcl/inc/qt5/QtInstanceScrolledWindow.hxx @@ -59,6 +59,10 @@ public: virtual void customize_scrollbars(const Color& rBackgroundColor, const Color& rShadowColor, const Color& rFaceColor) override; + +private: + static Qt::ScrollBarPolicy toQtPolicy(VclPolicyType eVclPolicy); + static VclPolicyType toVclPolicy(Qt::ScrollBarPolicy eQtPolicy); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ -- cgit