summaryrefslogtreecommitdiff
path: root/vcl/inc/qt6
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-12-20 21:34:46 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2024-12-21 09:29:21 +0100
commitb8ca64234f2b35b0d984999f36414bb20cf192b7 (patch)
treebb7ca78f32783c97657b4b9439a18660e9971dba /vcl/inc/qt6
parenta6f206c92dc91003c5cbefd03e41cace25c85dc9 (diff)
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 <m.weghorn@posteo.de> Tested-by: Jenkins
Diffstat (limited to 'vcl/inc/qt6')
-rw-r--r--vcl/inc/qt6/QtInstanceMenu.hxx12
1 files changed, 12 insertions, 0 deletions
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: */