Changeset View
Changeset View
Standalone View
Standalone View
host/settings.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 52 | enum class Environment { | |||
---|---|---|---|---|---|
55 | Chromium, | 55 | Chromium, | ||
56 | Firefox, | 56 | Firefox, | ||
57 | Opera, | 57 | Opera, | ||
58 | Vivaldi, | 58 | Vivaldi, | ||
59 | }; | 59 | }; | ||
60 | Q_ENUM(Environment) | 60 | Q_ENUM(Environment) | ||
61 | 61 | | |||
62 | void handleData(const QString &event, const QJsonObject &data) override; | 62 | void handleData(const QString &event, const QJsonObject &data) override; | ||
63 | QJsonObject handleData(int serial, const QString &event, const QJsonObject &data) override; | ||||
63 | 64 | | |||
64 | Environment environment() const; | 65 | Environment environment() const; | ||
65 | QString environmentString() const; // dbus | 66 | QString environmentString() const; // dbus | ||
66 | // TODO should we have additional getters like browserName(), browserDesktopEntry(), etc? | 67 | // TODO should we have additional getters like browserName(), browserDesktopEntry(), etc? | ||
67 | 68 | | |||
68 | bool pluginEnabled(const QString &subsystem) const; | 69 | bool pluginEnabled(const QString &subsystem) const; | ||
69 | QJsonObject settingsForPlugin(const QString &subsystem) const; | 70 | QJsonObject settingsForPlugin(const QString &subsystem) const; | ||
70 | 71 | | |||
Show All 16 Lines |