qBittorrent/src/base/bittorrent
Eugene Shalygin 0f746ffd5a Add support for different configurations. Partially closes #465
It may be useful to have different configurations either for portable
versions or for debugging purposes. To implement this we add two
options, avaliable via command line switches
1. An option to change configuration name ("--configuration"). The name
supplied via this option is appended to
QCoreApplication::applicationName() to form "qBittorrent_<conf_name>"
name for the configuration files.
2. An option to provide a path do directory where all the settings are
stored (kind of profile directory). There is a shortcut "--portable"
which means "use directory 'profile' near the executable location".

In order to implement that we have to perform initialisation of the
profile directories before the SettingStorage and Preferences singletones
are initialised. Thus, options parsing shall be performed without defaults
read from preferences.
2017-04-12 00:50:28 +02:00
..
private Add support for different configurations. Partially closes #465 2017-04-12 00:50:28 +02:00
cachestatus.cpp Add libtorrent v1.1 basic support 2016-01-31 14:04:25 +03:00
cachestatus.h Add libtorrent v1.1 basic support 2016-01-31 14:04:25 +03:00
infohash.cpp Use truncated torrent hash in temp path 2016-04-25 08:39:36 +03:00
infohash.h Rename Core to Base (Closes #3733). 2015-12-06 14:27:00 +03:00
magneturi.cpp Replace Utils::String::fromStdString() by QString::fromStdString() 2017-03-07 19:42:44 +08:00
magneturi.h Create MagnetUri object from BC link or HASH string 2016-01-31 21:32:41 +03:00
peerinfo.cpp Replace Utils::String::fromStdString() by QString::fromStdString() 2017-03-07 19:42:44 +08:00
peerinfo.h Revert "Temporarily revert PR #2885 (filename column in peers view)." 2016-02-27 20:51:39 +01:00
session.cpp Change the user-agent format in the session.cpp too. 2017-03-07 23:41:29 +02:00
session.h Fix race condition where there was a chance to allow all ips between reparsings of the ip filter. 2017-03-07 23:16:50 +02:00
sessionstatus.cpp Rename Core to Base (Closes #3733). 2015-12-06 14:27:00 +03:00
sessionstatus.h Rename Core to Base (Closes #3733). 2015-12-06 14:27:00 +03:00
torrentcreatorthread.cpp Merge pull request #6445 from Chocobo1/fix 2017-03-07 23:38:14 +02:00
torrentcreatorthread.h Rename Core to Base (Closes #3733). 2015-12-06 14:27:00 +03:00
torrenthandle.cpp Merge pull request #6479 from Chocobo1/qt4 2017-03-07 23:28:56 +02:00
torrenthandle.h Fetch torrent status when generating final fastresume data 2017-01-18 18:59:03 +01:00
torrentinfo.cpp Replace Utils::String::fromStdString() by QString::fromStdString() 2017-03-07 19:42:44 +08:00
torrentinfo.h Show files in tooltips for pieces progress bars 2016-06-02 10:30:28 +02:00
tracker.cpp Replace Utils::String::toStdString() by QString::toStdString() 2017-03-06 23:58:38 +08:00
tracker.h Rename Core to Base (Closes #3733). 2015-12-06 14:27:00 +03:00
trackerentry.cpp Replace Utils::String::fromStdString() by QString::fromStdString() 2017-03-07 19:42:44 +08:00
trackerentry.h Add libtorrent v1.1 basic support 2016-01-31 14:04:25 +03:00