summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-02-19 12:51:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-02-19 16:10:44 +0100
commit91dffd7424a4522440a84fca2262a1701aaf4e8b (patch)
tree5088b564613121571642d5dd30af1b09c6495ee3 /include
parent84a3b4d7635d0a5819e8b376efa4d47e74612739 (diff)
weld rows menu
Change-Id: I0dd56e2c236b15b057ddd0f2d93019b783d457d0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111218 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/fmgridcl.hxx2
-rw-r--r--include/svx/gridctrl.hxx6
2 files changed, 5 insertions, 3 deletions
diff --git a/include/svx/fmgridcl.hxx b/include/svx/fmgridcl.hxx
index c9007b397ccb..9b97b4282e7c 100644
--- a/include/svx/fmgridcl.hxx
+++ b/include/svx/fmgridcl.hxx
@@ -28,6 +28,8 @@ namespace com::sun::star::beans { class XPropertySet; }
namespace com::sun::star::container { class XIndexContainer; }
namespace com::sun::star::container { class XNameAccess; }
+class PopupMenu;
+
// FmGridHeader
struct FmGridHeaderData;
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx
index 5b13b328ae12..f23d4455734c 100644
--- a/include/svx/gridctrl.hxx
+++ b/include/svx/gridctrl.hxx
@@ -37,9 +37,9 @@ namespace com::sun::star::sdbc { class XRowSet; }
namespace com::sun::star::sdb { class XRowsChangeListener; }
namespace com::sun::star::uno { class XComponentContext; }
namespace com::sun::star::util { class XNumberFormatter; }
+namespace weld { class Menu; }
class CursorWrapper;
-class PopupMenu;
bool CompareBookmark(const css::uno::Any& aLeft, const css::uno::Any& aRight);
@@ -345,10 +345,10 @@ 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 PreExecuteRowContextMenu(PopupMenu& rMenu);
+ virtual void PreExecuteRowContextMenu(weld::Menu& rMenu);
/** After executing the context menu for a row this method is called.
*/
- virtual void PostExecuteRowContextMenu(const PopupMenu& rMenu, sal_uInt16 nExecutionResult);
+ virtual void PostExecuteRowContextMenu(const OString& rExecutionResult);
/// @throws css::uno::RuntimeException
void DataSourcePropertyChanged(const css::beans::PropertyChangeEvent& evt);