@ -33,6 +33,7 @@
#include <QDateTime>
#include <QDir>
#include <QTextStream>
#include <QVector>
#include "base/global.h"
#include "base/logger.h"
@ -29,6 +29,7 @@
#include "upgrade.h"
#include <QFile>
#include "base/profile.h"
@ -41,6 +41,7 @@
#include <QHash>
#include <QPointer>
#include <QSet>
#include <QtContainerFwd>
#include "base/settingvalue.h"
@ -58,7 +59,6 @@ class QFile;
class QNetworkConfiguration;
class QNetworkConfigurationManager;
class QString;
class QStringList;
class QThread;
class QTimer;
class QUrl;
@ -31,6 +31,8 @@
#include <type_traits>
namespace BitTorrent
{
uint qHash(const TorrentState key, const uint seed)
@ -29,15 +29,12 @@
#pragma once
#include <QMetaType>
#include <QString>
class QBitArray;
class QDateTime;
@ -40,6 +40,7 @@
#include <QStringList>
#include <QUrl>
#include "base/exceptions.h"
@ -32,14 +32,13 @@
#include <libtorrent/torrent_info.hpp>
#include <QCoreApplication>
#include "base/indexrange.h"
class QByteArray;
@ -32,11 +32,10 @@
#include <QFileSystemWatcher>
#include <QTimer>
/*
* Subclassing QFileSystemWatcher in order to support Network File
* System watching (NFS, CIFS) on Linux and Mac OS.
@ -31,6 +31,7 @@
#include <algorithm>
namespace
@ -34,7 +34,7 @@
#include <QObject>
#include <QReadWriteLock>
const int MAX_LOG_MESSAGES = 20000;
#include <QList>
#include <QLocale>
#include <QNetworkCookie>
#include <QSettings>
@ -30,16 +30,15 @@
#ifndef PREFERENCES_H
#define PREFERENCES_H
#include <QVariant>
#include "base/utils/net.h"
class QNetworkCookie;
class QSize;
class QTime;
class QVariant;
enum SchedulerDays
@ -31,8 +31,7 @@
#include <QAbstractListModel>
class FileSystemWatcher;
#include <QProcess>
#include "base/utils/foreignapps.h"
@ -33,7 +33,7 @@
class QProcess;
@ -29,7 +29,7 @@
#ifndef TYPES_H
#define TYPES_H
#include <QMap>
const qlonglong MAX_ETA = 8640000;
#include "bytearray.h"
#include <QByteArray>
QVector<QByteArray> Utils::ByteArray::splitToViews(const QByteArray &in, const QByteArray &sep, const QString::SplitBehavior behavior)
@ -52,6 +52,7 @@
#include <QRegularExpression>
#include <QSysInfo>
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MACOS)) && defined(QT_DBUS_LIB)
#include <QDBusInterface>
@ -28,10 +28,13 @@
#include "net.h"
#include <QNetworkInterface>
#include <QPair>
#include <QSslCertificate>
#include <QSslKey>
namespace Utils
@ -30,9 +30,7 @@
#define BASE_UTILS_NET_H
#include <QHostAddress>
class QSslCertificate;
class QSslKey;
@ -34,6 +34,7 @@
#include "random.h"
@ -35,6 +35,7 @@
#include <QRegExp>
#include <QtGlobal>
#if defined(Q_OS_MACOS) || defined(__MINGW32__)
#define QBT_USES_QTHREADSTORAGE
@ -31,9 +31,10 @@
#define UTILS_STRING_H
#include <QChar>
#include <Qt>
class QStringRef;
class TriStateBool;
@ -32,15 +32,14 @@
#include <QComboBox>
#include <QFileIconProvider>
#include <QLineEdit>
#include <QValidator>
class QAction;
class QCompleter;
class QContextMenuEvent;
class QFileSystemModel;
class QKeyEvent;
namespace Private
#include <cmath>
#include <QDebug>
@ -30,7 +30,7 @@
#define DOWNLOADEDPIECESBAR_H
#include <QBitArray>
#include "piecesbar.h"
@ -42,6 +42,7 @@
#include <QTableView>
#include <QTreeWidgetItem>
#include "base/bittorrent/peerinfo.h"
#include "base/bittorrent/session.h"
#define TRACKERLIST_H
#include <QTreeWidget>
class PropertiesWidget;
@ -30,9 +30,9 @@
#define TRACKERSADDITION_H
#include <QDialog>
@ -31,11 +31,11 @@
#define PLUGINSELECTDIALOG_H
#include "base/search/searchpluginmanager.h"
class QDropEvent;
class QTreeWidgetItem;
namespace Net
@ -30,6 +30,8 @@
#include <QIcon>
#include "base/bittorrent/torrenthandle.h"
@ -30,8 +30,7 @@
#define TAGFILTERMODEL_H
class QModelIndex;
#include "base/bittorrent/trackerentry.h"
#include "ui_trackerentriesdialog.h"
@ -30,8 +30,10 @@
#include <QJsonDocument>
#include <QMetaObject>
#include "apierror.h"
@ -28,10 +28,9 @@
@ -30,6 +30,7 @@
#include <QJsonArray>
#include <QJsonObject>
@ -32,6 +32,7 @@
#include <QJsonValue>
#include "base/rss/rss_article.h"
#include "base/rss/rss_autodownloader.h"
#include <limits>
#include <QSharedPointer>
@ -28,15 +28,13 @@
#include "apicontroller.h"
class QJsonArray;
class QJsonObject;
struct ISession;
struct SearchResult;
@ -29,6 +29,8 @@
#include "serialize_torrent.h"
#include "base/bittorrent/infohash.h"