browserchooser 0.0.2
A simple browser chooser.
Loading...
Searching...
No Matches
AppConfig Class Reference

#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)

Detailed Description

Application configuration management.

Constructor & Destructor Documentation

◆ AppConfig()

AppConfig::AppConfig ( )

Constructor.

Member Function Documentation

◆ getHiddenBrowsers()

QStringList AppConfig::getHiddenBrowsers ( ) const
nodiscard

Retrieves the list of hidden browsers.

Returns
List of hidden browser names (e.g. .desktop base names).

◆ hideBrowsersWithoutProfiles()

bool AppConfig::hideBrowsersWithoutProfiles ( ) const
nodiscard

Whether the "Other browsers" section is hidden (browsers without profiles). Default false.

◆ hideGuestProfiles()

bool AppConfig::hideGuestProfiles ( ) const
nodiscard

Whether Guest profile options are hidden in the selector. Default true.

◆ includeNoDisplayBrowsers()

IncludeNoDisplay AppConfig::includeNoDisplayBrowsers ( ) const
nodiscard

Retrieves the setting for including browsers with NoDisplay set.

Returns
IncludeNoDisplay::Yes or IncludeNoDisplay::No.

◆ rememberChoiceChecked()

bool AppConfig::rememberChoiceChecked ( ) const
nodiscard

Whether the "Do not ask again" checkbox was checked when the selector last closed.

◆ rememberDomainWildcard()

bool AppConfig::rememberDomainWildcard ( ) const
nodiscard

Whether the "all subdomains" radio was last used (true) or "only this domain" (false).

◆ setHideBrowsersWithoutProfiles()

void AppConfig::setHideBrowsersWithoutProfiles ( bool hide)

Sets whether to hide the Other browsers section.

Parameters
hideTrue to hide.

◆ setHideGuestProfiles()

void AppConfig::setHideGuestProfiles ( bool hide)

Sets whether to hide Guest profile options.

Parameters
hideTrue to hide Guest profiles.

◆ setRememberChoiceChecked()

void AppConfig::setRememberChoiceChecked ( bool checked)

Sets whether the "Do not ask again" checkbox is checked.

Parameters
checkedTrue if checked.

◆ setRememberDomainWildcard()

void AppConfig::setRememberDomainWildcard ( bool wildcard)

Sets which domain scope radio was last used.

Parameters
wildcardTrue for all subdomains, false for only this domain.

◆ setShowGuestProfiles()

void AppConfig::setShowGuestProfiles ( bool show)

Sets whether to show Guest profile options.

Parameters
showTrue to show Guest profiles.

◆ showGuestProfiles()

bool AppConfig::showGuestProfiles ( ) const
nodiscard

Whether Guest profile options are shown (inverse of hideGuestProfiles).


The documentation for this class was generated from the following files: