ladybird/Userland/Applications/Spreadsheet
sin-ack ca2c81251a Everywhere: Replace Model::update() with Model::invalidate()
Most of the models were just calling did_update anyway, which is
pointless since it can be unified to the base Model class. Instead, code
calling update() will now call invalidate(), which functions identically
and is more obvious in what it does.

Additionally, a default implementation is provided, which removes the
need to add empty implementations of update() for each model subclass.

Co-Authored-By: Ali Mohammad Pur <ali.mpfard@gmail.com>
2021-08-06 19:14:31 +02:00
..
CellType Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Readers Tests: Generate data in memory for TestXSV benchmark case 2021-07-06 17:22:45 +02:00
Writers AK+Userland: Move AK/TestSuite.h into LibTest and rework Tests' CMake 2021-04-25 09:36:49 +02:00
Cell.cpp Spreadsheet: Remove 'return (...)' workaround in conditional formatting 2021-06-17 01:08:27 +04:30
Cell.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CellSyntaxHighlighter.cpp Spreadsheet: Remove the offset used for exception TextRanges 2021-06-17 01:08:27 +04:30
CellSyntaxHighlighter.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CellTypeDialog.cpp Everywhere: Replace Vector<T*> with nonnull entries with Vector<T&> 2021-06-08 19:14:24 +02:00
CellTypeDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CMakeLists.txt Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
CondFormatting.gml Everywhere: Remove empty {} from GML objects 2021-03-29 09:10:23 +02:00
ConditionalFormatting.h LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
CondView.gml Everywhere: Change font properties to be described in GML 2021-03-29 09:10:23 +02:00
csv_export.gml Spreadsheet: Add an export wizard, and support for custom CSV exports 2021-03-22 07:43:58 +01:00
csv_import.gml Spreadsheet: Show the error (if any) in csv import dialog's preview 2021-03-28 11:46:47 +02:00
ExportDialog.cpp Applications: Remove unused header includes 2021-08-01 08:10:16 +02:00
ExportDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HelpWindow.cpp Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
HelpWindow.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
ImportDialog.cpp Applications: Remove unused header includes 2021-08-01 08:10:16 +02:00
ImportDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
JSIntegration.cpp LibJS: Remove the non-standard put helper and replace it's usages 2021-07-06 14:20:30 +01:00
JSIntegration.h LibJS: Rewrite most of Object for spec compliance :^) 2021-07-04 22:07:36 +01:00
main.cpp Userland: Add GUI::Window::add_menu() and use it everywhere 2021-07-21 21:24:26 +02:00
Position.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
select_format_page.gml Spreadsheet: Add an import wizard, and add support for custom CSV files 2021-03-22 07:43:58 +01:00
Spreadsheet.cpp LibJS: Remove the non-standard put helper and replace it's usages 2021-07-06 14:20:30 +01:00
Spreadsheet.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SpreadsheetModel.cpp Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
SpreadsheetModel.h Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
SpreadsheetView.cpp Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
SpreadsheetView.h TableView: Do not select input on keydown 2021-07-11 22:07:57 +02:00
SpreadsheetWidget.cpp Applications: Remove unused header includes 2021-08-01 08:10:16 +02:00
SpreadsheetWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Workbook.cpp Applications: Remove unused header includes 2021-08-01 08:10:16 +02:00
Workbook.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00