|
browserchooser 0.0.2
A simple browser chooser.
|
#include <config.h>
Public Member Functions | |
| AppConfig () | |
| QStringList | getHiddenBrowsers () const |
| IncludeNoDisplay | includeNoDisplayBrowsers () const |
| bool | hideGuestProfiles () const |
| void | setHideGuestProfiles (bool hide) |
| bool | showGuestProfiles () const |
| void | setShowGuestProfiles (bool show) |
| bool | hideBrowsersWithoutProfiles () const |
| void | setHideBrowsersWithoutProfiles (bool hide) |
| bool | rememberChoiceChecked () const |
| void | setRememberChoiceChecked (bool checked) |
| bool | rememberDomainWildcard () const |
| void | setRememberDomainWildcard (bool wildcard) |
Application configuration management.
| AppConfig::AppConfig | ( | ) |
Constructor.
|
nodiscard |
Retrieves the list of hidden browsers.
.desktop base names).
|
nodiscard |
Whether the "Other browsers" section is hidden (browsers without profiles). Default false.
|
nodiscard |
Whether Guest profile options are hidden in the selector. Default true.
|
nodiscard |
Retrieves the setting for including browsers with NoDisplay set.
IncludeNoDisplay::Yes or IncludeNoDisplay::No.
|
nodiscard |
Whether the "Do not ask again" checkbox was checked when the selector last closed.
|
nodiscard |
Whether the "all subdomains" radio was last used (true) or "only this domain" (false).
| void AppConfig::setHideBrowsersWithoutProfiles | ( | bool | hide | ) |
Sets whether to hide the Other browsers section.
| hide | True to hide. |
| void AppConfig::setHideGuestProfiles | ( | bool | hide | ) |
Sets whether to hide Guest profile options.
| hide | True to hide Guest profiles. |
| void AppConfig::setRememberChoiceChecked | ( | bool | checked | ) |
Sets whether the "Do not ask again" checkbox is checked.
| checked | True if checked. |
| void AppConfig::setRememberDomainWildcard | ( | bool | wildcard | ) |
Sets which domain scope radio was last used.
| wildcard | True for all subdomains, false for only this domain. |
| void AppConfig::setShowGuestProfiles | ( | bool | show | ) |
Sets whether to show Guest profile options.
| show | True to show Guest profiles. |
|
nodiscard |
Whether Guest profile options are shown (inverse of hideGuestProfiles).