From a6cd97bd9c513a6131be1e7f46c44e2d135f8dc7 Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Sat, 18 Jan 2025 17:17:25 +0100 Subject: tdf#130857 qt weld: Extract helper method to set menu button props Change-Id: I5f23f3e5734cee99ed54c9082fe9cbb3d9b54f0d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180460 Tested-by: Jenkins Reviewed-by: Michael Weghorn --- vcl/inc/qt5/QtBuilder.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vcl/inc') diff --git a/vcl/inc/qt5/QtBuilder.hxx b/vcl/inc/qt5/QtBuilder.hxx index bb5ba7ad6278..254fb379023b 100644 --- a/vcl/inc/qt5/QtBuilder.hxx +++ b/vcl/inc/qt5/QtBuilder.hxx @@ -20,6 +20,7 @@ #include #include #include +#include #include #include @@ -98,6 +99,7 @@ private: static void setProperties(QObject* obj, stringmap& rProps); void setButtonProperties(QPushButton& rButton, stringmap& rProps); static void setLabelProperties(QLabel& rLabel, stringmap& rProps); + void setMenuButtonProperties(QToolButton& rButton, stringmap& rProps); void setScaleProperties(QSlider& rSlider, stringmap& rProps); void setSpinButtonProperties(QDoubleSpinBox& rSpinBox, stringmap& rProps); static QWidget* windowForObject(QObject* pObject); -- cgit