mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:32:45 +00:00 
			
		
		
		
	 391beef707
			
		
	
	
		391beef707
		
	
	
	
	
		
			
			This will help a lot with developing chromes for different UI frameworks where we can see which helper classes and processes are really using Qt vs just using it to get at helper data. As a bonus, remove Qt dependency from WebDriver.
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			354 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			354 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2023, Gregory Bertilson <zaggy1024@gmail.com>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <QEvent>
 | |
| 
 | |
| #include "EventLoopImplementationQt.h"
 | |
| 
 | |
| namespace Ladybird {
 | |
| 
 | |
| class EventLoopImplementationQtEventTarget final : public QObject {
 | |
|     Q_OBJECT
 | |
| 
 | |
| public:
 | |
|     virtual bool event(QEvent* event) override;
 | |
| };
 | |
| 
 | |
| }
 |