|
|
@ -28,38 +28,38 @@ |
|
|
|
* Contact : chris@qbittorrent.org |
|
|
|
* Contact : chris@qbittorrent.org |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
#include <QTextStream> |
|
|
|
#include "options_imp.h" |
|
|
|
#include <QFileDialog> |
|
|
|
|
|
|
|
#include <QMessageBox> |
|
|
|
#include <cstdlib> |
|
|
|
#include <QSystemTrayIcon> |
|
|
|
|
|
|
|
#include <QApplication> |
|
|
|
#include <QApplication> |
|
|
|
#include <QDialogButtonBox> |
|
|
|
|
|
|
|
#include <QCloseEvent> |
|
|
|
#include <QCloseEvent> |
|
|
|
|
|
|
|
#include <QDebug> |
|
|
|
|
|
|
|
#include <QDesktopServices> |
|
|
|
#include <QDesktopWidget> |
|
|
|
#include <QDesktopWidget> |
|
|
|
|
|
|
|
#include <QDialogButtonBox> |
|
|
|
|
|
|
|
#include <QFileDialog> |
|
|
|
|
|
|
|
#include <QMessageBox> |
|
|
|
|
|
|
|
#include <QSystemTrayIcon> |
|
|
|
#include <QTranslator> |
|
|
|
#include <QTranslator> |
|
|
|
#include <QDesktopServices> |
|
|
|
|
|
|
|
#include <QDebug> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <cstdlib> |
|
|
|
#ifndef QT_NO_OPENSSL |
|
|
|
|
|
|
|
#include <QSslCertificate> |
|
|
|
|
|
|
|
#include <QSslKey> |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#include "app/application.h" |
|
|
|
#include "app/application.h" |
|
|
|
#include "base/preferences.h" |
|
|
|
|
|
|
|
#include "base/utils/fs.h" |
|
|
|
|
|
|
|
#include "base/scanfoldersmodel.h" |
|
|
|
|
|
|
|
#include "base/bittorrent/session.h" |
|
|
|
#include "base/bittorrent/session.h" |
|
|
|
#include "base/net/dnsupdater.h" |
|
|
|
#include "base/net/dnsupdater.h" |
|
|
|
#include "base/unicodestrings.h" |
|
|
|
#include "base/preferences.h" |
|
|
|
|
|
|
|
#include "base/scanfoldersmodel.h" |
|
|
|
#include "base/torrentfileguard.h" |
|
|
|
#include "base/torrentfileguard.h" |
|
|
|
|
|
|
|
#include "base/unicodestrings.h" |
|
|
|
|
|
|
|
#include "base/utils/fs.h" |
|
|
|
|
|
|
|
#include "addnewtorrentdialog.h" |
|
|
|
#include "advancedsettings.h" |
|
|
|
#include "advancedsettings.h" |
|
|
|
#include "guiiconprovider.h" |
|
|
|
#include "guiiconprovider.h" |
|
|
|
#include "scanfoldersdelegate.h" |
|
|
|
#include "scanfoldersdelegate.h" |
|
|
|
#include "addnewtorrentdialog.h" |
|
|
|
|
|
|
|
#include "options_imp.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef QT_NO_OPENSSL |
|
|
|
|
|
|
|
#include <QSslKey> |
|
|
|
|
|
|
|
#include <QSslCertificate> |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Constructor
|
|
|
|
// Constructor
|
|
|
|
options_imp::options_imp(QWidget *parent) |
|
|
|
options_imp::options_imp(QWidget *parent) |
|
|
|