ladybird/Ladybird/Settings.h

31 lines
501 B
C
Raw Normal View History

2022-07-14 06:41:13 +03:00
/*
* 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/DeprecatedString.h>
2022-07-14 06:41:13 +03:00
#include <QSettings>
namespace Browser {
class Settings : public QObject {
2022-07-14 06:41:13 +03:00
public:
Settings();
2022-07-14 06:41:13 +03:00
QString homepage();
void set_homepage(QString const& homepage);
QString new_tab_page();
void set_new_tab_page(QString const& page);
2022-07-14 06:41:13 +03:00
private:
QSettings* m_qsettings;
};
}