mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
Userland: Port to automatic GML initializer where possible
This commit is contained in:
parent
dec066fa5c
commit
adc845e0cb
41 changed files with 148 additions and 245 deletions
|
@ -21,7 +21,8 @@ class SearchPanel final : public GUI::Widget {
|
|||
C_OBJECT(SearchPanel)
|
||||
|
||||
public:
|
||||
static ErrorOr<NonnullRefPtr<SearchPanel>> create();
|
||||
static ErrorOr<NonnullRefPtr<SearchPanel>> try_create();
|
||||
ErrorOr<void> initialize();
|
||||
|
||||
void search(StringView query);
|
||||
void reset();
|
||||
|
@ -37,10 +38,6 @@ public:
|
|||
private:
|
||||
SearchPanel() = default;
|
||||
|
||||
static ErrorOr<NonnullRefPtr<SearchPanel>> try_create();
|
||||
|
||||
ErrorOr<void> setup();
|
||||
|
||||
RefPtr<Protocol::RequestClient> m_request_client;
|
||||
RefPtr<Protocol::Request> m_request;
|
||||
RefPtr<GUI::TextBox> m_search_textbox;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue