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
|
@ -8,14 +8,14 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/OwnPtr.h>
|
||||
#include <LibCore/EventReceiver.h>
|
||||
#include <LibCore/MimeData.h>
|
||||
#include <LibCore/Object.h>
|
||||
#include <LibGUI/Forward.h>
|
||||
#include <LibGfx/Forward.h>
|
||||
|
||||
namespace GUI {
|
||||
|
||||
class DragOperation : public Core::Object {
|
||||
class DragOperation : public Core::EventReceiver {
|
||||
C_OBJECT(DragOperation)
|
||||
public:
|
||||
enum class Outcome {
|
||||
|
@ -38,7 +38,7 @@ public:
|
|||
static void notify_cancelled(Badge<ConnectionToWindowServer>);
|
||||
|
||||
protected:
|
||||
explicit DragOperation(Core::Object* parent = nullptr);
|
||||
explicit DragOperation(Core::EventReceiver* parent = nullptr);
|
||||
|
||||
private:
|
||||
void done(Outcome);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue