qBittorrent
Preferences Class Reference

#include <preferences.h>

Inheritance diagram for Preferences:
Collaboration diagram for Preferences:

Public Slots

void setStatusFilterState (bool checked)
 
void setCategoryFilterState (bool checked)
 
void setTagFilterState (bool checked)
 
void setTrackerFilterState (bool checked)
 
void apply ()
 

Signals

void changed ()
 

Public Member Functions

QString getLocale () const
 
void setLocale (const QString &locale)
 
bool useCustomUITheme () const
 
void setUseCustomUITheme (bool use)
 
QString customUIThemePath () const
 
void setCustomUIThemePath (const QString &path)
 
bool deleteTorrentFilesAsDefault () const
 
void setDeleteTorrentFilesAsDefault (bool del)
 
bool confirmOnExit () const
 
void setConfirmOnExit (bool confirm)
 
bool speedInTitleBar () const
 
void showSpeedInTitleBar (bool show)
 
bool useAlternatingRowColors () const
 
void setAlternatingRowColors (bool b)
 
bool getHideZeroValues () const
 
void setHideZeroValues (bool b)
 
int getHideZeroComboValues () const
 
void setHideZeroComboValues (int n)
 
bool isStatusbarDisplayed () const
 
void setStatusbarDisplayed (bool displayed)
 
bool isToolbarDisplayed () const
 
void setToolbarDisplayed (bool displayed)
 
bool startMinimized () const
 
void setStartMinimized (bool b)
 
bool isSplashScreenDisabled () const
 
void setSplashScreenDisabled (bool b)
 
bool preventFromSuspendWhenDownloading () const
 
void setPreventFromSuspendWhenDownloading (bool b)
 
bool preventFromSuspendWhenSeeding () const
 
void setPreventFromSuspendWhenSeeding (bool b)
 
QString lastLocationPath () const
 
void setLastLocationPath (const QString &path)
 
QString getScanDirsLastPath () const
 
void setScanDirsLastPath (const QString &path)
 
bool isMailNotificationEnabled () const
 
void setMailNotificationEnabled (bool enabled)
 
QString getMailNotificationSender () const
 
void setMailNotificationSender (const QString &mail)
 
QString getMailNotificationEmail () const
 
void setMailNotificationEmail (const QString &mail)
 
QString getMailNotificationSMTP () const
 
void setMailNotificationSMTP (const QString &smtp_server)
 
bool getMailNotificationSMTPSSL () const
 
void setMailNotificationSMTPSSL (bool use)
 
bool getMailNotificationSMTPAuth () const
 
void setMailNotificationSMTPAuth (bool use)
 
QString getMailNotificationSMTPUsername () const
 
void setMailNotificationSMTPUsername (const QString &username)
 
QString getMailNotificationSMTPPassword () const
 
void setMailNotificationSMTPPassword (const QString &password)
 
int getActionOnDblClOnTorrentDl () const
 
void setActionOnDblClOnTorrentDl (int act)
 
int getActionOnDblClOnTorrentFn () const
 
void setActionOnDblClOnTorrentFn (int act)
 
QTime getSchedulerStartTime () const
 
void setSchedulerStartTime (const QTime &time)
 
QTime getSchedulerEndTime () const
 
void setSchedulerEndTime (const QTime &time)
 
Scheduler::Days getSchedulerDays () const
 
void setSchedulerDays (Scheduler::Days days)
 
bool isSearchEnabled () const
 
void setSearchEnabled (bool enabled)
 
bool isWebUiEnabled () const
 
void setWebUiEnabled (bool enabled)
 
QString getServerDomains () const
 
void setServerDomains (const QString &str)
 
QString getWebUiAddress () const
 
void setWebUiAddress (const QString &addr)
 
quint16 getWebUiPort () const
 
void setWebUiPort (quint16 port)
 
bool useUPnPForWebUIPort () const
 
void setUPnPForWebUIPort (bool enabled)
 
bool isWebUiLocalAuthEnabled () const
 
void setWebUiLocalAuthEnabled (bool enabled)
 
bool isWebUiAuthSubnetWhitelistEnabled () const
 
void setWebUiAuthSubnetWhitelistEnabled (bool enabled)
 
QVector< Utils::Net::SubnetgetWebUiAuthSubnetWhitelist () const
 
void setWebUiAuthSubnetWhitelist (QStringList subnets)
 
QString getWebUiUsername () const
 
void setWebUiUsername (const QString &username)
 
QByteArray getWebUIPassword () const
 
void setWebUIPassword (const QByteArray &password)
 
int getWebUIMaxAuthFailCount () const
 
void setWebUIMaxAuthFailCount (int count)
 
std::chrono::seconds getWebUIBanDuration () const
 
void setWebUIBanDuration (std::chrono::seconds duration)
 
int getWebUISessionTimeout () const
 
void setWebUISessionTimeout (int timeout)
 
bool isWebUiClickjackingProtectionEnabled () const
 
void setWebUiClickjackingProtectionEnabled (bool enabled)
 
bool isWebUiCSRFProtectionEnabled () const
 
void setWebUiCSRFProtectionEnabled (bool enabled)
 
bool isWebUiSecureCookieEnabled () const
 
void setWebUiSecureCookieEnabled (bool enabled)
 
bool isWebUIHostHeaderValidationEnabled () const
 
void setWebUIHostHeaderValidationEnabled (bool enabled)
 
bool isWebUiHttpsEnabled () const
 
void setWebUiHttpsEnabled (bool enabled)
 
QString getWebUIHttpsCertificatePath () const
 
void setWebUIHttpsCertificatePath (const QString &path)
 
QString getWebUIHttpsKeyPath () const
 
void setWebUIHttpsKeyPath (const QString &path)
 
bool isAltWebUiEnabled () const
 
void setAltWebUiEnabled (bool enabled)
 
QString getWebUiRootFolder () const
 
void setWebUiRootFolder (const QString &path)
 
bool isWebUICustomHTTPHeadersEnabled () const
 
void setWebUICustomHTTPHeadersEnabled (bool enabled)
 
QString getWebUICustomHTTPHeaders () const
 
void setWebUICustomHTTPHeaders (const QString &headers)
 
bool isWebUIReverseProxySupportEnabled () const
 
void setWebUIReverseProxySupportEnabled (bool enabled)
 
QString getWebUITrustedReverseProxiesList () const
 
void setWebUITrustedReverseProxiesList (const QString &addr)
 
bool isDynDNSEnabled () const
 
void setDynDNSEnabled (bool enabled)
 
DNS::Service getDynDNSService () const
 
void setDynDNSService (DNS::Service service)
 
QString getDynDomainName () const
 
void setDynDomainName (const QString &name)
 
QString getDynDNSUsername () const
 
void setDynDNSUsername (const QString &username)
 
QString getDynDNSPassword () const
 
void setDynDNSPassword (const QString &password)
 
QByteArray getUILockPassword () const
 
void setUILockPassword (const QByteArray &password)
 
bool isUILocked () const
 
void setUILocked (bool locked)
 
bool isAutoRunEnabled () const
 
void setAutoRunEnabled (bool enabled)
 
QString getAutoRunProgram () const
 
void setAutoRunProgram (const QString &program)
 
bool shutdownWhenDownloadsComplete () const
 
void setShutdownWhenDownloadsComplete (bool shutdown)
 
bool suspendWhenDownloadsComplete () const
 
void setSuspendWhenDownloadsComplete (bool suspend)
 
bool hibernateWhenDownloadsComplete () const
 
void setHibernateWhenDownloadsComplete (bool hibernate)
 
bool shutdownqBTWhenDownloadsComplete () const
 
void setShutdownqBTWhenDownloadsComplete (bool shutdown)
 
bool dontConfirmAutoExit () const
 
void setDontConfirmAutoExit (bool dontConfirmAutoExit)
 
bool recheckTorrentsOnCompletion () const
 
void recheckTorrentsOnCompletion (bool recheck)
 
bool resolvePeerCountries () const
 
void resolvePeerCountries (bool resolve)
 
bool resolvePeerHostNames () const
 
void resolvePeerHostNames (bool resolve)
 
bool recursiveDownloadDisabled () const
 
void disableRecursiveDownload (bool disable=true)
 
int getTrackerPort () const
 
void setTrackerPort (int port)
 
bool confirmTorrentDeletion () const
 
void setConfirmTorrentDeletion (bool enabled)
 
bool confirmTorrentRecheck () const
 
void setConfirmTorrentRecheck (bool enabled)
 
bool confirmRemoveAllTags () const
 
void setConfirmRemoveAllTags (bool enabled)
 
bool systemTrayEnabled () const
 
void setSystemTrayEnabled (bool enabled)
 
bool minimizeToTrayNotified () const
 
void setMinimizeToTrayNotified (bool b)
 
bool minimizeToTray () const
 
void setMinimizeToTray (bool b)
 
bool closeToTray () const
 
void setCloseToTray (bool b)
 
bool closeToTrayNotified () const
 
void setCloseToTrayNotified (bool b)
 
TrayIcon::Style trayIconStyle () const
 
void setTrayIconStyle (TrayIcon::Style style)
 
bool iconsInMenusEnabled () const
 
void setIconsInMenusEnabled (bool enable)
 
QDateTime getDNSLastUpd () const
 
void setDNSLastUpd (const QDateTime &date)
 
QString getDNSLastIP () const
 
void setDNSLastIP (const QString &ip)
 
bool getAcceptedLegal () const
 
void setAcceptedLegal (bool accepted)
 
QByteArray getMainGeometry () const
 
void setMainGeometry (const QByteArray &geometry)
 
QByteArray getMainVSplitterState () const
 
void setMainVSplitterState (const QByteArray &state)
 
QString getMainLastDir () const
 
void setMainLastDir (const QString &path)
 
QByteArray getPeerListState () const
 
void setPeerListState (const QByteArray &state)
 
QString getPropSplitterSizes () const
 
void setPropSplitterSizes (const QString &sizes)
 
QByteArray getPropFileListState () const
 
void setPropFileListState (const QByteArray &state)
 
int getPropCurTab () const
 
void setPropCurTab (int tab)
 
bool getPropVisible () const
 
void setPropVisible (bool visible)
 
QByteArray getPropTrackerListState () const
 
void setPropTrackerListState (const QByteArray &state)
 
QSize getRssGeometrySize () const
 
void setRssGeometrySize (const QSize &geometry)
 
QByteArray getRssHSplitterSizes () const
 
void setRssHSplitterSizes (const QByteArray &sizes)
 
QStringList getRssOpenFolders () const
 
void setRssOpenFolders (const QStringList &folders)
 
QByteArray getRssSideSplitterState () const
 
void setRssSideSplitterState (const QByteArray &state)
 
QByteArray getRssMainSplitterState () const
 
void setRssMainSplitterState (const QByteArray &state)
 
QByteArray getSearchTabHeaderState () const
 
void setSearchTabHeaderState (const QByteArray &state)
 
bool getRegexAsFilteringPatternForSearchJob () const
 
void setRegexAsFilteringPatternForSearchJob (bool checked)
 
QStringList getSearchEngDisabled () const
 
void setSearchEngDisabled (const QStringList &engines)
 
QString getTorImportLastContentDir () const
 
void setTorImportLastContentDir (const QString &path)
 
QByteArray getTorImportGeometry () const
 
void setTorImportGeometry (const QByteArray &geometry)
 
bool getStatusFilterState () const
 
bool getCategoryFilterState () const
 
bool getTagFilterState () const
 
bool getTrackerFilterState () const
 
int getTransSelFilter () const
 
void setTransSelFilter (int index)
 
QByteArray getTransHeaderState () const
 
void setTransHeaderState (const QByteArray &state)
 
bool getRegexAsFilteringPatternForTransferList () const
 
void setRegexAsFilteringPatternForTransferList (bool checked)
 
int getToolbarTextPosition () const
 
void setToolbarTextPosition (int position)
 
bool isRSSWidgetEnabled () const
 
void setRSSWidgetVisible (bool enabled)
 
QList< QNetworkCookie > getNetworkCookies () const
 
void setNetworkCookies (const QList< QNetworkCookie > &cookies)
 
bool isSpeedWidgetEnabled () const
 
void setSpeedWidgetEnabled (bool enabled)
 
int getSpeedWidgetPeriod () const
 
void setSpeedWidgetPeriod (int period)
 
bool getSpeedWidgetGraphEnable (int id) const
 
void setSpeedWidgetGraphEnable (int id, bool enable)
 

Static Public Member Functions

static void initInstance ()
 
static void freeInstance ()
 
static Preferencesinstance ()
 

Private Member Functions

 Preferences ()
 

Static Private Attributes

static Preferencesm_instance = nullptr
 

Detailed Description

Definition at line 89 of file preferences.h.

Constructor & Destructor Documentation

◆ Preferences()

Preferences::Preferences ( )
privatedefault

Referenced by initInstance().

Here is the caller graph for this function:

Member Function Documentation

◆ apply

void Preferences::apply ( )
slot

Definition at line 1672 of file preferences.cpp.

1673 {
1674  if (SettingsStorage::instance()->save())
1675  emit changed();
1676 }
void changed()
static SettingsStorage * instance()

References changed(), and SettingsStorage::instance().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ changed

void Preferences::changed ( )
signal

◆ closeToTray()

bool Preferences::closeToTray ( ) const

Definition at line 243 of file preferences.cpp.

244 {
245  return value("Preferences/General/CloseToTray", true);
246 }
T value(const char *key, const T &defaultValue={})
Definition: preferences.cpp:70

References anonymous_namespace{preferences.cpp}::value().

Referenced by MainWindow::closeEvent(), and OptionsDialog::loadOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ closeToTrayNotified()

bool Preferences::closeToTrayNotified ( ) const

Definition at line 253 of file preferences.cpp.

254 {
255  return value("Preferences/General/CloseToTrayNotified", false);
256 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by MainWindow::closeEvent().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ confirmOnExit()

bool Preferences::confirmOnExit ( ) const

Definition at line 160 of file preferences.cpp.

161 {
162  return value("Preferences/General/ExitConfirm", true);
163 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by MainWindow::closeEvent(), and OptionsDialog::loadOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ confirmRemoveAllTags()

bool Preferences::confirmRemoveAllTags ( ) const

Definition at line 1214 of file preferences.cpp.

1215 {
1216  return value("Preferences/Advanced/confirmRemoveAllTags", true);
1217 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by AdvancedSettings::loadAdvancedSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ confirmTorrentDeletion()

bool Preferences::confirmTorrentDeletion ( ) const

Definition at line 1194 of file preferences.cpp.

1195 {
1196  return value("Preferences/Advanced/confirmTorrentDeletion", true);
1197 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ confirmTorrentRecheck()

bool Preferences::confirmTorrentRecheck ( ) const

Definition at line 1204 of file preferences.cpp.

1205 {
1206  return value("Preferences/Advanced/confirmTorrentRecheck", true);
1207 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by AdvancedSettings::loadAdvancedSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ customUIThemePath()

QString Preferences::customUIThemePath ( ) const

Definition at line 140 of file preferences.cpp.

141 {
142  return value<QString>("Preferences/General/CustomUIThemePath");
143 }

Referenced by UIThemeManager::UIThemeManager(), and useCustomUITheme().

Here is the caller graph for this function:

◆ deleteTorrentFilesAsDefault()

bool Preferences::deleteTorrentFilesAsDefault ( ) const

Definition at line 150 of file preferences.cpp.

151 {
152  return value("Preferences/General/DeleteTorrentsFilesAsDefault", false);
153 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by DeletionConfirmationDialog::updateRememberButtonState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ disableRecursiveDownload()

void Preferences::disableRecursiveDownload ( bool  disable = true)

Definition at line 1020 of file preferences.cpp.

1021 {
1022  setValue("Preferences/Advanced/DisableRecursiveDownload", disable);
1023 }
void setValue(const char *key, const T &value)
Definition: preferences.cpp:82

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dontConfirmAutoExit()

bool Preferences::dontConfirmAutoExit ( ) const

Definition at line 963 of file preferences.cpp.

964 {
965  return value("ShutdownConfirmDlg/DontConfirmAutoExit", false);
966 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by Application::allTorrentsFinished(), OptionsDialog::loadOptions(), and setDontConfirmAutoExit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ freeInstance()

void Preferences::freeInstance ( )
static

Definition at line 112 of file preferences.cpp.

113 {
114  delete m_instance;
115  m_instance = nullptr;
116 }
static Preferences * m_instance
Definition: preferences.h:96

References m_instance.

Referenced by Application::cleanup().

Here is the caller graph for this function:

◆ getAcceptedLegal()

bool Preferences::getAcceptedLegal ( ) const

Definition at line 1259 of file preferences.cpp.

1260 {
1261  return value("LegalNotice/Accepted", false);
1262 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by main(), and userAgreesWithLegalNotice().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getActionOnDblClOnTorrentDl()

int Preferences::getActionOnDblClOnTorrentDl ( ) const

Definition at line 469 of file preferences.cpp.

470 {
471  return value<int>("Preferences/Downloads/DblClOnTorDl", 0);
472 }

Referenced by OptionsDialog::loadOptions(), and TransferListWidget::torrentDoubleClicked().

Here is the caller graph for this function:

◆ getActionOnDblClOnTorrentFn()

int Preferences::getActionOnDblClOnTorrentFn ( ) const

Definition at line 479 of file preferences.cpp.

480 {
481  return value<int>("Preferences/Downloads/DblClOnTorFn", 1);
482 }

Referenced by OptionsDialog::loadOptions(), and TransferListWidget::torrentDoubleClicked().

Here is the caller graph for this function:

◆ getAutoRunProgram()

QString Preferences::getAutoRunProgram ( ) const

Definition at line 901 of file preferences.cpp.

902 {
903  return value<QString>("AutoRun/program");
904 }

Referenced by OptionsDialog::loadOptions(), AppController::preferencesAction(), and Application::runExternalProgram().

Here is the caller graph for this function:

◆ getCategoryFilterState()

bool Preferences::getCategoryFilterState ( ) const

Definition at line 1533 of file preferences.cpp.

1534 {
1535  return value("TransferListFilters/CategoryFilterState", true);
1536 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by TransferListFiltersWidget::TransferListFiltersWidget().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDNSLastIP()

QString Preferences::getDNSLastIP ( ) const

Definition at line 1249 of file preferences.cpp.

1250 {
1251  return value<QString>("DNSUpdater/lastIP");
1252 }

Referenced by Net::DNSUpdater::DNSUpdater().

Here is the caller graph for this function:

◆ getDNSLastUpd()

QDateTime Preferences::getDNSLastUpd ( ) const

Definition at line 1239 of file preferences.cpp.

1240 {
1241  return value<QDateTime>("DNSUpdater/lastUpdateTime");
1242 }

Referenced by Net::DNSUpdater::DNSUpdater().

Here is the caller graph for this function:

◆ getDynDNSPassword()

QString Preferences::getDynDNSPassword ( ) const

Definition at line 860 of file preferences.cpp.

861 {
862  return value<QString>("Preferences/DynDNS/Password");
863 }

Referenced by OptionsDialog::loadOptions(), AppController::preferencesAction(), and Net::DNSUpdater::updateCredentials().

Here is the caller graph for this function:

◆ getDynDNSService()

DNS::Service Preferences::getDynDNSService ( ) const

Definition at line 830 of file preferences.cpp.

831 {
832  return value("Preferences/DynDNS/Service", DNS::Service::DynDNS);
833 }

References DNS::DynDNS, and anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), AppController::preferencesAction(), and Net::DNSUpdater::updateCredentials().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDynDNSUsername()

QString Preferences::getDynDNSUsername ( ) const

Definition at line 850 of file preferences.cpp.

851 {
852  return value<QString>("Preferences/DynDNS/Username");
853 }

Referenced by OptionsDialog::loadOptions(), AppController::preferencesAction(), and Net::DNSUpdater::updateCredentials().

Here is the caller graph for this function:

◆ getDynDomainName()

QString Preferences::getDynDomainName ( ) const

Definition at line 840 of file preferences.cpp.

841 {
842  return value<QString>("Preferences/DynDNS/DomainName", QLatin1String("changeme.dyndns.org"));
843 }

Referenced by OptionsDialog::loadOptions(), AppController::preferencesAction(), and Net::DNSUpdater::updateCredentials().

Here is the caller graph for this function:

◆ getHideZeroComboValues()

int Preferences::getHideZeroComboValues ( ) const

Definition at line 200 of file preferences.cpp.

201 {
202  return value<int>("Preferences/General/HideZeroComboValues", 0);
203 }

Referenced by TransferListModel::configure(), and OptionsDialog::loadOptions().

Here is the caller graph for this function:

◆ getHideZeroValues()

bool Preferences::getHideZeroValues ( ) const

Definition at line 190 of file preferences.cpp.

191 {
192  return value("Preferences/General/HideZeroValues", false);
193 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by TransferListModel::configure(), OptionsDialog::loadOptions(), and PeerListWidget::updatePeer().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getLocale()

QString Preferences::getLocale ( ) const

Definition at line 119 of file preferences.cpp.

120 {
121  const auto localeName = value<QString>("Preferences/General/Locale");
122  return (localeName.isEmpty() ? QLocale::system().name() : localeName);
123 }

Referenced by Application::initializeTranslation(), OptionsDialog::loadOptions(), AppController::preferencesAction(), OptionsDialog::saveOptions(), and anonymous_namespace{optionsdialog.cpp}::translatedWeekdayNames().

Here is the caller graph for this function:

◆ getMailNotificationEmail()

QString Preferences::getMailNotificationEmail ( ) const

Definition at line 409 of file preferences.cpp.

410 {
411  return value<QString>("Preferences/MailNotification/email");
412 }

Referenced by OptionsDialog::loadOptions(), AppController::preferencesAction(), and Application::sendNotificationEmail().

Here is the caller graph for this function:

◆ getMailNotificationSender()

QString Preferences::getMailNotificationSender ( ) const

Definition at line 398 of file preferences.cpp.

399 {
400  return value<QString>("Preferences/MailNotification/sender"
401  , QLatin1String("qBittorrent_notification@example.com"));
402 }

Referenced by OptionsDialog::loadOptions(), AppController::preferencesAction(), and Application::sendNotificationEmail().

Here is the caller graph for this function:

◆ getMailNotificationSMTP()

QString Preferences::getMailNotificationSMTP ( ) const

Definition at line 419 of file preferences.cpp.

420 {
421  return value<QString>("Preferences/MailNotification/smtp_server", QLatin1String("smtp.changeme.com"));
422 }

Referenced by OptionsDialog::loadOptions(), AppController::preferencesAction(), and Net::Smtp::sendMail().

Here is the caller graph for this function:

◆ getMailNotificationSMTPAuth()

bool Preferences::getMailNotificationSMTPAuth ( ) const

Definition at line 439 of file preferences.cpp.

440 {
441  return value("Preferences/MailNotification/req_auth", false);
442 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), AppController::preferencesAction(), and Net::Smtp::sendMail().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMailNotificationSMTPPassword()

QString Preferences::getMailNotificationSMTPPassword ( ) const

Definition at line 459 of file preferences.cpp.

460 {
461  return value<QString>("Preferences/MailNotification/password");
462 }

Referenced by OptionsDialog::loadOptions(), AppController::preferencesAction(), and Net::Smtp::sendMail().

Here is the caller graph for this function:

◆ getMailNotificationSMTPSSL()

bool Preferences::getMailNotificationSMTPSSL ( ) const

Definition at line 429 of file preferences.cpp.

430 {
431  return value("Preferences/MailNotification/req_ssl", false);
432 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), AppController::preferencesAction(), and Net::Smtp::sendMail().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMailNotificationSMTPUsername()

QString Preferences::getMailNotificationSMTPUsername ( ) const

Definition at line 449 of file preferences.cpp.

450 {
451  return value<QString>("Preferences/MailNotification/username");
452 }

Referenced by OptionsDialog::loadOptions(), AppController::preferencesAction(), and Net::Smtp::sendMail().

Here is the caller graph for this function:

◆ getMainGeometry()

QByteArray Preferences::getMainGeometry ( ) const

Definition at line 1269 of file preferences.cpp.

1270 {
1271  return value<QByteArray>("MainWindow/geometry");
1272 }

Referenced by MainWindow::readSettings().

Here is the caller graph for this function:

◆ getMainLastDir()

QString Preferences::getMainLastDir ( ) const

Definition at line 1297 of file preferences.cpp.

1298 {
1299  return value("MainWindow/LastDir", QDir::homePath());
1300 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by MainWindow::on_actionOpen_triggered().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMainVSplitterState()

QByteArray Preferences::getMainVSplitterState ( ) const

Definition at line 1279 of file preferences.cpp.

1280 {
1281 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1282  return value<QByteArray>("GUI/Qt6/MainWindow/VSplitterState");
1283 #else
1284  return value<QByteArray>("MainWindow/qt5/vsplitterState");
1285 #endif
1286 }

Referenced by MainWindow::readSettings().

Here is the caller graph for this function:

◆ getNetworkCookies()

QList< QNetworkCookie > Preferences::getNetworkCookies ( ) const

Definition at line 1622 of file preferences.cpp.

1623 {
1624  const auto rawCookies = value<QStringList>("Network/Cookies");
1625  QList<QNetworkCookie> cookies;
1626  cookies.reserve(rawCookies.size());
1627  for (const QString &rawCookie : rawCookies)
1628  cookies << QNetworkCookie::parseCookies(rawCookie.toUtf8());
1629  return cookies;
1630 }

Referenced by anonymous_namespace{downloadmanager.cpp}::NetworkCookieJar::NetworkCookieJar().

Here is the caller graph for this function:

◆ getPeerListState()

QByteArray Preferences::getPeerListState ( ) const

Definition at line 1307 of file preferences.cpp.

1308 {
1309 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1310  return value<QByteArray>("GUI/Qt6/TorrentProperties/PeerListState");
1311 #else
1312  return value<QByteArray>("TorrentProperties/Peers/qt5/PeerListState");
1313 #endif
1314 }

◆ getPropCurTab()

int Preferences::getPropCurTab ( ) const

Definition at line 1353 of file preferences.cpp.

1354 {
1355  return value<int>("TorrentProperties/CurrentTab", -1);
1356 }

Referenced by PropertiesWidget::readSettings().

Here is the caller graph for this function:

◆ getPropFileListState()

QByteArray Preferences::getPropFileListState ( ) const

Definition at line 1335 of file preferences.cpp.

1336 {
1337 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1338  return value<QByteArray>("GUI/Qt6/TorrentProperties/FilesListState");
1339 #else
1340  return value<QByteArray>("TorrentProperties/qt5/FilesListState");
1341 #endif
1342 }

Referenced by PropertiesWidget::readSettings().

Here is the caller graph for this function:

◆ getPropSplitterSizes()

QString Preferences::getPropSplitterSizes ( ) const

Definition at line 1325 of file preferences.cpp.

1326 {
1327  return value<QString>("TorrentProperties/SplitterSizes");
1328 }

Referenced by PropertiesWidget::readSettings().

Here is the caller graph for this function:

◆ getPropTrackerListState()

QByteArray Preferences::getPropTrackerListState ( ) const

Definition at line 1373 of file preferences.cpp.

1374 {
1375 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1376  return value<QByteArray>("GUI/Qt6/TorrentProperties/TrackerListState");
1377 #else
1378  return value<QByteArray>("TorrentProperties/Trackers/qt5/TrackerListState");
1379 #endif
1380 }

◆ getPropVisible()

bool Preferences::getPropVisible ( ) const

Definition at line 1363 of file preferences.cpp.

1364 {
1365  return value("TorrentProperties/Visible", false);
1366 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by PropertiesWidget::readSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRegexAsFilteringPatternForSearchJob()

bool Preferences::getRegexAsFilteringPatternForSearchJob ( ) const

Definition at line 1483 of file preferences.cpp.

1484 {
1485  return value("SearchTab/UseRegexAsFilteringPattern", false);
1486 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by SearchJobWidget::filterSearchResults(), and SearchJobWidget::showFilterContextMenu().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRegexAsFilteringPatternForTransferList()

bool Preferences::getRegexAsFilteringPatternForTransferList ( ) const

Definition at line 1591 of file preferences.cpp.

1592 {
1593  return value("TransferList/UseRegexAsFilteringPattern", false);
1594 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by TransferListWidget::applyNameFilter(), and MainWindow::showFilterContextMenu().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRssGeometrySize()

QSize Preferences::getRssGeometrySize ( ) const

Definition at line 1391 of file preferences.cpp.

1392 {
1393  return value<QSize>("RssFeedDownloader/geometrySize");
1394 }

Referenced by AutomatedRssDownloader::loadSettings().

Here is the caller graph for this function:

◆ getRssHSplitterSizes()

QByteArray Preferences::getRssHSplitterSizes ( ) const

Definition at line 1401 of file preferences.cpp.

1402 {
1403 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1404  return value<QByteArray>("GUI/Qt6/RSSFeedDownloader/HSplitterSizes");
1405 #else
1406  return value<QByteArray>("RssFeedDownloader/qt5/hsplitterSizes");
1407 #endif
1408 }

Referenced by AutomatedRssDownloader::loadSettings().

Here is the caller graph for this function:

◆ getRssMainSplitterState()

QByteArray Preferences::getRssMainSplitterState ( ) const

Definition at line 1447 of file preferences.cpp.

1448 {
1449 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1450  return value<QByteArray>("GUI/Qt6/RSSWidget/MainSplitterState");
1451 #else
1452  return value<QByteArray>("GUI/RSSWidget/qt5/splitterMain");
1453 #endif
1454 }

Referenced by RSSWidget::restoreSlidersPosition().

Here is the caller graph for this function:

◆ getRssOpenFolders()

QStringList Preferences::getRssOpenFolders ( ) const

Definition at line 1419 of file preferences.cpp.

1420 {
1421  return value<QStringList>("GUI/RSSWidget/OpenedFolders");
1422 }

Referenced by RSSWidget::loadFoldersOpenState().

Here is the caller graph for this function:

◆ getRssSideSplitterState()

QByteArray Preferences::getRssSideSplitterState ( ) const

Definition at line 1429 of file preferences.cpp.

1430 {
1431 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1432  return value<QByteArray>("GUI/Qt6/RSSWidget/SideSplitterState");
1433 #else
1434  return value<QByteArray>("GUI/RSSWidget/qt5/splitter_h");
1435 #endif
1436 }

Referenced by RSSWidget::restoreSlidersPosition().

Here is the caller graph for this function:

◆ getScanDirsLastPath()

QString Preferences::getScanDirsLastPath ( ) const

Definition at line 378 of file preferences.cpp.

379 {
380  return Utils::Fs::toUniformPath(value<QString>("Preferences/Downloads/ScanDirsLastPath"));
381 }
QString toUniformPath(const QString &path)
Definition: fs.cpp:69

References Utils::Fs::toUniformPath().

Referenced by OptionsDialog::on_addWatchedFolderButton_clicked().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSchedulerDays()

Scheduler::Days Preferences::getSchedulerDays ( ) const

Definition at line 509 of file preferences.cpp.

510 {
511  return value("Preferences/Scheduler/days", Scheduler::Days::EveryDay);
512 }

References Scheduler::EveryDay, and anonymous_namespace{preferences.cpp}::value().

Referenced by BandwidthScheduler::isTimeForAlternative(), OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSchedulerEndTime()

QTime Preferences::getSchedulerEndTime ( ) const

Definition at line 499 of file preferences.cpp.

500 {
501  return value("Preferences/Scheduler/end_time", QTime(20, 0));
502 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by BandwidthScheduler::isTimeForAlternative(), OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSchedulerStartTime()

QTime Preferences::getSchedulerStartTime ( ) const

Definition at line 489 of file preferences.cpp.

490 {
491  return value("Preferences/Scheduler/start_time", QTime(8, 0));
492 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by BandwidthScheduler::isTimeForAlternative(), OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSearchEngDisabled()

QStringList Preferences::getSearchEngDisabled ( ) const

Definition at line 1493 of file preferences.cpp.

1494 {
1495  return value<QStringList>("SearchEngines/disabledEngines");
1496 }

Referenced by SearchPluginManager::enablePlugin(), and SearchPluginManager::update().

Here is the caller graph for this function:

◆ getSearchTabHeaderState()

QByteArray Preferences::getSearchTabHeaderState ( ) const

Definition at line 1465 of file preferences.cpp.

1466 {
1467 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1468  return value<QByteArray>("GUI/Qt6/SearchTab/HeaderState");
1469 #else
1470  return value<QByteArray>("SearchTab/qt5/HeaderState");
1471 #endif
1472 }

◆ getServerDomains()

QString Preferences::getServerDomains ( ) const

Definition at line 594 of file preferences.cpp.

595 {
596  return value<QString>("Preferences/WebUI/ServerDomains", QChar('*'));
597 }

Referenced by OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the caller graph for this function:

◆ getSpeedWidgetGraphEnable()

bool Preferences::getSpeedWidgetGraphEnable ( int  id) const

Definition at line 1661 of file preferences.cpp.

1662 {
1663  // UP and DOWN graphs enabled by default
1664  return value(QString::fromLatin1("SpeedWidget/graph_enable_%1").arg(id), ((id == 0) || (id == 1)));
1665 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by SpeedWidget::loadSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSpeedWidgetPeriod()

int Preferences::getSpeedWidgetPeriod ( ) const

Definition at line 1651 of file preferences.cpp.

1652 {
1653  return value<int>("SpeedWidget/period", 1);
1654 }

Referenced by SpeedWidget::loadSettings().

Here is the caller graph for this function:

◆ getStatusFilterState()

bool Preferences::getStatusFilterState ( ) const

Definition at line 1523 of file preferences.cpp.

1524 {
1525  return value("TransferListFilters/statusFilterState", true);
1526 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by StatusFilterWidget::StatusFilterWidget(), and TransferListFiltersWidget::TransferListFiltersWidget().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTagFilterState()

bool Preferences::getTagFilterState ( ) const

Definition at line 1543 of file preferences.cpp.

1544 {
1545  return value("TransferListFilters/TagFilterState", true);
1546 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by TransferListFiltersWidget::TransferListFiltersWidget().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getToolbarTextPosition()

int Preferences::getToolbarTextPosition ( ) const

Definition at line 1612 of file preferences.cpp.

1613 {
1614  return value<int>("Toolbar/textPosition", -1);
1615 }

Referenced by MainWindow::addToolbarContextMenu().

Here is the caller graph for this function:

◆ getTorImportGeometry()

QByteArray Preferences::getTorImportGeometry ( ) const

Definition at line 1513 of file preferences.cpp.

1514 {
1515  return value<QByteArray>("TorrentImportDlg/dimensions");
1516 }

◆ getTorImportLastContentDir()

QString Preferences::getTorImportLastContentDir ( ) const

Definition at line 1503 of file preferences.cpp.

1504 {
1505  return value("TorrentImport/LastContentDir", QDir::homePath());
1506 }

References anonymous_namespace{preferences.cpp}::value().

Here is the call graph for this function:

◆ getTrackerFilterState()

bool Preferences::getTrackerFilterState ( ) const

Definition at line 1553 of file preferences.cpp.

1554 {
1555  return value("TransferListFilters/trackerFilterState", true);
1556 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by TransferListFiltersWidget::TransferListFiltersWidget().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTrackerPort()

int Preferences::getTrackerPort ( ) const

Definition at line 1172 of file preferences.cpp.

1173 {
1174  return value<int>("Preferences/Advanced/trackerPort", 9000);
1175 }

Referenced by AdvancedSettings::loadAdvancedSettings(), AppController::preferencesAction(), and BitTorrent::Tracker::start().

Here is the caller graph for this function:

◆ getTransHeaderState()

QByteArray Preferences::getTransHeaderState ( ) const

Definition at line 1573 of file preferences.cpp.

1574 {
1575 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1576  return value<QByteArray>("GUI/Qt6/TransferList/HeaderState");
1577 #else
1578  return value<QByteArray>("TransferList/qt5/HeaderState");
1579 #endif
1580 }

◆ getTransSelFilter()

int Preferences::getTransSelFilter ( ) const

Definition at line 1563 of file preferences.cpp.

1564 {
1565  return value<int>("TransferListFilters/selectedFilterIndex", 0);
1566 }

Referenced by StatusFilterWidget::StatusFilterWidget().

Here is the caller graph for this function:

◆ getUILockPassword()

QByteArray Preferences::getUILockPassword ( ) const

Definition at line 871 of file preferences.cpp.

872 {
873  return value<QByteArray>("Locking/password_PBKDF2");
874 }

Referenced by MainWindow::on_actionLock_triggered(), and MainWindow::unlockUI().

Here is the caller graph for this function:

◆ getWebUiAddress()

QString Preferences::getWebUiAddress ( ) const

Definition at line 604 of file preferences.cpp.

605 {
606  return value<QString>("Preferences/WebUI/Address", QChar('*')).trimmed();
607 }

Referenced by WebUI::configure(), OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the caller graph for this function:

◆ getWebUiAuthSubnetWhitelist()

QVector< Utils::Net::Subnet > Preferences::getWebUiAuthSubnetWhitelist ( ) const

Definition at line 564 of file preferences.cpp.

565 {
566  const auto subnets = value<QStringList>("Preferences/WebUI/AuthSubnetWhitelist");
567 
568  QVector<Utils::Net::Subnet> ret;
569  ret.reserve(subnets.size());
570 
571  for (const QString &rawSubnet : subnets)
572  {
573  bool ok = false;
574  const Utils::Net::Subnet subnet = Utils::Net::parseSubnet(rawSubnet.trimmed(), &ok);
575  if (ok)
576  ret.append(subnet);
577  }
578 
579  return ret;
580 }
Subnet parseSubnet(const QString &subnetStr, bool *ok)
Definition: net.cpp:48
QPair< QHostAddress, int > Subnet
Definition: net.h:40

References Utils::Net::parseSubnet().

Referenced by AppController::preferencesAction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getWebUIBanDuration()

std::chrono::seconds Preferences::getWebUIBanDuration ( ) const

Definition at line 670 of file preferences.cpp.

671 {
672  return std::chrono::seconds(value<int>("Preferences/WebUI/BanDuration", 3600));
673 }

Referenced by OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the caller graph for this function:

◆ getWebUICustomHTTPHeaders()

QString Preferences::getWebUICustomHTTPHeaders ( ) const

Definition at line 790 of file preferences.cpp.

791 {
792  return value<QString>("Preferences/WebUI/CustomHTTPHeaders");
793 }

Referenced by OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the caller graph for this function:

◆ getWebUIHttpsCertificatePath()

QString Preferences::getWebUIHttpsCertificatePath ( ) const

Definition at line 740 of file preferences.cpp.

741 {
742  return value<QString>("Preferences/WebUI/HTTPS/CertificatePath");
743 }

Referenced by WebUI::configure(), OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the caller graph for this function:

◆ getWebUIHttpsKeyPath()

QString Preferences::getWebUIHttpsKeyPath ( ) const

Definition at line 750 of file preferences.cpp.

751 {
752  return value<QString>("Preferences/WebUI/HTTPS/KeyPath");
753 }

Referenced by WebUI::configure(), OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the caller graph for this function:

◆ getWebUIMaxAuthFailCount()

int Preferences::getWebUIMaxAuthFailCount ( ) const

Definition at line 660 of file preferences.cpp.

661 {
662  return value<int>("Preferences/WebUI/MaxAuthenticationFailCount", 5);
663 }

Referenced by AuthController::increaseFailedAttempts(), OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the caller graph for this function:

◆ getWebUIPassword()

QByteArray Preferences::getWebUIPassword ( ) const

Definition at line 648 of file preferences.cpp.

649 {
650  // default: adminadmin
651  const QByteArray defaultValue = "ARQ77eY1NUZaQsuDHbIMCA==:0WMRkYTUWVT9wVvdDtHAjU9b3b7uB8NR1Gur2hmQCvCDpm39Q+PsJRJPaCU51dEiz+dTzh8qbPsL8WkFljQYFQ==";
652  return value("Preferences/WebUI/Password_PBKDF2", defaultValue);
653 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by Application::exec(), and AuthController::loginAction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getWebUiPort()

quint16 Preferences::getWebUiPort ( ) const

Definition at line 614 of file preferences.cpp.

615 {
616  return value<int>("Preferences/WebUI/Port", 8080);
617 }

Referenced by WebUI::configure(), Application::exec(), OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the caller graph for this function:

◆ getWebUiRootFolder()

QString Preferences::getWebUiRootFolder ( ) const

Definition at line 770 of file preferences.cpp.

771 {
772  return value<QString>("Preferences/WebUI/RootFolder");
773 }

Referenced by OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the caller graph for this function:

◆ getWebUISessionTimeout()

int Preferences::getWebUISessionTimeout ( ) const

Definition at line 680 of file preferences.cpp.

681 {
682  return value<int>("Preferences/WebUI/SessionTimeout", 3600);
683 }

Referenced by OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the caller graph for this function:

◆ getWebUITrustedReverseProxiesList()

QString Preferences::getWebUITrustedReverseProxiesList ( ) const

Definition at line 810 of file preferences.cpp.

811 {
812  return value<QString>("Preferences/WebUI/TrustedReverseProxiesList");
813 }

Referenced by OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the caller graph for this function:

◆ getWebUiUsername()

QString Preferences::getWebUiUsername ( ) const

Definition at line 638 of file preferences.cpp.

639 {
640  return value<QString>("Preferences/WebUI/Username", QLatin1String("admin"));
641 }

Referenced by Application::exec(), OptionsDialog::loadOptions(), AuthController::loginAction(), and AppController::preferencesAction().

Here is the caller graph for this function:

◆ hibernateWhenDownloadsComplete()

bool Preferences::hibernateWhenDownloadsComplete ( ) const

Definition at line 943 of file preferences.cpp.

944 {
945  return value("Preferences/Downloads/AutoHibernateOnCompletion", false);
946 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by Application::allTorrentsFinished(), and MainWindow::MainWindow().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ iconsInMenusEnabled()

bool Preferences::iconsInMenusEnabled ( ) const

Definition at line 263 of file preferences.cpp.

264 {
265  return value("Preferences/Advanced/EnableIconsInMenus", true);
266 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by AdvancedSettings::loadAdvancedSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initInstance()

void Preferences::initInstance ( )
static

Definition at line 106 of file preferences.cpp.

107 {
108  if (!m_instance)
109  m_instance = new Preferences;
110 }

References m_instance, and Preferences().

Referenced by Application::Application().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ instance()

Preferences * Preferences::instance ( )
static

Definition at line 101 of file preferences.cpp.

102 {
103  return m_instance;
104 }

References m_instance.

Referenced by ShutdownConfirmDialog::accept(), MainWindow::addToolbarContextMenu(), Application::allTorrentsFinished(), Application::Application(), TransferListWidget::applyNameFilter(), MainWindow::askRecursiveTorrentDownloadConfirmation(), MainWindow::clearUILockPassword(), MainWindow::closeEvent(), Net::GeoIPManager::configure(), PropertiesWidget::configure(), TransferListModel::configure(), WebApplication::configure(), WebUI::configure(), MainWindow::createTrayIcon(), MainWindow::defineUILockPassword(), TransferListWidget::deleteSelectedTorrents(), TransferListWidget::deleteVisibleTorrents(), DeletionConfirmationDialog::DeletionConfirmationDialog(), TransferListWidget::displayListMenu(), MainWindow::displaySearchTab(), PeerListWidget::displayToggleColumnsMenu(), Net::DNSUpdater::DNSUpdater(), SearchPluginManager::enablePlugin(), MainWindow::event(), Application::exec(), SearchJobWidget::filterSearchResults(), Net::GeoIPManager::GeoIPManager(), UIThemeManager::getSystrayIcon(), BitTorrent::TorrentImpl::handleTorrentFinishedAlert(), AuthController::increaseFailedAttempts(), Application::initializeTranslation(), IPSubnetWhitelistOptionsDialog::IPSubnetWhitelistOptionsDialog(), BandwidthScheduler::isTimeForAlternative(), AdvancedSettings::loadAdvancedSettings(), RSSWidget::loadFoldersOpenState(), OptionsDialog::loadOptions(), MainWindow::loadPreferences(), PeerListWidget::loadSettings(), SpeedWidget::loadSettings(), TrackerListWidget::loadSettings(), AutomatedRssDownloader::loadSettings(), SearchJobWidget::loadSettings(), TransferListWidget::loadSettings(), AuthController::loginAction(), main(), MainWindow::MainWindow(), anonymous_namespace{downloadmanager.cpp}::NetworkCookieJar::NetworkCookieJar(), MainWindow::on_actionAutoExit_toggled(), MainWindow::on_actionAutoHibernate_toggled(), MainWindow::on_actionAutoShutdown_toggled(), MainWindow::on_actionAutoSuspend_toggled(), MainWindow::on_actionLock_triggered(), MainWindow::on_actionOpen_triggered(), MainWindow::on_actionRSSReader_triggered(), MainWindow::on_actionSearchWidget_triggered(), MainWindow::on_actionShowStatusbar_triggered(), MainWindow::on_actionSpeedInTitleBar_triggered(), MainWindow::on_actionTopToolBar_triggered(), OptionsDialog::on_addWatchedFolderButton_clicked(), IPSubnetWhitelistOptionsDialog::on_buttonBox_accepted(), DeletionConfirmationDialog::on_rememberBtn_clicked(), TransferListFiltersWidget::onCategoryFilterStateChanged(), TransferListFiltersWidget::onTagFilterStateChanged(), OptionsDialog::OptionsDialog(), PeerListWidget::PeerListWidget(), AppController::preferencesAction(), PreviewSelectDialog::PreviewSelectDialog(), PropertiesWidget::PropertiesWidget(), MainWindow::readSettings(), PropertiesWidget::readSettings(), TransferListWidget::recheckSelectedTorrents(), RSSWidget::restoreSlidersPosition(), Application::runExternalProgram(), AdvancedSettings::saveAdvancedSettings(), RSSWidget::saveFoldersOpenState(), OptionsDialog::saveOptions(), PropertiesWidget::saveSettings(), AutomatedRssDownloader::saveSettings(), TransferListWidget::saveSettings(), PeerListWidget::saveSettings(), SpeedWidget::saveSettings(), TrackerListWidget::saveSettings(), SearchJobWidget::saveSettings(), RSSWidget::saveSlidersPosition(), Net::Smtp::sendMail(), Application::sendNotificationEmail(), AppController::setPreferencesAction(), MainWindow::showFilterContextMenu(), SearchJobWidget::showFilterContextMenu(), BitTorrent::Tracker::start(), StatusFilterWidget::StatusFilterWidget(), MainWindow::toolbarFollowSystem(), MainWindow::toolbarIconsOnly(), MainWindow::toolbarTextBeside(), MainWindow::toolbarTextOnly(), MainWindow::toolbarTextUnder(), TransferListWidget::torrentDoubleClicked(), Application::torrentFinished(), SyncController::torrentPeersAction(), TrackerFiltersList::TrackerFiltersList(), TransferListFiltersWidget::TransferListFiltersWidget(), anonymous_namespace{optionsdialog.cpp}::translatedWeekdayNames(), UIThemeManager::UIThemeManager(), MainWindow::unlockUI(), SearchPluginManager::update(), Net::DNSUpdater::updateCredentials(), PeerListWidget::updatePeer(), PeerListWidget::updatePeerCountryResolutionState(), PeerListWidget::updatePeerHostNameResolutionState(), MainWindow::updatePowerManagementState(), DeletionConfirmationDialog::updateRememberButtonState(), userAgreesWithLegalNotice(), WebApplication::WebApplication(), WebUI::WebUI(), MainWindow::writeSettings(), Net::DNSUpdater::~DNSUpdater(), anonymous_namespace{downloadmanager.cpp}::NetworkCookieJar::~NetworkCookieJar(), and StatusFilterWidget::~StatusFilterWidget().

◆ isAltWebUiEnabled()

bool Preferences::isAltWebUiEnabled ( ) const

Definition at line 760 of file preferences.cpp.

761 {
762  return value("Preferences/WebUI/AlternativeUIEnabled", false);
763 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isAutoRunEnabled()

bool Preferences::isAutoRunEnabled ( ) const

Definition at line 891 of file preferences.cpp.

892 {
893  return value("AutoRun/enabled", false);
894 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), AppController::preferencesAction(), and Application::torrentFinished().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isDynDNSEnabled()

bool Preferences::isDynDNSEnabled ( ) const

Definition at line 820 of file preferences.cpp.

821 {
822  return value("Preferences/DynDNS/Enabled", false);
823 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by WebUI::configure(), OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isMailNotificationEnabled()

bool Preferences::isMailNotificationEnabled ( ) const

Definition at line 388 of file preferences.cpp.

389 {
390  return value("Preferences/MailNotification/enabled", false);
391 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), AppController::preferencesAction(), and Application::torrentFinished().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isRSSWidgetEnabled()

bool Preferences::isRSSWidgetEnabled ( ) const

Definition at line 1602 of file preferences.cpp.

1603 {
1604  return value("GUI/RSSWidget/Enabled", false);
1605 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by MainWindow::MainWindow().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isSearchEnabled()

bool Preferences::isSearchEnabled ( ) const

Definition at line 520 of file preferences.cpp.

521 {
522  return value("Preferences/Search/SearchEnabled", false);
523 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by MainWindow::MainWindow().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isSpeedWidgetEnabled()

bool Preferences::isSpeedWidgetEnabled ( ) const

Definition at line 1641 of file preferences.cpp.

1642 {
1643  return value("SpeedWidget/Enabled", true);
1644 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by AdvancedSettings::loadAdvancedSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isSplashScreenDisabled()

bool Preferences::isSplashScreenDisabled ( ) const

Definition at line 304 of file preferences.cpp.

305 {
306  return value("Preferences/General/NoSplashScreen", true);
307 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), and main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isStatusbarDisplayed()

bool Preferences::isStatusbarDisplayed ( ) const

Definition at line 284 of file preferences.cpp.

285 {
286  return value("Preferences/General/StatusbarDisplayed", true);
287 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by MainWindow::loadPreferences(), and MainWindow::MainWindow().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isToolbarDisplayed()

bool Preferences::isToolbarDisplayed ( ) const

Definition at line 274 of file preferences.cpp.

275 {
276  return value("Preferences/General/ToolbarDisplayed", true);
277 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by MainWindow::loadPreferences(), and MainWindow::MainWindow().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isUILocked()

bool Preferences::isUILocked ( ) const

Definition at line 881 of file preferences.cpp.

882 {
883  return value("Locking/locked", false);
884 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by MainWindow::MainWindow().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isWebUiAuthSubnetWhitelistEnabled()

bool Preferences::isWebUiAuthSubnetWhitelistEnabled ( ) const

Definition at line 554 of file preferences.cpp.

555 {
556  return value("Preferences/WebUI/AuthSubnetWhitelistEnabled", false);
557 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isWebUiClickjackingProtectionEnabled()

bool Preferences::isWebUiClickjackingProtectionEnabled ( ) const

Definition at line 690 of file preferences.cpp.

691 {
692  return value("Preferences/WebUI/ClickjackingProtection", true);
693 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isWebUiCSRFProtectionEnabled()

bool Preferences::isWebUiCSRFProtectionEnabled ( ) const

Definition at line 700 of file preferences.cpp.

701 {
702  return value("Preferences/WebUI/CSRFProtection", true);
703 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isWebUICustomHTTPHeadersEnabled()

bool Preferences::isWebUICustomHTTPHeadersEnabled ( ) const

Definition at line 780 of file preferences.cpp.

781 {
782  return value("Preferences/WebUI/CustomHTTPHeadersEnabled", false);
783 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isWebUiEnabled()

bool Preferences::isWebUiEnabled ( ) const

Definition at line 530 of file preferences.cpp.

531 {
532 #ifdef DISABLE_GUI
533  return true;
534 #else
535  return value("Preferences/WebUI/Enabled", false);
536 #endif
537 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by WebUI::configure(), and OptionsDialog::loadOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isWebUIHostHeaderValidationEnabled()

bool Preferences::isWebUIHostHeaderValidationEnabled ( ) const

Definition at line 720 of file preferences.cpp.

721 {
722  return value("Preferences/WebUI/HostHeaderValidation", true);
723 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isWebUiHttpsEnabled()

bool Preferences::isWebUiHttpsEnabled ( ) const

Definition at line 730 of file preferences.cpp.

731 {
732  return value("Preferences/WebUI/HTTPS/Enabled", false);
733 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by WebUI::configure(), Application::exec(), OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isWebUiLocalAuthEnabled()

bool Preferences::isWebUiLocalAuthEnabled ( ) const

Definition at line 544 of file preferences.cpp.

545 {
546  return value("Preferences/WebUI/LocalHostAuth", true);
547 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isWebUIReverseProxySupportEnabled()

bool Preferences::isWebUIReverseProxySupportEnabled ( ) const

Definition at line 800 of file preferences.cpp.

801 {
802  return value("Preferences/WebUI/ReverseProxySupportEnabled", false);
803 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isWebUiSecureCookieEnabled()

bool Preferences::isWebUiSecureCookieEnabled ( ) const

Definition at line 710 of file preferences.cpp.

711 {
712  return value("Preferences/WebUI/SecureCookie", true);
713 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lastLocationPath()

QString Preferences::lastLocationPath ( ) const

Definition at line 368 of file preferences.cpp.

369 {
370  return Utils::Fs::toUniformPath(value<QString>("Preferences/Downloads/LastLocationPath"));
371 }

References Utils::Fs::toUniformPath().

Here is the call graph for this function:

◆ minimizeToTray()

bool Preferences::minimizeToTray ( ) const

Definition at line 223 of file preferences.cpp.

224 {
225  return value("Preferences/General/MinimizeToTray", false);
226 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by MainWindow::event(), OptionsDialog::loadOptions(), and MainWindow::MainWindow().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ minimizeToTrayNotified()

bool Preferences::minimizeToTrayNotified ( ) const

Definition at line 233 of file preferences.cpp.

234 {
235  return value("Preferences/General/MinimizeToTrayNotified", false);
236 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by MainWindow::event(), and MainWindow::MainWindow().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ preventFromSuspendWhenDownloading()

bool Preferences::preventFromSuspendWhenDownloading ( ) const

Definition at line 315 of file preferences.cpp.

316 {
317  return value("Preferences/General/PreventFromSuspendWhenDownloading", false);
318 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), MainWindow::loadPreferences(), and MainWindow::updatePowerManagementState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ preventFromSuspendWhenSeeding()

bool Preferences::preventFromSuspendWhenSeeding ( ) const

Definition at line 325 of file preferences.cpp.

326 {
327  return value("Preferences/General/PreventFromSuspendWhenSeeding", false);
328 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), MainWindow::loadPreferences(), and MainWindow::updatePowerManagementState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ recheckTorrentsOnCompletion() [1/2]

bool Preferences::recheckTorrentsOnCompletion ( ) const

Definition at line 973 of file preferences.cpp.

974 {
975  return value("Preferences/Advanced/RecheckOnCompletion", false);
976 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by BitTorrent::TorrentImpl::handleTorrentFinishedAlert(), AdvancedSettings::loadAdvancedSettings(), AppController::preferencesAction(), and AdvancedSettings::saveAdvancedSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ recheckTorrentsOnCompletion() [2/2]

void Preferences::recheckTorrentsOnCompletion ( bool  recheck)

Definition at line 978 of file preferences.cpp.

979 {
980  setValue("Preferences/Advanced/RecheckOnCompletion", recheck);
981 }

References anonymous_namespace{preferences.cpp}::setValue().

Here is the call graph for this function:

◆ recursiveDownloadDisabled()

bool Preferences::recursiveDownloadDisabled ( ) const

Definition at line 1015 of file preferences.cpp.

1016 {
1017  return value("Preferences/Advanced/DisableRecursiveDownload", false);
1018 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by MainWindow::askRecursiveTorrentDownloadConfirmation(), and OptionsDialog::loadOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ resolvePeerCountries() [1/2]

bool Preferences::resolvePeerCountries ( ) const

Definition at line 983 of file preferences.cpp.

984 {
985  return value("Preferences/Connection/ResolvePeerCountries", true);
986 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by Net::GeoIPManager::configure(), AdvancedSettings::loadAdvancedSettings(), PeerListWidget::PeerListWidget(), AppController::preferencesAction(), AdvancedSettings::saveAdvancedSettings(), SyncController::torrentPeersAction(), and PeerListWidget::updatePeerCountryResolutionState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ resolvePeerCountries() [2/2]

void Preferences::resolvePeerCountries ( bool  resolve)

Definition at line 988 of file preferences.cpp.

989 {
990  setValue("Preferences/Connection/ResolvePeerCountries", resolve);
991 }

References anonymous_namespace{preferences.cpp}::setValue().

Here is the call graph for this function:

◆ resolvePeerHostNames() [1/2]

bool Preferences::resolvePeerHostNames ( ) const

Definition at line 993 of file preferences.cpp.

994 {
995  return value("Preferences/Connection/ResolvePeerHostNames", false);
996 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by AdvancedSettings::loadAdvancedSettings(), and AdvancedSettings::saveAdvancedSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ resolvePeerHostNames() [2/2]

void Preferences::resolvePeerHostNames ( bool  resolve)

Definition at line 998 of file preferences.cpp.

999 {
1000  setValue("Preferences/Connection/ResolvePeerHostNames", resolve);
1001 }

References anonymous_namespace{preferences.cpp}::setValue().

Here is the call graph for this function:

◆ setAcceptedLegal()

void Preferences::setAcceptedLegal ( bool  accepted)

Definition at line 1264 of file preferences.cpp.

1265 {
1266  setValue("LegalNotice/Accepted", accepted);
1267 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by userAgreesWithLegalNotice().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setActionOnDblClOnTorrentDl()

void Preferences::setActionOnDblClOnTorrentDl ( int  act)

Definition at line 474 of file preferences.cpp.

475 {
476  setValue("Preferences/Downloads/DblClOnTorDl", act);
477 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setActionOnDblClOnTorrentFn()

void Preferences::setActionOnDblClOnTorrentFn ( int  act)

Definition at line 484 of file preferences.cpp.

485 {
486  setValue("Preferences/Downloads/DblClOnTorFn", act);
487 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setAlternatingRowColors()

void Preferences::setAlternatingRowColors ( bool  b)

Definition at line 185 of file preferences.cpp.

186 {
187  setValue("Preferences/General/AlternatingRowColors", b);
188 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setAltWebUiEnabled()

void Preferences::setAltWebUiEnabled ( bool  enabled)

Definition at line 765 of file preferences.cpp.

766 {
767  setValue("Preferences/WebUI/AlternativeUIEnabled", enabled);
768 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setAutoRunEnabled()

void Preferences::setAutoRunEnabled ( bool  enabled)

Definition at line 896 of file preferences.cpp.

897 {
898  setValue("AutoRun/enabled", enabled);
899 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setAutoRunProgram()

void Preferences::setAutoRunProgram ( const QString &  program)

Definition at line 906 of file preferences.cpp.

907 {
908  setValue("AutoRun/program", program);
909 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCategoryFilterState

void Preferences::setCategoryFilterState ( bool  checked)
slot

Definition at line 1538 of file preferences.cpp.

1539 {
1540  setValue("TransferListFilters/CategoryFilterState", checked);
1541 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by TransferListFiltersWidget::onCategoryFilterStateChanged().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCloseToTray()

void Preferences::setCloseToTray ( bool  b)

Definition at line 248 of file preferences.cpp.

249 {
250  setValue("Preferences/General/CloseToTray", b);
251 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCloseToTrayNotified()

void Preferences::setCloseToTrayNotified ( bool  b)

Definition at line 258 of file preferences.cpp.

259 {
260  setValue("Preferences/General/CloseToTrayNotified", b);
261 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by MainWindow::closeEvent().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setConfirmOnExit()

void Preferences::setConfirmOnExit ( bool  confirm)

Definition at line 165 of file preferences.cpp.

166 {
167  setValue("Preferences/General/ExitConfirm", confirm);
168 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by MainWindow::closeEvent(), and OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setConfirmRemoveAllTags()

void Preferences::setConfirmRemoveAllTags ( bool  enabled)

Definition at line 1219 of file preferences.cpp.

1220 {
1221  setValue("Preferences/Advanced/confirmRemoveAllTags", enabled);
1222 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by AdvancedSettings::saveAdvancedSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setConfirmTorrentDeletion()

void Preferences::setConfirmTorrentDeletion ( bool  enabled)

Definition at line 1199 of file preferences.cpp.

1200 {
1201  setValue("Preferences/Advanced/confirmTorrentDeletion", enabled);
1202 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setConfirmTorrentRecheck()

void Preferences::setConfirmTorrentRecheck ( bool  enabled)

Definition at line 1209 of file preferences.cpp.

1210 {
1211  setValue("Preferences/Advanced/confirmTorrentRecheck", enabled);
1212 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by AdvancedSettings::saveAdvancedSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCustomUIThemePath()

void Preferences::setCustomUIThemePath ( const QString &  path)

Definition at line 145 of file preferences.cpp.

146 {
147  setValue("Preferences/General/CustomUIThemePath", path);
148 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDeleteTorrentFilesAsDefault()

void Preferences::setDeleteTorrentFilesAsDefault ( bool  del)

Definition at line 155 of file preferences.cpp.

156 {
157  setValue("Preferences/General/DeleteTorrentsFilesAsDefault", del);
158 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by DeletionConfirmationDialog::on_rememberBtn_clicked().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDNSLastIP()

void Preferences::setDNSLastIP ( const QString &  ip)

Definition at line 1254 of file preferences.cpp.

1255 {
1256  setValue("DNSUpdater/lastIP", ip);
1257 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by Net::DNSUpdater::~DNSUpdater().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDNSLastUpd()

void Preferences::setDNSLastUpd ( const QDateTime &  date)

Definition at line 1244 of file preferences.cpp.

1245 {
1246  setValue("DNSUpdater/lastUpdateTime", date);
1247 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by Net::DNSUpdater::~DNSUpdater().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDontConfirmAutoExit()

void Preferences::setDontConfirmAutoExit ( bool  dontConfirmAutoExit)

Definition at line 968 of file preferences.cpp.

969 {
970  setValue("ShutdownConfirmDlg/DontConfirmAutoExit", dontConfirmAutoExit);
971 }
bool dontConfirmAutoExit() const

References dontConfirmAutoExit(), and anonymous_namespace{preferences.cpp}::setValue().

Referenced by ShutdownConfirmDialog::accept(), and OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDynDNSEnabled()

void Preferences::setDynDNSEnabled ( bool  enabled)

Definition at line 825 of file preferences.cpp.

826 {
827  setValue("Preferences/DynDNS/Enabled", enabled);
828 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDynDNSPassword()

void Preferences::setDynDNSPassword ( const QString &  password)

Definition at line 865 of file preferences.cpp.

866 {
867  setValue("Preferences/DynDNS/Password", password);
868 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDynDNSService()

void Preferences::setDynDNSService ( DNS::Service  service)

Definition at line 835 of file preferences.cpp.

836 {
837  setValue("Preferences/DynDNS/Service", service);
838 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDynDNSUsername()

void Preferences::setDynDNSUsername ( const QString &  username)

Definition at line 855 of file preferences.cpp.

856 {
857  setValue("Preferences/DynDNS/Username", username);
858 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDynDomainName()

void Preferences::setDynDomainName ( const QString &  name)

Definition at line 845 of file preferences.cpp.

846 {
847  setValue("Preferences/DynDNS/DomainName", name);
848 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHibernateWhenDownloadsComplete()

void Preferences::setHibernateWhenDownloadsComplete ( bool  hibernate)

Definition at line 948 of file preferences.cpp.

949 {
950  setValue("Preferences/Downloads/AutoHibernateOnCompletion", hibernate);
951 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by Application::allTorrentsFinished(), and MainWindow::on_actionAutoHibernate_toggled().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHideZeroComboValues()

void Preferences::setHideZeroComboValues ( int  n)

Definition at line 205 of file preferences.cpp.

206 {
207  setValue("Preferences/General/HideZeroComboValues", n);
208 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHideZeroValues()

void Preferences::setHideZeroValues ( bool  b)

Definition at line 195 of file preferences.cpp.

196 {
197  setValue("Preferences/General/HideZeroValues", b);
198 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setIconsInMenusEnabled()

void Preferences::setIconsInMenusEnabled ( bool  enable)

Definition at line 268 of file preferences.cpp.

269 {
270  setValue("Preferences/Advanced/EnableIconsInMenus", enable);
271 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by AdvancedSettings::saveAdvancedSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setLastLocationPath()

void Preferences::setLastLocationPath ( const QString &  path)

Definition at line 373 of file preferences.cpp.

374 {
375  setValue("Preferences/Downloads/LastLocationPath", Utils::Fs::toUniformPath(path));
376 }

References anonymous_namespace{preferences.cpp}::setValue(), and Utils::Fs::toUniformPath().

Here is the call graph for this function:

◆ setLocale()

void Preferences::setLocale ( const QString &  locale)

Definition at line 125 of file preferences.cpp.

126 {
127  setValue("Preferences/General/Locale", locale);
128 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMailNotificationEmail()

void Preferences::setMailNotificationEmail ( const QString &  mail)

Definition at line 414 of file preferences.cpp.

415 {
416  setValue("Preferences/MailNotification/email", mail);
417 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMailNotificationEnabled()

void Preferences::setMailNotificationEnabled ( bool  enabled)

Definition at line 393 of file preferences.cpp.

394 {
395  setValue("Preferences/MailNotification/enabled", enabled);
396 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMailNotificationSender()

void Preferences::setMailNotificationSender ( const QString &  mail)

Definition at line 404 of file preferences.cpp.

405 {
406  setValue("Preferences/MailNotification/sender", mail);
407 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMailNotificationSMTP()

void Preferences::setMailNotificationSMTP ( const QString &  smtp_server)

Definition at line 424 of file preferences.cpp.

425 {
426  setValue("Preferences/MailNotification/smtp_server", smtp_server);
427 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMailNotificationSMTPAuth()

void Preferences::setMailNotificationSMTPAuth ( bool  use)

Definition at line 444 of file preferences.cpp.

445 {
446  setValue("Preferences/MailNotification/req_auth", use);
447 }
flag icons free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to use

References anonymous_namespace{preferences.cpp}::setValue(), and use.

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMailNotificationSMTPPassword()

void Preferences::setMailNotificationSMTPPassword ( const QString &  password)

Definition at line 464 of file preferences.cpp.

465 {
466  setValue("Preferences/MailNotification/password", password);
467 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMailNotificationSMTPSSL()

void Preferences::setMailNotificationSMTPSSL ( bool  use)

Definition at line 434 of file preferences.cpp.

435 {
436  setValue("Preferences/MailNotification/req_ssl", use);
437 }

References anonymous_namespace{preferences.cpp}::setValue(), and use.

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMailNotificationSMTPUsername()

void Preferences::setMailNotificationSMTPUsername ( const QString &  username)

Definition at line 454 of file preferences.cpp.

455 {
456  setValue("Preferences/MailNotification/username", username);
457 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMainGeometry()

void Preferences::setMainGeometry ( const QByteArray &  geometry)

Definition at line 1274 of file preferences.cpp.

1275 {
1276  setValue("MainWindow/geometry", geometry);
1277 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by MainWindow::writeSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMainLastDir()

void Preferences::setMainLastDir ( const QString &  path)

Definition at line 1302 of file preferences.cpp.

1303 {
1304  setValue("MainWindow/LastDir", path);
1305 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by MainWindow::on_actionOpen_triggered().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMainVSplitterState()

void Preferences::setMainVSplitterState ( const QByteArray &  state)

Definition at line 1288 of file preferences.cpp.

1289 {
1290 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1291  setValue("GUI/Qt6/MainWindow/VSplitterState", state);
1292 #else
1293  setValue("MainWindow/qt5/vsplitterState", state);
1294 #endif
1295 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by MainWindow::writeSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMinimizeToTray()

void Preferences::setMinimizeToTray ( bool  b)

Definition at line 228 of file preferences.cpp.

229 {
230  setValue("Preferences/General/MinimizeToTray", b);
231 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMinimizeToTrayNotified()

void Preferences::setMinimizeToTrayNotified ( bool  b)

Definition at line 238 of file preferences.cpp.

239 {
240  setValue("Preferences/General/MinimizeToTrayNotified", b);
241 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by MainWindow::event(), and MainWindow::MainWindow().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setNetworkCookies()

void Preferences::setNetworkCookies ( const QList< QNetworkCookie > &  cookies)

Definition at line 1632 of file preferences.cpp.

1633 {
1634  QStringList rawCookies;
1635  rawCookies.reserve(cookies.size());
1636  for (const QNetworkCookie &cookie : cookies)
1637  rawCookies << cookie.toRawForm();
1638  setValue("Network/Cookies", rawCookies);
1639 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by anonymous_namespace{downloadmanager.cpp}::NetworkCookieJar::~NetworkCookieJar().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPeerListState()

void Preferences::setPeerListState ( const QByteArray &  state)

Definition at line 1316 of file preferences.cpp.

1317 {
1318 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1319  setValue("GUI/Qt6/TorrentProperties/PeerListState", state);
1320 #else
1321  setValue("TorrentProperties/Peers/qt5/PeerListState", state);
1322 #endif
1323 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by PeerListWidget::saveSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPreventFromSuspendWhenDownloading()

void Preferences::setPreventFromSuspendWhenDownloading ( bool  b)

Definition at line 320 of file preferences.cpp.

321 {
322  setValue("Preferences/General/PreventFromSuspendWhenDownloading", b);
323 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPreventFromSuspendWhenSeeding()

void Preferences::setPreventFromSuspendWhenSeeding ( bool  b)

Definition at line 330 of file preferences.cpp.

331 {
332  setValue("Preferences/General/PreventFromSuspendWhenSeeding", b);
333 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPropCurTab()

void Preferences::setPropCurTab ( int  tab)

Definition at line 1358 of file preferences.cpp.

1359 {
1360  setValue("TorrentProperties/CurrentTab", tab);
1361 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by PropertiesWidget::saveSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPropFileListState()

void Preferences::setPropFileListState ( const QByteArray &  state)

Definition at line 1344 of file preferences.cpp.

1345 {
1346 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1347  setValue("GUI/Qt6/TorrentProperties/FilesListState", state);
1348 #else
1349  setValue("TorrentProperties/qt5/FilesListState", state);
1350 #endif
1351 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by PropertiesWidget::saveSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPropSplitterSizes()

void Preferences::setPropSplitterSizes ( const QString &  sizes)

Definition at line 1330 of file preferences.cpp.

1331 {
1332  setValue("TorrentProperties/SplitterSizes", sizes);
1333 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by PropertiesWidget::saveSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPropTrackerListState()

void Preferences::setPropTrackerListState ( const QByteArray &  state)

Definition at line 1382 of file preferences.cpp.

1383 {
1384 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1385  setValue("GUI/Qt6/TorrentProperties/TrackerListState", state);
1386 #else
1387  setValue("TorrentProperties/Trackers/qt5/TrackerListState", state);
1388 #endif
1389 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by TrackerListWidget::saveSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPropVisible()

void Preferences::setPropVisible ( bool  visible)

Definition at line 1368 of file preferences.cpp.

1369 {
1370  setValue("TorrentProperties/Visible", visible);
1371 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by PropertiesWidget::saveSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRegexAsFilteringPatternForSearchJob()

void Preferences::setRegexAsFilteringPatternForSearchJob ( bool  checked)

Definition at line 1488 of file preferences.cpp.

1489 {
1490  setValue("SearchTab/UseRegexAsFilteringPattern", checked);
1491 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by SearchJobWidget::showFilterContextMenu().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRegexAsFilteringPatternForTransferList()

void Preferences::setRegexAsFilteringPatternForTransferList ( bool  checked)

Definition at line 1596 of file preferences.cpp.

1597 {
1598  setValue("TransferList/UseRegexAsFilteringPattern", checked);
1599 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by MainWindow::showFilterContextMenu().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRssGeometrySize()

void Preferences::setRssGeometrySize ( const QSize &  geometry)

Definition at line 1396 of file preferences.cpp.

1397 {
1398  setValue("RssFeedDownloader/geometrySize", geometry);
1399 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by AutomatedRssDownloader::saveSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRssHSplitterSizes()

void Preferences::setRssHSplitterSizes ( const QByteArray &  sizes)

Definition at line 1410 of file preferences.cpp.

1411 {
1412 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1413  setValue("GUI/Qt6/RSSFeedDownloader/HSplitterSizes", sizes);
1414 #else
1415  setValue("RssFeedDownloader/qt5/hsplitterSizes", sizes);
1416 #endif
1417 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by AutomatedRssDownloader::saveSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRssMainSplitterState()

void Preferences::setRssMainSplitterState ( const QByteArray &  state)

Definition at line 1456 of file preferences.cpp.

1457 {
1458 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1459  setValue("GUI/Qt6/RSSWidget/MainSplitterState", state);
1460 #else
1461  setValue("GUI/RSSWidget/qt5/splitterMain", state);
1462 #endif
1463 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by RSSWidget::saveSlidersPosition().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRssOpenFolders()

void Preferences::setRssOpenFolders ( const QStringList &  folders)

Definition at line 1424 of file preferences.cpp.

1425 {
1426  setValue("GUI/RSSWidget/OpenedFolders", folders);
1427 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by RSSWidget::saveFoldersOpenState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRssSideSplitterState()

void Preferences::setRssSideSplitterState ( const QByteArray &  state)

Definition at line 1438 of file preferences.cpp.

1439 {
1440 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1441  setValue("GUI/Qt6/RSSWidget/SideSplitterState", state);
1442 #else
1443  setValue("GUI/RSSWidget/qt5/splitter_h", state);
1444 #endif
1445 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by RSSWidget::saveSlidersPosition().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRSSWidgetVisible()

void Preferences::setRSSWidgetVisible ( bool  enabled)

Definition at line 1607 of file preferences.cpp.

1608 {
1609  setValue("GUI/RSSWidget/Enabled", enabled);
1610 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by MainWindow::on_actionRSSReader_triggered().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setScanDirsLastPath()

void Preferences::setScanDirsLastPath ( const QString &  path)

Definition at line 383 of file preferences.cpp.

384 {
385  setValue("Preferences/Downloads/ScanDirsLastPath", Utils::Fs::toUniformPath(path));
386 }

References anonymous_namespace{preferences.cpp}::setValue(), and Utils::Fs::toUniformPath().

Referenced by OptionsDialog::on_addWatchedFolderButton_clicked().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSchedulerDays()

void Preferences::setSchedulerDays ( Scheduler::Days  days)

Definition at line 514 of file preferences.cpp.

515 {
516  setValue("Preferences/Scheduler/days", days);
517 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSchedulerEndTime()

void Preferences::setSchedulerEndTime ( const QTime &  time)

Definition at line 504 of file preferences.cpp.

505 {
506  setValue("Preferences/Scheduler/end_time", time);
507 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSchedulerStartTime()

void Preferences::setSchedulerStartTime ( const QTime &  time)

Definition at line 494 of file preferences.cpp.

495 {
496  setValue("Preferences/Scheduler/start_time", time);
497 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSearchEnabled()

void Preferences::setSearchEnabled ( bool  enabled)

Definition at line 525 of file preferences.cpp.

526 {
527  setValue("Preferences/Search/SearchEnabled", enabled);
528 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by MainWindow::displaySearchTab(), and MainWindow::on_actionSearchWidget_triggered().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSearchEngDisabled()

void Preferences::setSearchEngDisabled ( const QStringList &  engines)

Definition at line 1498 of file preferences.cpp.

1499 {
1500  setValue("SearchEngines/disabledEngines", engines);
1501 }

References nova3.nova2dl::engines, and anonymous_namespace{preferences.cpp}::setValue().

Referenced by SearchPluginManager::enablePlugin().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSearchTabHeaderState()

void Preferences::setSearchTabHeaderState ( const QByteArray &  state)

Definition at line 1474 of file preferences.cpp.

1475 {
1476 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1477  setValue("GUI/Qt6/SearchTab/HeaderState", state);
1478 #else
1479  setValue("SearchTab/qt5/HeaderState", state);
1480 #endif
1481 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by SearchJobWidget::saveSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setServerDomains()

void Preferences::setServerDomains ( const QString &  str)

Definition at line 599 of file preferences.cpp.

600 {
601  setValue("Preferences/WebUI/ServerDomains", str);
602 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setShutdownqBTWhenDownloadsComplete()

void Preferences::setShutdownqBTWhenDownloadsComplete ( bool  shutdown)

Definition at line 958 of file preferences.cpp.

959 {
960  setValue("Preferences/Downloads/AutoShutDownqBTOnCompletion", shutdown);
961 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by MainWindow::on_actionAutoExit_toggled().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setShutdownWhenDownloadsComplete()

void Preferences::setShutdownWhenDownloadsComplete ( bool  shutdown)

Definition at line 928 of file preferences.cpp.

929 {
930  setValue("Preferences/Downloads/AutoShutDownOnCompletion", shutdown);
931 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by Application::allTorrentsFinished(), and MainWindow::on_actionAutoShutdown_toggled().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSpeedWidgetEnabled()

void Preferences::setSpeedWidgetEnabled ( bool  enabled)

Definition at line 1646 of file preferences.cpp.

1647 {
1648  setValue("SpeedWidget/Enabled", enabled);
1649 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by AdvancedSettings::saveAdvancedSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSpeedWidgetGraphEnable()

void Preferences::setSpeedWidgetGraphEnable ( int  id,
bool  enable 
)

Definition at line 1667 of file preferences.cpp.

1668 {
1669  setValue(QString::fromLatin1("SpeedWidget/graph_enable_%1").arg(id), enable);
1670 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by SpeedWidget::saveSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSpeedWidgetPeriod()

void Preferences::setSpeedWidgetPeriod ( int  period)

Definition at line 1656 of file preferences.cpp.

1657 {
1658  setValue("SpeedWidget/period", period);
1659 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by SpeedWidget::saveSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSplashScreenDisabled()

void Preferences::setSplashScreenDisabled ( bool  b)

Definition at line 309 of file preferences.cpp.

310 {
311  setValue("Preferences/General/NoSplashScreen", b);
312 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setStartMinimized()

void Preferences::setStartMinimized ( bool  b)

Definition at line 299 of file preferences.cpp.

300 {
301  setValue("Preferences/General/StartMinimized", b);
302 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setStatusbarDisplayed()

void Preferences::setStatusbarDisplayed ( bool  displayed)

Definition at line 289 of file preferences.cpp.

290 {
291  setValue("Preferences/General/StatusbarDisplayed", displayed);
292 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by MainWindow::on_actionShowStatusbar_triggered().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setStatusFilterState

void Preferences::setStatusFilterState ( bool  checked)
slot

Definition at line 1528 of file preferences.cpp.

1529 {
1530  setValue("TransferListFilters/statusFilterState", checked);
1531 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by TransferListFiltersWidget::TransferListFiltersWidget().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSuspendWhenDownloadsComplete()

void Preferences::setSuspendWhenDownloadsComplete ( bool  suspend)

Definition at line 938 of file preferences.cpp.

939 {
940  setValue("Preferences/Downloads/AutoSuspendOnCompletion", suspend);
941 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by Application::allTorrentsFinished(), and MainWindow::on_actionAutoSuspend_toggled().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSystemTrayEnabled()

void Preferences::setSystemTrayEnabled ( bool  enabled)

Definition at line 218 of file preferences.cpp.

219 {
220  setValue("Preferences/General/SystrayEnabled", enabled);
221 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by MainWindow::createTrayIcon(), and OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTagFilterState

void Preferences::setTagFilterState ( bool  checked)
slot

Definition at line 1548 of file preferences.cpp.

1549 {
1550  setValue("TransferListFilters/TagFilterState", checked);
1551 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by TransferListFiltersWidget::onTagFilterStateChanged().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setToolbarDisplayed()

void Preferences::setToolbarDisplayed ( bool  displayed)

Definition at line 279 of file preferences.cpp.

280 {
281  setValue("Preferences/General/ToolbarDisplayed", displayed);
282 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by MainWindow::event(), and MainWindow::on_actionTopToolBar_triggered().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setToolbarTextPosition()

void Preferences::setToolbarTextPosition ( int  position)

Definition at line 1617 of file preferences.cpp.

1618 {
1619  setValue("Toolbar/textPosition", position);
1620 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by MainWindow::toolbarFollowSystem(), MainWindow::toolbarIconsOnly(), MainWindow::toolbarTextBeside(), MainWindow::toolbarTextOnly(), and MainWindow::toolbarTextUnder().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTorImportGeometry()

void Preferences::setTorImportGeometry ( const QByteArray &  geometry)

Definition at line 1518 of file preferences.cpp.

1519 {
1520  setValue("TorrentImportDlg/dimensions", geometry);
1521 }

References anonymous_namespace{preferences.cpp}::setValue().

Here is the call graph for this function:

◆ setTorImportLastContentDir()

void Preferences::setTorImportLastContentDir ( const QString &  path)

Definition at line 1508 of file preferences.cpp.

1509 {
1510  setValue("TorrentImport/LastContentDir", path);
1511 }

References anonymous_namespace{preferences.cpp}::setValue().

Here is the call graph for this function:

◆ setTrackerFilterState

void Preferences::setTrackerFilterState ( bool  checked)
slot

Definition at line 1558 of file preferences.cpp.

1559 {
1560  setValue("TransferListFilters/trackerFilterState", checked);
1561 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by TransferListFiltersWidget::TransferListFiltersWidget().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTrackerPort()

void Preferences::setTrackerPort ( int  port)

Definition at line 1177 of file preferences.cpp.

1178 {
1179  setValue("Preferences/Advanced/trackerPort", port);
1180 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by AdvancedSettings::saveAdvancedSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTransHeaderState()

void Preferences::setTransHeaderState ( const QByteArray &  state)

Definition at line 1582 of file preferences.cpp.

1583 {
1584 #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
1585  setValue("GUI/Qt6/TransferList/HeaderState", state);
1586 #else
1587  setValue("TransferList/qt5/HeaderState", state);
1588 #endif
1589 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by TransferListWidget::saveSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTransSelFilter()

void Preferences::setTransSelFilter ( int  index)

Definition at line 1568 of file preferences.cpp.

1569 {
1570  setValue("TransferListFilters/selectedFilterIndex", index);
1571 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by StatusFilterWidget::~StatusFilterWidget().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTrayIconStyle()

void Preferences::setTrayIconStyle ( TrayIcon::Style  style)

Definition at line 1230 of file preferences.cpp.

1231 {
1232  setValue("Preferences/Advanced/TrayIconStyle", style);
1233 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setUILocked()

void Preferences::setUILocked ( bool  locked)

Definition at line 886 of file preferences.cpp.

887 {
888  setValue("Locking/locked", locked);
889 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by MainWindow::on_actionLock_triggered(), and MainWindow::unlockUI().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setUILockPassword()

void Preferences::setUILockPassword ( const QByteArray &  password)

Definition at line 876 of file preferences.cpp.

877 {
878  setValue("Locking/password_PBKDF2", password);
879 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by MainWindow::clearUILockPassword(), and MainWindow::defineUILockPassword().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setUPnPForWebUIPort()

void Preferences::setUPnPForWebUIPort ( bool  enabled)

Definition at line 633 of file preferences.cpp.

634 {
635  setValue("Preferences/WebUI/UseUPnP", enabled);
636 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setUseCustomUITheme()

void Preferences::setUseCustomUITheme ( bool  use)

Definition at line 135 of file preferences.cpp.

136 {
137  setValue("Preferences/General/UseCustomUITheme", use);
138 }

References anonymous_namespace{preferences.cpp}::setValue(), and use.

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUiAddress()

void Preferences::setWebUiAddress ( const QString &  addr)

Definition at line 609 of file preferences.cpp.

610 {
611  setValue("Preferences/WebUI/Address", addr.trimmed());
612 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUiAuthSubnetWhitelist()

void Preferences::setWebUiAuthSubnetWhitelist ( QStringList  subnets)

Definition at line 582 of file preferences.cpp.

583 {
584  Algorithm::removeIf(subnets, [](const QString &subnet)
585  {
586  bool ok = false;
587  Utils::Net::parseSubnet(subnet.trimmed(), &ok);
588  return !ok;
589  });
590 
591  setValue("Preferences/WebUI/AuthSubnetWhitelist", subnets);
592 }
void removeIf(T &dict, BinaryPredicate &&p)
Definition: algorithm.h:50

References Utils::Net::parseSubnet(), Algorithm::removeIf(), and anonymous_namespace{preferences.cpp}::setValue().

Referenced by IPSubnetWhitelistOptionsDialog::on_buttonBox_accepted().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUiAuthSubnetWhitelistEnabled()

void Preferences::setWebUiAuthSubnetWhitelistEnabled ( bool  enabled)

Definition at line 559 of file preferences.cpp.

560 {
561  setValue("Preferences/WebUI/AuthSubnetWhitelistEnabled", enabled);
562 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUIBanDuration()

void Preferences::setWebUIBanDuration ( std::chrono::seconds  duration)

Definition at line 675 of file preferences.cpp.

676 {
677  setValue("Preferences/WebUI/BanDuration", static_cast<int>(duration.count()));
678 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUiClickjackingProtectionEnabled()

void Preferences::setWebUiClickjackingProtectionEnabled ( bool  enabled)

Definition at line 695 of file preferences.cpp.

696 {
697  setValue("Preferences/WebUI/ClickjackingProtection", enabled);
698 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUiCSRFProtectionEnabled()

void Preferences::setWebUiCSRFProtectionEnabled ( bool  enabled)

Definition at line 705 of file preferences.cpp.

706 {
707  setValue("Preferences/WebUI/CSRFProtection", enabled);
708 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUICustomHTTPHeaders()

void Preferences::setWebUICustomHTTPHeaders ( const QString &  headers)

Definition at line 795 of file preferences.cpp.

796 {
797  setValue("Preferences/WebUI/CustomHTTPHeaders", headers);
798 }
dictionary headers
Definition: helpers.py:44

References nova3.helpers::headers, and anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUICustomHTTPHeadersEnabled()

void Preferences::setWebUICustomHTTPHeadersEnabled ( bool  enabled)

Definition at line 785 of file preferences.cpp.

786 {
787  setValue("Preferences/WebUI/CustomHTTPHeadersEnabled", enabled);
788 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUiEnabled()

void Preferences::setWebUiEnabled ( bool  enabled)

Definition at line 539 of file preferences.cpp.

540 {
541  setValue("Preferences/WebUI/Enabled", enabled);
542 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUIHostHeaderValidationEnabled()

void Preferences::setWebUIHostHeaderValidationEnabled ( bool  enabled)

Definition at line 725 of file preferences.cpp.

726 {
727  setValue("Preferences/WebUI/HostHeaderValidation", enabled);
728 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUIHttpsCertificatePath()

void Preferences::setWebUIHttpsCertificatePath ( const QString &  path)

Definition at line 745 of file preferences.cpp.

746 {
747  setValue("Preferences/WebUI/HTTPS/CertificatePath", path);
748 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUiHttpsEnabled()

void Preferences::setWebUiHttpsEnabled ( bool  enabled)

Definition at line 735 of file preferences.cpp.

736 {
737  setValue("Preferences/WebUI/HTTPS/Enabled", enabled);
738 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUIHttpsKeyPath()

void Preferences::setWebUIHttpsKeyPath ( const QString &  path)

Definition at line 755 of file preferences.cpp.

756 {
757  setValue("Preferences/WebUI/HTTPS/KeyPath", path);
758 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUiLocalAuthEnabled()

void Preferences::setWebUiLocalAuthEnabled ( bool  enabled)

Definition at line 549 of file preferences.cpp.

550 {
551  setValue("Preferences/WebUI/LocalHostAuth", enabled);
552 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUIMaxAuthFailCount()

void Preferences::setWebUIMaxAuthFailCount ( int  count)

Definition at line 665 of file preferences.cpp.

666 {
667  setValue("Preferences/WebUI/MaxAuthenticationFailCount", count);
668 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUIPassword()

void Preferences::setWebUIPassword ( const QByteArray &  password)

Definition at line 655 of file preferences.cpp.

656 {
657  setValue("Preferences/WebUI/Password_PBKDF2", password);
658 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUiPort()

void Preferences::setWebUiPort ( quint16  port)

Definition at line 619 of file preferences.cpp.

620 {
621  setValue("Preferences/WebUI/Port", port);
622 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by Application::Application(), and OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUIReverseProxySupportEnabled()

void Preferences::setWebUIReverseProxySupportEnabled ( bool  enabled)

Definition at line 805 of file preferences.cpp.

806 {
807  setValue("Preferences/WebUI/ReverseProxySupportEnabled", enabled);
808 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUiRootFolder()

void Preferences::setWebUiRootFolder ( const QString &  path)

Definition at line 775 of file preferences.cpp.

776 {
777  setValue("Preferences/WebUI/RootFolder", path);
778 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUiSecureCookieEnabled()

void Preferences::setWebUiSecureCookieEnabled ( bool  enabled)

Definition at line 715 of file preferences.cpp.

716 {
717  setValue("Preferences/WebUI/SecureCookie", enabled);
718 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUISessionTimeout()

void Preferences::setWebUISessionTimeout ( int  timeout)

Definition at line 685 of file preferences.cpp.

686 {
687  setValue("Preferences/WebUI/SessionTimeout", timeout);
688 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUITrustedReverseProxiesList()

void Preferences::setWebUITrustedReverseProxiesList ( const QString &  addr)

Definition at line 815 of file preferences.cpp.

816 {
817  setValue("Preferences/WebUI/TrustedReverseProxiesList", addr);
818 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWebUiUsername()

void Preferences::setWebUiUsername ( const QString &  username)

Definition at line 643 of file preferences.cpp.

644 {
645  setValue("Preferences/WebUI/Username", username);
646 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by OptionsDialog::saveOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ showSpeedInTitleBar()

void Preferences::showSpeedInTitleBar ( bool  show)

Definition at line 175 of file preferences.cpp.

176 {
177  setValue("Preferences/General/SpeedInTitleBar", show);
178 }

References anonymous_namespace{preferences.cpp}::setValue().

Referenced by MainWindow::on_actionSpeedInTitleBar_triggered().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ shutdownqBTWhenDownloadsComplete()

bool Preferences::shutdownqBTWhenDownloadsComplete ( ) const

Definition at line 953 of file preferences.cpp.

954 {
955  return value("Preferences/Downloads/AutoShutDownqBTOnCompletion", false);
956 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by Application::allTorrentsFinished(), and MainWindow::MainWindow().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ shutdownWhenDownloadsComplete()

bool Preferences::shutdownWhenDownloadsComplete ( ) const

Definition at line 923 of file preferences.cpp.

924 {
925  return value("Preferences/Downloads/AutoShutDownOnCompletion", false);
926 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by Application::allTorrentsFinished(), and MainWindow::MainWindow().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ speedInTitleBar()

bool Preferences::speedInTitleBar ( ) const

Definition at line 170 of file preferences.cpp.

171 {
172  return value("Preferences/General/SpeedInTitleBar", false);
173 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by MainWindow::MainWindow().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ startMinimized()

bool Preferences::startMinimized ( ) const

Definition at line 294 of file preferences.cpp.

295 {
296  return value("Preferences/General/StartMinimized", false);
297 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), and MainWindow::MainWindow().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ suspendWhenDownloadsComplete()

bool Preferences::suspendWhenDownloadsComplete ( ) const

Definition at line 933 of file preferences.cpp.

934 {
935  return value("Preferences/Downloads/AutoSuspendOnCompletion", false);
936 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by Application::allTorrentsFinished(), and MainWindow::MainWindow().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ systemTrayEnabled()

bool Preferences::systemTrayEnabled ( ) const

Definition at line 213 of file preferences.cpp.

214 {
215  return value("Preferences/General/SystrayEnabled", true);
216 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), and MainWindow::loadPreferences().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ trayIconStyle()

TrayIcon::Style Preferences::trayIconStyle ( ) const

Definition at line 1225 of file preferences.cpp.

1226 {
1227  return value("Preferences/Advanced/TrayIconStyle", TrayIcon::Style::Normal);
1228 }

References TrayIcon::Normal, and anonymous_namespace{preferences.cpp}::value().

Referenced by UIThemeManager::getSystrayIcon(), and OptionsDialog::loadOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ useAlternatingRowColors()

bool Preferences::useAlternatingRowColors ( ) const

Definition at line 180 of file preferences.cpp.

181 {
182  return value("Preferences/General/AlternatingRowColors", true);
183 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by OptionsDialog::loadOptions(), MainWindow::loadPreferences(), and PreviewSelectDialog::PreviewSelectDialog().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ useCustomUITheme()

bool Preferences::useCustomUITheme ( ) const

Definition at line 130 of file preferences.cpp.

131 {
132  return value("Preferences/General/UseCustomUITheme", false) && !customUIThemePath().isEmpty();
133 }
QString customUIThemePath() const

References customUIThemePath(), and anonymous_namespace{preferences.cpp}::value().

Here is the call graph for this function:

◆ useUPnPForWebUIPort()

bool Preferences::useUPnPForWebUIPort ( ) const

Definition at line 624 of file preferences.cpp.

625 {
626 #ifdef DISABLE_GUI
627  return value("Preferences/WebUI/UseUPnP", true);
628 #else
629  return value("Preferences/WebUI/UseUPnP", false);
630 #endif
631 }

References anonymous_namespace{preferences.cpp}::value().

Referenced by WebUI::configure(), OptionsDialog::loadOptions(), and AppController::preferencesAction().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_instance

Preferences * Preferences::m_instance = nullptr
staticprivate

Definition at line 96 of file preferences.h.

Referenced by freeInstance(), initInstance(), and instance().


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