mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 07:32:44 +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.
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			400 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			400 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2022, Filiph Sandström <filiph.sandstrom@filfatstudios.com>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <AK/DeprecatedString.h>
 | |
| #include <QSettings>
 | |
| 
 | |
| namespace Ladybird {
 | |
| 
 | |
| class Settings : public QObject {
 | |
| public:
 | |
|     Settings();
 | |
| 
 | |
|     QString new_tab_page();
 | |
|     void set_new_tab_page(QString const& page);
 | |
| 
 | |
| private:
 | |
|     QSettings* m_qsettings;
 | |
| };
 | |
| 
 | |
| }
 |