aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/webprofile.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-04-17 11:12:44 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-04-17 11:12:44 +0200
commite78d3cc07f4b29518c4ebe15e3ab56c73c4cace5 (patch)
tree9c64aa396fcca4ba87b7fa05de13546d9c4c27a4 /src/webengine/webprofile.h
parentEnabled address bar suggestions (diff)
downloadsmolbote-e78d3cc07f4b29518c4ebe15e3ab56c73c4cace5.tar.xz
Address bar searches work again
Diffstat (limited to 'src/webengine/webprofile.h')
-rw-r--r--src/webengine/webprofile.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/webengine/webprofile.h b/src/webengine/webprofile.h
index 41d1aec..1668067 100644
--- a/src/webengine/webprofile.h
+++ b/src/webengine/webprofile.h
@@ -34,11 +34,14 @@ public:
}
QString name() const;
+ QString search() const {
+ return m_search;
+ }
QUrl homepage() const;
QUrl newtab() const;
public slots:
- void loadProfile(QHash<QString, QString> conf, const QString &path);
+ void loadProfile(QHash<QString, QString> conf);
void saveProfile(const QString &path = QString());
private:
@@ -46,6 +49,7 @@ private:
QString m_configPath;
QString m_name;
+ QString m_search = QString("about:blank");
QUrl m_homepage = QUrl("about:blank");
QUrl m_newtab = QUrl("about:blank");
};