mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
Notes:
sideshowbarker
2024-07-17 16:21:09 +09:00
Author: https://github.com/IdanHo
Commit: 086969277e
Pull-request: https://github.com/SerenityOS/serenity/pull/12321
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/bgianfo ✅
1665 changed files with 8479 additions and 8479 deletions
|
@ -21,14 +21,14 @@ public:
|
|||
virtual ~ComboBox() override;
|
||||
|
||||
String text() const;
|
||||
void set_text(const String&);
|
||||
void set_text(String const&);
|
||||
|
||||
void open();
|
||||
void close();
|
||||
void select_all();
|
||||
|
||||
Model* model();
|
||||
const Model* model() const;
|
||||
Model const* model() const;
|
||||
void set_model(NonnullRefPtr<Model>);
|
||||
|
||||
size_t selected_index() const;
|
||||
|
@ -41,9 +41,9 @@ public:
|
|||
void set_model_column(int);
|
||||
|
||||
void set_editor_placeholder(StringView placeholder);
|
||||
const String& editor_placeholder() const;
|
||||
String const& editor_placeholder() const;
|
||||
|
||||
Function<void(const String&, const ModelIndex&)> on_change;
|
||||
Function<void(String const&, ModelIndex const&)> on_change;
|
||||
Function<void()> on_return_pressed;
|
||||
|
||||
protected:
|
||||
|
@ -51,7 +51,7 @@ protected:
|
|||
virtual void resize_event(ResizeEvent&) override;
|
||||
|
||||
private:
|
||||
void selection_updated(const ModelIndex&);
|
||||
void selection_updated(ModelIndex const&);
|
||||
void navigate(AbstractView::CursorMovement);
|
||||
void navigate_relative(int);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue