diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-02-22 14:40:54 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-02-22 20:25:38 +0100 |
commit | 216d7c42a8ccc5fa1379e84cb6b32d21857f774d (patch) | |
tree | 6dfb9f4fba82a343be38abea20bb1f300e88c417 /include/svx/fmgridcl.hxx | |
parent | e651dcd9820b2472e66f512ad2669e21d23ef465 (diff) |
weld colsmenu
Change-Id: I733e101905137abc0b3f93b9fe03e4a26c1bd520
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111348
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svx/fmgridcl.hxx')
-rw-r--r-- | include/svx/fmgridcl.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/svx/fmgridcl.hxx b/include/svx/fmgridcl.hxx index 9b97b4282e7c..af5dbf5c15ab 100644 --- a/include/svx/fmgridcl.hxx +++ b/include/svx/fmgridcl.hxx @@ -27,8 +27,7 @@ namespace com::sun::star::beans { class XPropertySet; } namespace com::sun::star::container { class XIndexContainer; } namespace com::sun::star::container { class XNameAccess; } - -class PopupMenu; +namespace weld { class Menu; } // FmGridHeader @@ -66,10 +65,12 @@ protected: All disabled entries will be removed before executing the menu, so be careful with separators near entries you probably wish to disable ... */ - virtual void PreExecuteColumnContextMenu(sal_uInt16 nColId, PopupMenu& rMenu); + virtual void PreExecuteColumnContextMenu(sal_uInt16 nColId, weld::Menu& rMenu, + weld::Menu& rInsertMenu, weld::Menu& rChangeMenu, + weld::Menu& rShowMenu); /** After executing the context menu for a column this method is called. */ - virtual void PostExecuteColumnContextMenu(sal_uInt16 nColId, const PopupMenu& rMenu, sal_uInt16 nExecutionResult); + virtual void PostExecuteColumnContextMenu(sal_uInt16 nColId, const weld::Menu& rMenu, const OString& rExecutionResult); // DropTargetHelper virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ) override; |