qBittorrent
|
Classes | |
class | FileStorageAdaptor |
Functions | |
SettingsStorage * | settings () |
int | indexOfPath (const FileSystemPathComboEdit *fsPathEdit, const QString &savePath) |
void | setPath (FileSystemPathComboEdit *fsPathEdit, const QString &newPath) |
void | updatePathHistory (const QString &settingsKey, const QString &path, const int maxLength) |
Variables | |
const QString | KEY_ENABLED = QStringLiteral(SETTINGS_KEY("Enabled")) |
const QString | KEY_TOPLEVEL = QStringLiteral(SETTINGS_KEY("TopLevel")) |
const QString | KEY_SAVEPATHHISTORY = QStringLiteral(SETTINGS_KEY("SavePathHistory")) |
const QString | KEY_DOWNLOADPATHHISTORY = QStringLiteral(SETTINGS_KEY("DownloadPathHistory")) |
const QString | KEY_SAVEPATHHISTORYLENGTH = QStringLiteral(SETTINGS_KEY("SavePathHistoryLength")) |
int anonymous_namespace{addnewtorrentdialog.cpp}::indexOfPath | ( | const FileSystemPathComboEdit * | fsPathEdit, |
const QString & | savePath | ||
) |
Definition at line 126 of file addnewtorrentdialog.cpp.
References FileSystemPathComboEdit::count(), and FileSystemPathComboEdit::item().
Referenced by setPath().
void anonymous_namespace{addnewtorrentdialog.cpp}::setPath | ( | FileSystemPathComboEdit * | fsPathEdit, |
const QString & | newPath | ||
) |
Definition at line 137 of file addnewtorrentdialog.cpp.
References indexOfPath(), FileSystemPathComboEdit::insertItem(), and FileSystemPathComboEdit::setCurrentIndex().
Referenced by AddNewTorrentDialog::populateSavePaths().
|
inline |
Definition at line 75 of file addnewtorrentdialog.cpp.
References SettingsStorage::instance().
Referenced by anonymous_namespace{settingsstorage.cpp}::TransactionalSettings::deserialize(), AddNewTorrentDialog::isEnabled(), AddNewTorrentDialog::isTopLevel(), RSS::AutoDownloader::loadRulesLegacy(), AddNewTorrentDialog::populateSavePaths(), SettingsStorage::save(), AddNewTorrentDialog::savePathHistoryLength(), anonymous_namespace{settingsstorage.cpp}::TransactionalSettings::serialize(), AddNewTorrentDialog::setEnabled(), AddNewTorrentDialog::setSavePathHistoryLength(), AddNewTorrentDialog::setTopLevel(), and updatePathHistory().
void anonymous_namespace{addnewtorrentdialog.cpp}::updatePathHistory | ( | const QString & | settingsKey, |
const QString & | path, | ||
const int | maxLength | ||
) |
Definition at line 150 of file addnewtorrentdialog.cpp.
References SettingsStorage::loadValue(), settings(), and SettingsStorage::storeValue().
Referenced by AddNewTorrentDialog::accept().
const QString anonymous_namespace{addnewtorrentdialog.cpp}::KEY_DOWNLOADPATHHISTORY = QStringLiteral(SETTINGS_KEY("DownloadPathHistory")) |
Definition at line 71 of file addnewtorrentdialog.cpp.
Referenced by AddNewTorrentDialog::accept(), and AddNewTorrentDialog::populateSavePaths().
const QString anonymous_namespace{addnewtorrentdialog.cpp}::KEY_ENABLED = QStringLiteral(SETTINGS_KEY("Enabled")) |
Definition at line 68 of file addnewtorrentdialog.cpp.
Referenced by AddNewTorrentDialog::isEnabled(), and AddNewTorrentDialog::setEnabled().
const QString anonymous_namespace{addnewtorrentdialog.cpp}::KEY_SAVEPATHHISTORY = QStringLiteral(SETTINGS_KEY("SavePathHistory")) |
Definition at line 70 of file addnewtorrentdialog.cpp.
Referenced by AddNewTorrentDialog::accept(), AddNewTorrentDialog::populateSavePaths(), and AddNewTorrentDialog::setSavePathHistoryLength().
const QString anonymous_namespace{addnewtorrentdialog.cpp}::KEY_SAVEPATHHISTORYLENGTH = QStringLiteral(SETTINGS_KEY("SavePathHistoryLength")) |
Definition at line 72 of file addnewtorrentdialog.cpp.
Referenced by AddNewTorrentDialog::savePathHistoryLength(), and AddNewTorrentDialog::setSavePathHistoryLength().
const QString anonymous_namespace{addnewtorrentdialog.cpp}::KEY_TOPLEVEL = QStringLiteral(SETTINGS_KEY("TopLevel")) |
Definition at line 69 of file addnewtorrentdialog.cpp.
Referenced by AddNewTorrentDialog::isTopLevel(), and AddNewTorrentDialog::setTopLevel().