mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 12:17:44 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -23,10 +23,10 @@ public:
|
|||
void refresh();
|
||||
|
||||
Function<void()> on_selection_change;
|
||||
Function<void(const ModelIndex&)> on_activation;
|
||||
Function<void(const ModelIndex&)> on_selection;
|
||||
Function<void(const ModelIndex&, const ContextMenuEvent&)> on_context_menu_request;
|
||||
Function<void(const ModelIndex&, const DropEvent&)> on_drop;
|
||||
Function<void(ModelIndex const&)> on_activation;
|
||||
Function<void(ModelIndex const&)> on_selection;
|
||||
Function<void(ModelIndex const&, ContextMenuEvent const&)> on_context_menu_request;
|
||||
Function<void(ModelIndex const&, DropEvent const&)> on_drop;
|
||||
|
||||
enum ViewMode {
|
||||
Invalid,
|
||||
|
@ -58,7 +58,7 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
const ModelSelection& selection() const { return const_cast<MultiView&>(*this).current_view().selection(); }
|
||||
ModelSelection const& selection() const { return const_cast<MultiView&>(*this).current_view().selection(); }
|
||||
ModelSelection& selection() { return current_view().selection(); }
|
||||
|
||||
template<typename Callback>
|
||||
|
@ -70,7 +70,7 @@ public:
|
|||
}
|
||||
|
||||
Model* model() { return m_model; }
|
||||
const Model* model() const { return m_model; }
|
||||
Model const* model() const { return m_model; }
|
||||
|
||||
void set_model(RefPtr<Model>);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue