mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:07:36 +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
|
@ -22,7 +22,8 @@ public:
|
|||
MapWidget::LatLng latlng;
|
||||
int zoom;
|
||||
};
|
||||
static ErrorOr<NonnullRefPtr<FavoritesPanel>> create();
|
||||
static ErrorOr<NonnullRefPtr<FavoritesPanel>> try_create();
|
||||
ErrorOr<void> initialize();
|
||||
|
||||
void load_favorites();
|
||||
void reset();
|
||||
|
@ -34,10 +35,6 @@ public:
|
|||
protected:
|
||||
FavoritesPanel() = default;
|
||||
|
||||
static ErrorOr<NonnullRefPtr<FavoritesPanel>> try_create();
|
||||
|
||||
ErrorOr<void> setup();
|
||||
|
||||
private:
|
||||
ErrorOr<void> edit_favorite(int row);
|
||||
void favorites_changed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue