1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:07:44 +00:00

Ladybird: Add Settings class

This commit is contained in:
Filiph Sandström 2022-07-14 05:41:13 +02:00 committed by Andrew Kaster
parent 1b682e4b2c
commit a838004725
5 changed files with 61 additions and 1 deletions

27
Ladybird/Settings.h Normal file
View file

@ -0,0 +1,27 @@
/*
* Copyright (c) 2022, Filiph Sandström <filiph.sandstrom@filfatstudios.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#define AK_DONT_REPLACE_STD
#include <AK/String.h>
#include <QSettings>
namespace Browser {
class Settings {
public:
Settings();
QString homepage();
void set_homepage(QString const& homepage);
private:
QSettings* m_qsettings;
};
}