mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
LibGUI: Support editing filenames through FileSystemModel :^)
This commit is contained in:
parent
7f8e18b86a
commit
701787b906
2 changed files with 23 additions and 0 deletions
|
@ -149,6 +149,8 @@ public:
|
|||
virtual StringView drag_data_type() const override { return "text/uri-list"; }
|
||||
virtual bool accepts_drag(const ModelIndex&, const StringView& data_type) override;
|
||||
virtual bool is_column_sortable(int column_index) const override { return column_index != Column::Icon; }
|
||||
virtual bool is_editable(const ModelIndex&) const override;
|
||||
virtual void set_data(const ModelIndex&, const Variant&) override;
|
||||
|
||||
static String timestamp_string(time_t timestamp)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue