mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Once upon a time, we needed the UI-specific event loops outside of the UI process. This is no longer the case. Let's move the event loops back to the UI folder to remove the awkward interface library we were left with.
22 lines
333 B
C++
22 lines
333 B
C++
/*
|
|
* Copyright (c) 2023, Gregory Bertilson <zaggy1024@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <QEvent>
|
|
#include <QObject>
|
|
|
|
namespace Ladybird {
|
|
|
|
class EventLoopImplementationQtEventTarget final : public QObject {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
virtual bool event(QEvent* event) override;
|
|
};
|
|
|
|
}
|