mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:37:34 +00:00
Spreadsheet: Use FileSystemAccessClient for the reading of files
This commit is contained in:
parent
c4013f72a3
commit
c55dfabdd5
9 changed files with 63 additions and 29 deletions
|
@ -20,7 +20,7 @@ public:
|
|||
~SpreadsheetWidget();
|
||||
|
||||
void save(StringView filename);
|
||||
void load(StringView filename);
|
||||
void load_file(int fd, StringView filename);
|
||||
bool request_close();
|
||||
void add_sheet();
|
||||
void add_sheet(NonnullRefPtr<Sheet>&&);
|
||||
|
@ -45,7 +45,7 @@ public:
|
|||
private:
|
||||
virtual void resize_event(GUI::ResizeEvent&) override;
|
||||
|
||||
explicit SpreadsheetWidget(NonnullRefPtrVector<Sheet>&& sheets = {}, bool should_add_sheet_if_empty = true);
|
||||
explicit SpreadsheetWidget(GUI::Window& window, NonnullRefPtrVector<Sheet>&& sheets = {}, bool should_add_sheet_if_empty = true);
|
||||
|
||||
void setup_tabs(NonnullRefPtrVector<Sheet> new_sheets);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue