mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +00:00
Spreadsheet: Store actions in member variables on SpreadsheetWidget
Actions are now stored in member variables so they can be used throughout SpreadsheetWidget.
This commit is contained in:
parent
d8bac4dbda
commit
e422bfbe88
2 changed files with 123 additions and 103 deletions
|
@ -64,6 +64,17 @@ private:
|
|||
OwnPtr<Workbook> m_workbook;
|
||||
|
||||
void clipboard_action(bool is_cut);
|
||||
RefPtr<GUI::Action> m_new_action;
|
||||
RefPtr<GUI::Action> m_open_action;
|
||||
RefPtr<GUI::Action> m_save_action;
|
||||
RefPtr<GUI::Action> m_save_as_action;
|
||||
RefPtr<GUI::Action> m_quit_action;
|
||||
RefPtr<GUI::Action> m_cut_action;
|
||||
RefPtr<GUI::Action> m_copy_action;
|
||||
RefPtr<GUI::Action> m_paste_action;
|
||||
RefPtr<GUI::Action> m_functions_help_action;
|
||||
RefPtr<GUI::Action> m_about_action;
|
||||
RefPtr<GUI::Action> m_rename_action;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue