From b8ca64234f2b35b0d984999f36414bb20cf192b7 Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Fri, 20 Dec 2024 21:34:46 +0100 Subject: tdf#130857 qt weld: Introduce QtInstanceMenu Introduce QtInstanceMenu as the native Qt implementation for weld::Menu. This mostly adds the basic structure. For all methods except QtInstanceMenu::clear, the actual logic still needs to be implemented. Change-Id: I983f2cd3976eee50f55b2ac702578833dbad3d39 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178964 Reviewed-by: Michael Weghorn Tested-by: Jenkins --- vcl/inc/qt6/QtInstanceMenu.hxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 vcl/inc/qt6/QtInstanceMenu.hxx (limited to 'vcl/inc/qt6') diff --git a/vcl/inc/qt6/QtInstanceMenu.hxx b/vcl/inc/qt6/QtInstanceMenu.hxx new file mode 100644 index 000000000000..9fc95fb09529 --- /dev/null +++ b/vcl/inc/qt6/QtInstanceMenu.hxx @@ -0,0 +1,12 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#include "../qt5/QtInstanceMenu.hxx" + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ -- cgit