mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
Userland: Rename Core::Object to Core::EventReceiver
This is a more precise description of what this class actually does.
This commit is contained in:
parent
bdf696e488
commit
ddbe6bd7b4
128 changed files with 399 additions and 401 deletions
|
@ -28,7 +28,7 @@ void GMLPreviewWidget::load_gml(DeprecatedString const& gml)
|
|||
}
|
||||
|
||||
// FIXME: Parsing errors happen while the user is typing. What should we do about them?
|
||||
(void)load_from_gml(gml, [](DeprecatedString const& name) -> ErrorOr<NonnullRefPtr<Core::Object>> {
|
||||
(void)load_from_gml(gml, [](DeprecatedString const& name) -> ErrorOr<NonnullRefPtr<Core::EventReceiver>> {
|
||||
return GUI::Label::try_create(TRY(String::formatted("{} is not registered as a GML element!", name)));
|
||||
});
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@ LocatorSuggestionModel::Suggestion LocatorSuggestionModel::Suggestion::create_sy
|
|||
return s;
|
||||
}
|
||||
|
||||
Locator::Locator(Core::Object* parent)
|
||||
Locator::Locator(Core::EventReceiver* parent)
|
||||
{
|
||||
set_layout<GUI::VerticalBoxLayout>();
|
||||
set_fixed_height(22);
|
||||
|
|
|
@ -24,7 +24,7 @@ private:
|
|||
void update_suggestions();
|
||||
void open_suggestion(const GUI::ModelIndex&);
|
||||
|
||||
Locator(Core::Object* parent = nullptr);
|
||||
Locator(Core::EventReceiver* parent = nullptr);
|
||||
|
||||
RefPtr<GUI::TextBox> m_textbox;
|
||||
RefPtr<GUI::Window> m_popup_window;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <AK/JsonObject.h>
|
||||
#include <AK/Optional.h>
|
||||
#include <AK/OwnPtr.h>
|
||||
#include <LibCore/Object.h>
|
||||
#include <LibCore/EventReceiver.h>
|
||||
|
||||
namespace HackStudio {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue