mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:47:35 +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
|
@ -14,16 +14,15 @@ class MapsSettingsWidget final : public GUI::SettingsWindow::Tab {
|
|||
C_OBJECT_ABSTRACT(MapsSettingsWidget)
|
||||
|
||||
public:
|
||||
static ErrorOr<NonnullRefPtr<MapsSettingsWidget>> create();
|
||||
static ErrorOr<NonnullRefPtr<MapsSettingsWidget>> try_create();
|
||||
ErrorOr<void> initialize();
|
||||
|
||||
virtual void apply_settings() override;
|
||||
virtual void reset_default_values() override;
|
||||
|
||||
private:
|
||||
MapsSettingsWidget() = default;
|
||||
static ErrorOr<NonnullRefPtr<MapsSettingsWidget>> try_create();
|
||||
|
||||
ErrorOr<void> setup();
|
||||
void set_tile_provider(StringView url);
|
||||
|
||||
RefPtr<GUI::ComboBox> m_tile_provider_combobox;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue