mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 08:27:24 -06:00
Forward declare as much as possible
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "optionsdialog.h"
|
||||
|
||||
#include <cstdlib>
|
||||
#include <limits>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QCloseEvent>
|
||||
@@ -62,8 +63,8 @@
|
||||
#include "advancedsettings.h"
|
||||
#include "app/application.h"
|
||||
#include "banlistoptionsdialog.h"
|
||||
#include "ipsubnetwhitelistoptionsdialog.h"
|
||||
#include "guiiconprovider.h"
|
||||
#include "ipsubnetwhitelistoptionsdialog.h"
|
||||
#include "rss/automatedrssdownloader.h"
|
||||
#include "scanfoldersdelegate.h"
|
||||
#include "ui_optionsdialog.h"
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#ifndef OPTIONSDIALOG_H
|
||||
#define OPTIONSDIALOG_H
|
||||
|
||||
#include <QButtonGroup>
|
||||
#include <QDialog>
|
||||
|
||||
class QAbstractButton;
|
||||
|
||||
@@ -29,12 +29,14 @@
|
||||
#include "propertieswidget.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QDateTime>
|
||||
#include <QDebug>
|
||||
#include <QDir>
|
||||
#include <QHeaderView>
|
||||
#include <QListWidgetItem>
|
||||
#include <QMenu>
|
||||
#include <QSplitter>
|
||||
#include <QShortcut>
|
||||
#include <QStackedWidget>
|
||||
#include <QThread>
|
||||
#include <QUrl>
|
||||
|
||||
@@ -29,14 +29,13 @@
|
||||
#ifndef PROPERTIESWIDGET_H
|
||||
#define PROPERTIESWIDGET_H
|
||||
|
||||
#include <QShortcut>
|
||||
#include <QList>
|
||||
#include <QWidget>
|
||||
|
||||
#include "base/bittorrent/torrenthandle.h"
|
||||
|
||||
class QAction;
|
||||
class QPushButton;
|
||||
class QTimer;
|
||||
class QShortcut;
|
||||
class QTreeView;
|
||||
|
||||
class DownloadedPiecesBar;
|
||||
@@ -45,8 +44,6 @@ class PeerListWidget;
|
||||
class PieceAvailabilityBar;
|
||||
class PropListDelegate;
|
||||
class PropTabBar;
|
||||
class SpeedWidget;
|
||||
class torrent_file;
|
||||
class TorrentContentFilterModel;
|
||||
class TrackerListWidget;
|
||||
|
||||
|
||||
@@ -28,13 +28,12 @@
|
||||
|
||||
#include "speedwidget.h"
|
||||
|
||||
#include <QVBoxLayout>
|
||||
#include <QDateTime>
|
||||
#include <QHBoxLayout>
|
||||
#include <QLabel>
|
||||
#include <QMenu>
|
||||
#include <QTimer>
|
||||
|
||||
#include <libtorrent/session_status.hpp>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
#include "base/bittorrent/session.h"
|
||||
#include "base/bittorrent/sessionstatus.h"
|
||||
|
||||
@@ -34,10 +34,10 @@
|
||||
|
||||
#include "speedplotview.h"
|
||||
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QLabel;
|
||||
class QMenu;
|
||||
class QVBoxLayout;
|
||||
class PropertiesWidget;
|
||||
|
||||
class ComboBoxMenuButton : public QComboBox
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "transferlistdelegate.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QDateTime>
|
||||
#include <QModelIndex>
|
||||
#include <QPainter>
|
||||
#include <QStyleOptionViewItem>
|
||||
@@ -37,7 +38,6 @@
|
||||
#include <QProxyStyle>
|
||||
#endif
|
||||
|
||||
#include "base/bittorrent/session.h"
|
||||
#include "base/bittorrent/torrenthandle.h"
|
||||
#include "base/preferences.h"
|
||||
#include "base/types.h"
|
||||
|
||||
Reference in New Issue
Block a user