mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
506b03740c
We were super inconsistent about this, with most "new" classes living in the Ladybird namespace, while "old" ones were in the global namespace, or even sitting in the Browser namespace.
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;
|
|
};
|
|
|
|
}
|