1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Remove some unused #include

This commit is contained in:
thalieht 2019-06-04 00:35:27 +03:00
parent 4370a7eb12
commit 9995967fbf
45 changed files with 0 additions and 79 deletions

View File

@ -29,7 +29,6 @@
#include "resumedatasavingmanager.h"
#include <QByteArray>
#include <QDebug>
#include <QSaveFile>
#include "base/logger.h"

View File

@ -43,7 +43,6 @@
#include "base/global.h"
#include "base/utils/fs.h"
#include "base/utils/misc.h"
#include "base/utils/string.h"
namespace

View File

@ -30,7 +30,6 @@
#define BITTORRENT_TRACKERENTRY_H
#include <libtorrent/announce_entry.hpp>
#include <libtorrent/torrent_info.hpp>
class QString;

View File

@ -37,11 +37,9 @@
#endif
#include "base/algorithm.h"
#include "base/bittorrent/magneturi.h"
#include "base/bittorrent/torrentinfo.h"
#include "base/global.h"
#include "base/logger.h"
#include "base/preferences.h"
#include "base/utils/fs.h"
namespace

View File

@ -32,7 +32,6 @@
#include <QHash>
#include <QNetworkAccessManager>
#include <QNetworkRequest>
#include <QObject>
#include <QQueue>
#include <QSet>

View File

@ -30,7 +30,6 @@
#include "geoipmanager.h"
#include <QDateTime>
#include <QDebug>
#include <QDir>
#include <QFile>
#include <QHostAddress>

View File

@ -30,7 +30,6 @@
#ifndef NET_GEOIPMANAGER_H
#define NET_GEOIPMANAGER_H
#include <QCache>
#include <QObject>
class QHostAddress;

View File

@ -32,7 +32,6 @@
#include <QHostAddress>
#include <QVariant>
#include "base/types.h"
#include "geoipdatabase.h"
namespace

View File

@ -36,7 +36,6 @@
#include <QAbstractSocket>
#include <QByteArray>
#include <QHash>
#include <QMetaType>
#include <QObject>
#include <QString>

View File

@ -59,7 +59,6 @@
#include "global.h"
#include "settingsstorage.h"
#include "utils/fs.h"
#include "utils/misc.h"
Preferences *Preferences::m_instance = nullptr;

View File

@ -30,7 +30,6 @@
#include <QDataStream>
#include <QDebug>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonValue>

View File

@ -32,7 +32,6 @@
#include <algorithm>
#include <QDebug>
#include <QDir>
#include <QHash>
#include <QJsonArray>
#include <QJsonObject>

View File

@ -31,14 +31,12 @@
#include "rss_session.h"
#include <QDebug>
#include <QDir>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonValue>
#include <QSaveFile>
#include <QString>
#include <QThread>
#include <QVariantHash>
#include "../asyncfilestorage.h"
#include "../global.h"

View File

@ -31,7 +31,6 @@
#include <memory>
#include <QDebug>
#include <QDir>
#include <QDirIterator>
#include <QDomDocument>

View File

@ -49,7 +49,6 @@
#include <unistd.h>
#endif
#include <QCoreApplication>
#include <QDebug>
#include <QDir>
#include <QDirIterator>

View File

@ -37,7 +37,6 @@
#include "bytearray.h"
#include "random.h"
#include "string.h"
namespace Utils
{

View File

@ -43,7 +43,6 @@
#include "base/bittorrent/torrenthandle.h"
#include "base/global.h"
#include "base/net/downloadmanager.h"
#include "base/preferences.h"
#include "base/settingsstorage.h"
#include "base/torrentfileguard.h"
#include "base/utils/fs.h"

View File

@ -30,7 +30,6 @@
#include <limits>
#include <QFont>
#include <QHeaderView>
#include <QHostAddress>
#include <QNetworkInterface>

View File

@ -28,9 +28,6 @@
#include "autoexpandabledialog.h"
#include <QDesktopWidget>
#include "mainwindow.h"
#include "ui_autoexpandabledialog.h"
#include "utils.h"

View File

@ -29,7 +29,6 @@
#include "categoryfilterwidget.h"
#include <QAction>
#include <QHeaderView>
#include <QMenu>
#include "base/bittorrent/session.h"

View File

@ -28,7 +28,6 @@
#include "executionlogwidget.h"
#include <QColor>
#include <QDateTime>
#include <QPalette>

View File

@ -29,7 +29,6 @@
#ifndef QBT_FSPATHEDIT_H
#define QBT_FSPATHEDIT_H
#include <QScopedPointer>
#include <QWidget>
namespace Private

View File

@ -31,9 +31,7 @@
#include <QHash>
#include <QIcon>
#include <QVector>
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MAC))
#include <QDir>
#include <QFile>
#endif

View File

@ -28,7 +28,6 @@
#include "mainwindow.h"
#include <QClipboard>
#include <QCloseEvent>
#include <QDebug>
#include <QDesktopServices>
@ -38,7 +37,6 @@
#include <QMimeData>
#include <QProcess>
#include <QPushButton>
#include <QScrollBar>
#include <QShortcut>
#include <QSplitter>
#include <QStatusBar>
@ -71,7 +69,6 @@
#include "base/utils/password.h"
#include "aboutdialog.h"
#include "addnewtorrentdialog.h"
#include "application.h"
#include "autoexpandabledialog.h"
#include "cookiesdialog.h"
#include "downloadfromurldialog.h"
@ -96,9 +93,6 @@
#include "ui_mainwindow.h"
#include "utils.h"
#ifdef Q_OS_WIN
#include "base/net/downloadmanager.h"
#endif
#ifdef Q_OS_MAC
#include "macutilities.h"
#endif

View File

@ -35,7 +35,6 @@
#include <QCloseEvent>
#include <QDebug>
#include <QDesktopServices>
#include <QDesktopWidget>
#include <QDialogButtonBox>
#include <QEvent>
#include <QFileDialog>
@ -45,7 +44,6 @@
#include "base/bittorrent/session.h"
#include "base/global.h"
#include "base/http/server.h"
#include "base/net/dnsupdater.h"
#include "base/net/portforwarder.h"
#include "base/net/proxyconfigurationmanager.h"

View File

@ -36,7 +36,6 @@
#include <QXmlStreamReader>
#include "base/net/downloadmanager.h"
#include "base/utils/fs.h"
namespace
{

View File

@ -30,7 +30,6 @@
#define PROGRAMUPDATER_H
#include <QObject>
#include <QUrl>
namespace Net
{

View File

@ -46,13 +46,11 @@
#include "base/net/geoipmanager.h"
#include "base/net/reverseresolution.h"
#include "base/preferences.h"
#include "base/unicodestrings.h"
#include "guiiconprovider.h"
#include "peerlistdelegate.h"
#include "peerlistsortmodel.h"
#include "peersadditiondialog.h"
#include "propertieswidget.h"
#include "speedlimitdialog.h"
PeerListWidget::PeerListWidget(PropertiesWidget *parent)
: QTreeView(parent)

View File

@ -45,7 +45,6 @@
#include "base/utils/misc.h"
#include "base/utils/string.h"
#include "propertieswidget.h"
#include "torrentcontentmodelitem.h"
namespace
{

View File

@ -49,7 +49,6 @@
#include "base/bittorrent/trackerentry.h"
#include "base/global.h"
#include "base/preferences.h"
#include "base/utils/misc.h"
#include "autoexpandabledialog.h"
#include "guiiconprovider.h"
#include "propertieswidget.h"

View File

@ -36,8 +36,6 @@
#include "base/bittorrent/trackerentry.h"
#include "base/global.h"
#include "base/net/downloadmanager.h"
#include "base/utils/fs.h"
#include "base/utils/misc.h"
#include "guiiconprovider.h"
#include "ui_trackersadditiondialog.h"

View File

@ -30,7 +30,6 @@
#include "automatedrssdownloader.h"
#include <QCursor>
#include <QDebug>
#include <QFileDialog>
#include <QMenu>
#include <QMessageBox>

View File

@ -31,14 +31,12 @@
#include "rsswidget.h"
#include <QClipboard>
#include <QDebug>
#include <QDesktopServices>
#include <QDragMoveEvent>
#include <QMenu>
#include <QMessageBox>
#include <QRegularExpression>
#include <QShortcut>
#include <QStandardItemModel>
#include <QString>
#include "base/bittorrent/session.h"

View File

@ -31,7 +31,6 @@
#ifndef RSSWIDGET_H
#define RSSWIDGET_H
#include <QPointer>
#include <QWidget>
class QShortcut;

View File

@ -28,10 +28,8 @@
#include "searchlistdelegate.h"
#include <QCoreApplication>
#include <QModelIndex>
#include <QPainter>
#include <QProgressBar>
#include <QStyleOptionViewItem>
#include "base/utils/misc.h"

View File

@ -36,30 +36,18 @@
#endif
#include <QDebug>
#include <QHeaderView>
#include <QMessageBox>
#include <QMimeData>
#include <QProcess>
#include <QRegularExpression>
#include <QShortcut>
#include <QSortFilterProxyModel>
#include <QStandardItemModel>
#include <QTextStream>
#include <QTreeView>
#include "base/bittorrent/session.h"
#include "base/global.h"
#include "base/preferences.h"
#include "base/search/searchpluginmanager.h"
#include "base/search/searchhandler.h"
#include "base/utils/foreignapps.h"
#include "base/utils/fs.h"
#include "addnewtorrentdialog.h"
#include "guiiconprovider.h"
#include "mainwindow.h"
#include "pluginselectdialog.h"
#include "searchlistdelegate.h"
#include "searchsortmodel.h"
#include "searchjobwidget.h"
#include "ui_searchwidget.h"

View File

@ -39,7 +39,6 @@
#include "base/bittorrent/session.h"
#include "base/bittorrent/sessionstatus.h"
#include "base/utils/misc.h"
#include "guiiconprovider.h"
#include "speedlimitdialog.h"
#include "utils.h"

View File

@ -29,8 +29,6 @@
#include "tagfilterwidget.h"
#include <QAction>
#include <QDebug>
#include <QHeaderView>
#include <QMenu>
#include <QMessageBox>

View File

@ -52,7 +52,6 @@
#include "base/bittorrent/torrentinfo.h"
#include "base/global.h"
#include "base/utils/fs.h"
#include "base/utils/misc.h"
#include "guiiconprovider.h"
#include "torrentcontentmodelfile.h"
#include "torrentcontentmodelfolder.h"

View File

@ -28,10 +28,6 @@
#include "torrentcontentmodelitem.h"
#include <QDebug>
#include "base/utils/misc.h"
#include "base/utils/fs.h"
#include "torrentcontentmodelfolder.h"
TorrentContentModelItem::TorrentContentModelItem(TorrentContentModelFolder *parent)

View File

@ -30,7 +30,6 @@
#include "torrentcreatordialog.h"
#include <QCloseEvent>
#include <QDebug>
#include <QFileDialog>
#include <QMessageBox>
#include <QMimeData>

View File

@ -29,7 +29,6 @@
#include "transferlistfilterswidget.h"
#include <QCheckBox>
#include <QDebug>
#include <QIcon>
#include <QListWidgetItem>
#include <QMenu>
@ -49,12 +48,9 @@
#include "base/torrentfilter.h"
#include "base/utils/fs.h"
#include "base/utils/string.h"
#include "autoexpandabledialog.h"
#include "categoryfilterwidget.h"
#include "guiiconprovider.h"
#include "tagfilterwidget.h"
#include "transferlistdelegate.h"
#include "transferlistmodel.h"
#include "transferlistwidget.h"
#include "utils.h"

View File

@ -38,7 +38,6 @@
#include "base/bittorrent/session.h"
#include "base/bittorrent/torrenthandle.h"
#include "base/global.h"
#include "base/torrentfilter.h"
#include "base/utils/fs.h"
static QIcon getIconByState(BitTorrent::TorrentState state);

View File

@ -30,10 +30,8 @@
#include <QDateTime>
#include "base/bittorrent/session.h"
#include "base/bittorrent/torrenthandle.h"
#include "base/utils/fs.h"
#include "base/utils/string.h"
namespace
{

View File

@ -40,7 +40,6 @@
#include "base/global.h"
#include "base/net/geoipmanager.h"
#include "base/preferences.h"
#include "base/utils/fs.h"
#include "base/utils/string.h"
#include "apierror.h"
#include "freediskspacechecker.h"