mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +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
|
@ -95,18 +95,18 @@ private:
|
|||
|
||||
class ChildEvent final : public Event {
|
||||
public:
|
||||
ChildEvent(Type, Object& child, Object* insertion_before_child = nullptr);
|
||||
ChildEvent(Type, EventReceiver& child, EventReceiver* insertion_before_child = nullptr);
|
||||
~ChildEvent() = default;
|
||||
|
||||
Object* child();
|
||||
Object const* child() const;
|
||||
EventReceiver* child();
|
||||
EventReceiver const* child() const;
|
||||
|
||||
Object* insertion_before_child();
|
||||
Object const* insertion_before_child() const;
|
||||
EventReceiver* insertion_before_child();
|
||||
EventReceiver const* insertion_before_child() const;
|
||||
|
||||
private:
|
||||
WeakPtr<Object> m_child;
|
||||
WeakPtr<Object> m_insertion_before_child;
|
||||
WeakPtr<EventReceiver> m_child;
|
||||
WeakPtr<EventReceiver> m_insertion_before_child;
|
||||
};
|
||||
|
||||
class CustomEvent : public Event {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue