1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 23:07:59 +00:00

Delete several unused #include

This commit is contained in:
thalieht 2018-06-17 10:24:31 +03:00
parent eb508d67ef
commit 456270bbb1
39 changed files with 0 additions and 57 deletions

View File

@ -33,7 +33,6 @@
#include <QAtomicInt> #include <QAtomicInt>
#include <QDebug> #include <QDebug>
#include <QFileInfo>
#include <QLibraryInfo> #include <QLibraryInfo>
#include <QLocale> #include <QLocale>
#include <QProcess> #include <QProcess>
@ -51,8 +50,6 @@
#endif // Q_OS_WIN #endif // Q_OS_WIN
#ifdef Q_OS_MAC #ifdef Q_OS_MAC
#include <QFileOpenEvent> #include <QFileOpenEvent>
#include <QFont>
#include <QUrl>
#endif // Q_OS_MAC #endif // Q_OS_MAC
#include "addnewtorrentdialog.h" #include "addnewtorrentdialog.h"
#include "gui/guiiconprovider.h" #include "gui/guiiconprovider.h"

View File

@ -35,7 +35,6 @@
#include <string> #include <string>
#include <QCoreApplication> #include <QCoreApplication>
#include <QDateTime>
#include <QDebug> #include <QDebug>
#include <QDir> #include <QDir>
#include <QHostAddress> #include <QHostAddress>

View File

@ -30,7 +30,6 @@
#include <QDebug> #include <QDebug>
#include <QRegularExpression> #include <QRegularExpression>
#include <QStringList>
#include <QUrlQuery> #include <QUrlQuery>
#include "base/logger.h" #include "base/logger.h"

View File

@ -29,7 +29,6 @@
#include <QDateTime> #include <QDateTime>
#include <QDebug> #include <QDebug>
#include <QFile> #include <QFile>
#include <QHash>
#include <QHostAddress> #include <QHostAddress>
#include <QVariant> #include <QVariant>

View File

@ -34,12 +34,9 @@
#include <QCryptographicHash> #include <QCryptographicHash>
#include <QDebug> #include <QDebug>
#include <QHostAddress>
#include <QHostInfo> #include <QHostInfo>
#include <QNetworkInterface>
#include <QStringList> #include <QStringList>
#include <QTextCodec> #include <QTextCodec>
#include <QTextStream>
#ifndef QT_NO_OPENSSL #ifndef QT_NO_OPENSSL
#include <QSslSocket> #include <QSslSocket>
#else #else

View File

@ -46,7 +46,6 @@ class QSslSocket;
class QTcpSocket; class QTcpSocket;
#endif #endif
class QTextCodec; class QTextCodec;
class QTextStream;
namespace Net namespace Net
{ {

View File

@ -33,7 +33,6 @@
#include <QDir> #include <QDir>
#include <QLocale> #include <QLocale>
#include <QMutableListIterator> #include <QMutableListIterator>
#include <QPair>
#include <QSettings> #include <QSettings>
#ifndef DISABLE_GUI #ifndef DISABLE_GUI

View File

@ -30,7 +30,6 @@
#include "rss_feed.h" #include "rss_feed.h"
#include <QCryptographicHash>
#include <QDebug> #include <QDebug>
#include <QDir> #include <QDir>
#include <QJsonArray> #include <QJsonArray>

View File

@ -65,7 +65,6 @@
#include <QHash> #include <QHash>
#include <QObject> #include <QObject>
#include <QPointer> #include <QPointer>
#include <QStringList>
#include <QTimer> #include <QTimer>
class QThread; class QThread;

View File

@ -32,7 +32,6 @@
#include <memory> #include <memory>
#include <QFile> #include <QFile>
#include <QHash> #include <QHash>
#include <QStringList>
#include "logger.h" #include "logger.h"
#include "profile.h" #include "profile.h"

View File

@ -45,9 +45,7 @@
#endif #endif
#include <QByteArray> #include <QByteArray>
#include <QDateTime>
#include <QDebug> #include <QDebug>
#include <QDir>
#include <QFileInfo> #include <QFileInfo>
#include <QProcess> #include <QProcess>
#include <QRegularExpression> #include <QRegularExpression>

View File

@ -40,7 +40,6 @@
#endif #endif
#include <QDir> #include <QDir>
#include <QFile>
#include <QPoint> #include <QPoint>
#include <QSize> #include <QSize>
#include <QString> #include <QString>

View File

@ -30,7 +30,6 @@
#include <QHostAddress> #include <QHostAddress>
#include <QString> #include <QString>
#include <QStringList>
namespace Utils namespace Utils
{ {

View File

@ -34,7 +34,6 @@
class QHostAddress; class QHostAddress;
class QString; class QString;
class QStringList;
namespace Utils namespace Utils
{ {

View File

@ -34,7 +34,6 @@
#include <QDebug> #include <QDebug>
#include <QString> #include <QString>
#include <QStringList>
namespace Utils namespace Utils
{ {

View File

@ -30,7 +30,6 @@
#include <QDebug> #include <QDebug>
#include <QFile> #include <QFile>
#include <QFileDialog>
#include <QMenu> #include <QMenu>
#include <QPushButton> #include <QPushButton>
#include <QString> #include <QString>

View File

@ -32,7 +32,6 @@
#include <QDialog> #include <QDialog>
#include <QScopedPointer> #include <QScopedPointer>
#include <QShortcut> #include <QShortcut>
#include <QUrl>
#include "base/bittorrent/addtorrentparams.h" #include "base/bittorrent/addtorrentparams.h"
#include "base/bittorrent/infohash.h" #include "base/bittorrent/infohash.h"

View File

@ -30,7 +30,6 @@
#define CATEGORYFILTERMODEL_H #define CATEGORYFILTERMODEL_H
#include <QAbstractItemModel> #include <QAbstractItemModel>
#include <QHash>
#include <QModelIndex> #include <QModelIndex>
namespace BitTorrent namespace BitTorrent

View File

@ -30,9 +30,7 @@
#include <QAction> #include <QAction>
#include <QHeaderView> #include <QHeaderView>
#include <QLayout>
#include <QMenu> #include <QMenu>
#include <QMessageBox>
#include "base/bittorrent/session.h" #include "base/bittorrent/session.h"
#include "base/global.h" #include "base/global.h"

View File

@ -30,8 +30,6 @@
#include <QColor> #include <QColor>
#include <QDateTime> #include <QDateTime>
#include <QLabel>
#include <QListWidgetItem>
#include <QPalette> #include <QPalette>
#include "guiiconprovider.h" #include "guiiconprovider.h"

View File

@ -33,7 +33,6 @@
#include <QComboBox> #include <QComboBox>
#include <QCompleter> #include <QCompleter>
#include <QContextMenuEvent> #include <QContextMenuEvent>
#include <QDir>
#include <QFileIconProvider> #include <QFileIconProvider>
#include <QFileSystemModel> #include <QFileSystemModel>
#include <QKeyEvent> #include <QKeyEvent>

View File

@ -28,9 +28,7 @@
#include "ipsubnetwhitelistoptionsdialog.h" #include "ipsubnetwhitelistoptionsdialog.h"
#include <QHostAddress>
#include <QMessageBox> #include <QMessageBox>
#include <QPair>
#include <QSortFilterProxyModel> #include <QSortFilterProxyModel>
#include <QStringListModel> #include <QStringListModel>

View File

@ -38,7 +38,6 @@
class QCloseEvent; class QCloseEvent;
class QFileSystemWatcher; class QFileSystemWatcher;
class QShortcut;
class QSplitter; class QSplitter;
class QTabWidget; class QTabWidget;
class QTimer; class QTimer;

View File

@ -30,7 +30,6 @@
#define PREVIEWSELECTDIALOG_H #define PREVIEWSELECTDIALOG_H
#include <QDialog> #include <QDialog>
#include <QList>
#include "base/bittorrent/torrenthandle.h" #include "base/bittorrent/torrenthandle.h"
#include "base/settingvalue.h" #include "base/settingvalue.h"

View File

@ -30,7 +30,6 @@
#define PEERLISTSORTMODEL_H #define PEERLISTSORTMODEL_H
#include <QSortFilterProxyModel> #include <QSortFilterProxyModel>
#include <QStringList>
#include "peerlistdelegate.h" #include "peerlistdelegate.h"

View File

@ -29,9 +29,7 @@
#include "propertieswidget.h" #include "propertieswidget.h"
#include <QAction> #include <QAction>
#include <QBitArray>
#include <QDebug> #include <QDebug>
#include <QFileDialog>
#include <QHeaderView> #include <QHeaderView>
#include <QListWidgetItem> #include <QListWidgetItem>
#include <QMenu> #include <QMenu>
@ -39,7 +37,6 @@
#include <QStackedWidget> #include <QStackedWidget>
#include <QThread> #include <QThread>
#include <QTimer> #include <QTimer>
#include <QVBoxLayout>
#include "base/bittorrent/session.h" #include "base/bittorrent/session.h"
#include "base/preferences.h" #include "base/preferences.h"

View File

@ -33,7 +33,6 @@
#include <QLabel> #include <QLabel>
#include <QMenu> #include <QMenu>
#include <QSignalMapper> #include <QSignalMapper>
#include <QThread>
#include <QTimer> #include <QTimer>
#include <libtorrent/session_status.hpp> #include <libtorrent/session_status.hpp>

View File

@ -31,7 +31,6 @@
#include <QBuffer> #include <QBuffer>
#include <QMessageBox> #include <QMessageBox>
#include <QStringList> #include <QStringList>
#include <QUrl>
#include "base/bittorrent/torrenthandle.h" #include "base/bittorrent/torrenthandle.h"
#include "base/bittorrent/trackerentry.h" #include "base/bittorrent/trackerentry.h"

View File

@ -36,7 +36,6 @@
#include <QMessageBox> #include <QMessageBox>
#include <QPair> #include <QPair>
#include <QRegularExpression> #include <QRegularExpression>
#include <QSet>
#include <QShortcut> #include <QShortcut>
#include <QSignalBlocker> #include <QSignalBlocker>
#include <QString> #include <QString>

View File

@ -31,8 +31,6 @@
#include <QComboBox> #include <QComboBox>
#include <QDebug> #include <QDebug>
#include <QFileDialog> #include <QFileDialog>
#include <QItemSelectionModel>
#include <QPainter>
#include <QTreeView> #include <QTreeView>
#include "base/bittorrent/session.h" #include "base/bittorrent/session.h"

View File

@ -32,16 +32,13 @@
#include <QApplication> #include <QApplication>
#include <QClipboard> #include <QClipboard>
#include <QDesktopServices> #include <QDesktopServices>
#include <QDir>
#include <QHeaderView> #include <QHeaderView>
#include <QLabel>
#include <QMenu> #include <QMenu>
#include <QPalette> #include <QPalette>
#include <QSortFilterProxyModel> #include <QSortFilterProxyModel>
#include <QStandardItemModel> #include <QStandardItemModel>
#include <QTableView> #include <QTableView>
#include <QTreeView> #include <QTreeView>
#include <QVBoxLayout>
#include "base/bittorrent/session.h" #include "base/bittorrent/session.h"
#include "base/preferences.h" #include "base/preferences.h"

View File

@ -35,11 +35,9 @@
#define URL_COLUMN 5 #define URL_COLUMN 5
class QHeaderView; class QHeaderView;
class QLabel;
class QModelIndex; class QModelIndex;
class QStandardItem; class QStandardItem;
class QStandardItemModel; class QStandardItemModel;
class QVBoxLayout;
template <typename T> class CachedSettingValue; template <typename T> class CachedSettingValue;

View File

@ -36,10 +36,7 @@
#endif #endif
#include <QDebug> #include <QDebug>
#include <QDir>
#include <QFileDialog>
#include <QHeaderView> #include <QHeaderView>
#include <QMenu>
#include <QMessageBox> #include <QMessageBox>
#include <QMimeData> #include <QMimeData>
#include <QProcess> #include <QProcess>
@ -47,9 +44,7 @@
#include <QSignalMapper> #include <QSignalMapper>
#include <QSortFilterProxyModel> #include <QSortFilterProxyModel>
#include <QStandardItemModel> #include <QStandardItemModel>
#include <QSystemTrayIcon>
#include <QTextStream> #include <QTextStream>
#include <QTimer>
#include <QTreeView> #include <QTreeView>
#include "base/bittorrent/session.h" #include "base/bittorrent/session.h"

View File

@ -30,7 +30,6 @@
#define SPEEDLIMITDIALOG_H #define SPEEDLIMITDIALOG_H
#include <QDialog> #include <QDialog>
#include <QList>
#include "base/bittorrent/session.h" #include "base/bittorrent/session.h"
#include "base/utils/misc.h" #include "base/utils/misc.h"

View File

@ -29,7 +29,6 @@
#include "tagfiltermodel.h" #include "tagfiltermodel.h"
#include <QDebug> #include <QDebug>
#include <QHash>
#include <QIcon> #include <QIcon>
#include "base/bittorrent/session.h" #include "base/bittorrent/session.h"

View File

@ -30,7 +30,6 @@
#define TAGFILTERMODEL_H #define TAGFILTERMODEL_H
#include <QAbstractListModel> #include <QAbstractListModel>
#include <QHash>
#include <QModelIndex> #include <QModelIndex>
#include <QSet> #include <QSet>
#include <QVector> #include <QVector>

View File

@ -31,7 +31,6 @@
#include <QAction> #include <QAction>
#include <QDebug> #include <QDebug>
#include <QHeaderView> #include <QHeaderView>
#include <QLayout>
#include <QMenu> #include <QMenu>
#include <QMessageBox> #include <QMessageBox>

View File

@ -33,7 +33,6 @@
#include <QIcon> #include <QIcon>
#include <QListWidgetItem> #include <QListWidgetItem>
#include <QMenu> #include <QMenu>
#include <QMessageBox>
#include <QScrollArea> #include <QScrollArea>
#include <QUrl> #include <QUrl>
#include <QVBoxLayout> #include <QVBoxLayout>

View File

@ -43,7 +43,6 @@
#include <QMimeDatabase> #include <QMimeDatabase>
#include <QMimeType> #include <QMimeType>
#include <QRegExp> #include <QRegExp>
#include <QTimer>
#include <QUrl> #include <QUrl>
#include "base/global.h" #include "base/global.h"