diff options
author | Antonio Fernandez <antonio.fernandez@aentos.es> | 2012-08-31 14:41:26 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-11-14 13:52:46 +0100 |
commit | 0099aaae0f4848b2a000f385fc0a533d327194af (patch) | |
tree | 2564073699c1d5066e63f93b3f45d9d9dd7df9e4 /vcl/inc/unx/gtk/gtksalmenu.hxx | |
parent | a5e35f8d8042c6c8b444de9eb8162bf8e917f533 (diff) |
Added code for accelerators.
Change-Id: I427b15dd6faca18d34d94ba0a25fd8b6b9844bea
Diffstat (limited to 'vcl/inc/unx/gtk/gtksalmenu.hxx')
-rw-r--r-- | vcl/inc/unx/gtk/gtksalmenu.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/inc/unx/gtk/gtksalmenu.hxx b/vcl/inc/unx/gtk/gtksalmenu.hxx index 2d4cbe321297..dc302602f0ec 100644 --- a/vcl/inc/unx/gtk/gtksalmenu.hxx +++ b/vcl/inc/unx/gtk/gtksalmenu.hxx @@ -86,10 +86,11 @@ public: virtual void SetActionGroup( GActionGroup* pActionGroup ) { mpActionGroup = pActionGroup; } virtual GActionGroup* GetActionGroup() { return mpActionGroup; } - void SetNativeItemText( unsigned nSection, unsigned nItemPos, const rtl::OUString& rText ); - void SetNativeItemCommand( unsigned nSection, unsigned nItemPos, GtkSalMenuItem* pItem, const gchar* aCommandStr ); - void SetNativeEnableItem( gchar* aCommand, gboolean bEnable ); + void NativeSetItemText( unsigned nSection, unsigned nItemPos, const rtl::OUString& rText ); + void NativeSetItemCommand( unsigned nSection, unsigned nItemPos, GtkSalMenuItem* pItem, const gchar* aCommandStr ); + void NativeSetEnableItem( gchar* aCommand, gboolean bEnable ); void NativeCheckItem( unsigned nSection, unsigned nItemPos, GtkSalMenuItem* pItem, gboolean bCheck ); + void NativeSetAccelerator( unsigned nSection, unsigned nItemPos, const KeyCode& rKeyCode, const rtl::OUString& rKeyName ); }; class GtkSalMenuItem : public SalMenuItem |