mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 22:07:36 +00:00
Ladybird: Add setting for page to open on new tab
This commit is contained in:
parent
80da16e54a
commit
17e9db4fa1
6 changed files with 26 additions and 9 deletions
|
@ -13,13 +13,16 @@
|
|||
|
||||
namespace Browser {
|
||||
|
||||
class Settings {
|
||||
class Settings : public QObject {
|
||||
public:
|
||||
Settings(QObject* parent);
|
||||
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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue