mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 21:28:07 -06:00
Forward declare some classes
This commit is contained in:
@@ -42,11 +42,6 @@ class PeerListDelegate;
|
||||
class PeerListSortModel;
|
||||
class PropertiesWidget;
|
||||
|
||||
namespace Net
|
||||
{
|
||||
class ReverseResolution;
|
||||
}
|
||||
|
||||
namespace BitTorrent
|
||||
{
|
||||
class TorrentHandle;
|
||||
@@ -54,6 +49,11 @@ namespace BitTorrent
|
||||
struct PeerAddress;
|
||||
}
|
||||
|
||||
namespace Net
|
||||
{
|
||||
class ReverseResolution;
|
||||
}
|
||||
|
||||
class PeerListWidget : public QTreeView
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
|
||||
#include "base/bittorrent/downloadpriority.h"
|
||||
#include "base/bittorrent/session.h"
|
||||
#include "base/bittorrent/torrenthandle.h"
|
||||
#include "base/preferences.h"
|
||||
#include "base/unicodestrings.h"
|
||||
#include "base/utils/fs.h"
|
||||
|
||||
@@ -32,8 +32,6 @@
|
||||
#include <QList>
|
||||
#include <QWidget>
|
||||
|
||||
#include "base/bittorrent/torrenthandle.h"
|
||||
|
||||
class QPushButton;
|
||||
class QTreeView;
|
||||
|
||||
@@ -46,6 +44,11 @@ class PropTabBar;
|
||||
class TorrentContentFilterModel;
|
||||
class TrackerListWidget;
|
||||
|
||||
namespace BitTorrent
|
||||
{
|
||||
class TorrentHandle;
|
||||
}
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class PropertiesWidget;
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
#endif
|
||||
|
||||
#include "base/bittorrent/downloadpriority.h"
|
||||
#include "base/bittorrent/torrenthandle.h"
|
||||
#include "base/unicodestrings.h"
|
||||
#include "base/utils/misc.h"
|
||||
#include "base/utils/string.h"
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
#include "base/bittorrent/sessionstatus.h"
|
||||
#include "base/preferences.h"
|
||||
#include "propertieswidget.h"
|
||||
#include "speedplotview.h"
|
||||
|
||||
ComboBoxMenuButton::ComboBoxMenuButton(QWidget *parent, QMenu *menu)
|
||||
: QComboBox(parent)
|
||||
|
||||
@@ -32,14 +32,13 @@
|
||||
#include <QComboBox>
|
||||
#include <QWidget>
|
||||
|
||||
#include "speedplotview.h"
|
||||
|
||||
class QHBoxLayout;
|
||||
class QLabel;
|
||||
class QMenu;
|
||||
class QVBoxLayout;
|
||||
|
||||
class PropertiesWidget;
|
||||
class SpeedPlotView;
|
||||
|
||||
class ComboBoxMenuButton : public QComboBox
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user