summaryrefslogtreecommitdiff
path: root/Ladybird/Settings.h
blob: 9069ba09aa364172e3c6d9b3ad265eb88a7e6561 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * 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>
#include <QSettings>

namespace Browser {

class Settings : public QObject {
public:
    Settings();

    QString homepage();
    void set_homepage(QString const& homepage);

    QString new_tab_page();
    void set_new_tab_page(QString const& page);

private:
    QSettings* m_qsettings;
};

}