ladybird/Ladybird/Qt/Settings.h

26 lines
400 B
C
Raw Normal View History

2022-07-14 03:41:13 +00:00
/*
* Copyright (c) 2022, Filiph Sandström <filiph.sandstrom@filfatstudios.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/DeprecatedString.h>
2022-07-14 03:41:13 +00:00
#include <QSettings>
namespace Ladybird {
2022-07-14 03:41:13 +00:00
class Settings : public QObject {
2022-07-14 03:41:13 +00:00
public:
Settings();
2022-07-14 03:41:13 +00:00
QString new_tab_page();
void set_new_tab_page(QString const& page);
2022-07-14 03:41:13 +00:00
private:
QSettings* m_qsettings;
};
}