LibGUI: Let AbstractViews be activated programmatically

This commit is contained in:
thankyouverycool 2022-02-16 10:13:16 -05:00 committed by Tim Flynn
commit bb23377b48
Notes: sideshowbarker 2024-07-17 18:35:48 +09:00

View file

@ -61,6 +61,9 @@ public:
ModelSelection const& selection() const { return m_selection; }
virtual void select_all() { }
void activate(ModelIndex const&);
void activate_selected();
bool is_editable() const { return m_editable; }
void set_editable(bool editable) { m_editable = editable; }
@ -160,8 +163,6 @@ protected:
virtual void did_scroll() override;
void set_hovered_index(ModelIndex const&);
void activate(ModelIndex const&);
void activate_selected();
void update_edit_widget_position();
void stop_highlighted_search_timer();