qBittorrent
addnewtorrentdialog.cpp File Reference
#include "addnewtorrentdialog.h"
#include <algorithm>
#include <QDebug>
#include <QDir>
#include <QFileDialog>
#include <QMenu>
#include <QPushButton>
#include <QShortcut>
#include <QString>
#include <QUrl>
#include <QVector>
#include "base/bittorrent/downloadpriority.h"
#include "base/bittorrent/infohash.h"
#include "base/bittorrent/magneturi.h"
#include "base/bittorrent/session.h"
#include "base/bittorrent/torrent.h"
#include "base/bittorrent/torrentcontentlayout.h"
#include "base/global.h"
#include "base/net/downloadmanager.h"
#include "base/settingsstorage.h"
#include "base/torrentfileguard.h"
#include "base/utils/compare.h"
#include "base/utils/fs.h"
#include "base/utils/misc.h"
#include "autoexpandabledialog.h"
#include "properties/proplistdelegate.h"
#include "raisedmessagebox.h"
#include "torrentcontentfiltermodel.h"
#include "torrentcontentmodel.h"
#include "ui_addnewtorrentdialog.h"
#include "uithememanager.h"
#include "utils.h"
Include dependency graph for addnewtorrentdialog.cpp:

Go to the source code of this file.

Classes

class  anonymous_namespace{addnewtorrentdialog.cpp}::FileStorageAdaptor
 

Namespaces

 anonymous_namespace{addnewtorrentdialog.cpp}
 

Macros

#define SETTINGS_KEY(name)   "AddNewTorrentDialog/" name
 

Functions

SettingsStorageanonymous_namespace{addnewtorrentdialog.cpp}::settings ()
 
int anonymous_namespace{addnewtorrentdialog.cpp}::indexOfPath (const FileSystemPathComboEdit *fsPathEdit, const QString &savePath)
 
void anonymous_namespace{addnewtorrentdialog.cpp}::setPath (FileSystemPathComboEdit *fsPathEdit, const QString &newPath)
 
void anonymous_namespace{addnewtorrentdialog.cpp}::updatePathHistory (const QString &settingsKey, const QString &path, const int maxLength)
 

Variables

const QString anonymous_namespace{addnewtorrentdialog.cpp}::KEY_ENABLED = QStringLiteral(SETTINGS_KEY("Enabled"))
 
const QString anonymous_namespace{addnewtorrentdialog.cpp}::KEY_TOPLEVEL = QStringLiteral(SETTINGS_KEY("TopLevel"))
 
const QString anonymous_namespace{addnewtorrentdialog.cpp}::KEY_SAVEPATHHISTORY = QStringLiteral(SETTINGS_KEY("SavePathHistory"))
 
const QString anonymous_namespace{addnewtorrentdialog.cpp}::KEY_DOWNLOADPATHHISTORY = QStringLiteral(SETTINGS_KEY("DownloadPathHistory"))
 
const QString anonymous_namespace{addnewtorrentdialog.cpp}::KEY_SAVEPATHHISTORYLENGTH = QStringLiteral(SETTINGS_KEY("SavePathHistoryLength"))
 

Macro Definition Documentation

◆ SETTINGS_KEY

#define SETTINGS_KEY (   name)    "AddNewTorrentDialog/" name

Definition at line 67 of file addnewtorrentdialog.cpp.