1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 15:27:54 +00:00

Make complete type declarations available where needed

This commit is contained in:
Vladimir Golovnev (glassez) 2021-07-24 15:37:11 +03:00 committed by Vladimir Golovnev (Glassez)
parent 86b1ac5d7c
commit add75fbc77
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
6 changed files with 8 additions and 12 deletions

View File

@ -55,7 +55,6 @@
#include "base/bittorrent/session.h" #include "base/bittorrent/session.h"
#include "base/bittorrent/sessionstatus.h" #include "base/bittorrent/sessionstatus.h"
#include "base/bittorrent/torrent.h"
#include "base/global.h" #include "base/global.h"
#include "base/logger.h" #include "base/logger.h"
#include "base/net/downloadmanager.h" #include "base/net/downloadmanager.h"

View File

@ -35,6 +35,8 @@
#include <QSystemTrayIcon> #include <QSystemTrayIcon>
#endif #endif
#include "base/bittorrent/torrent.h"
class QCloseEvent; class QCloseEvent;
class QFileSystemWatcher; class QFileSystemWatcher;
class QSplitter; class QSplitter;
@ -57,11 +59,6 @@ class TorrentCreatorDialog;
class TransferListFiltersWidget; class TransferListFiltersWidget;
class TransferListWidget; class TransferListWidget;
namespace BitTorrent
{
class Torrent;
}
namespace Net namespace Net
{ {
struct DownloadResult; struct DownloadResult;

View File

@ -38,10 +38,8 @@
#include <QUrl> #include <QUrl>
#include <QVBoxLayout> #include <QVBoxLayout>
#include "base/bittorrent/infohash.h"
#include "base/bittorrent/session.h" #include "base/bittorrent/session.h"
#include "base/bittorrent/torrent.h" #include "base/bittorrent/torrent.h"
#include "base/bittorrent/trackerentry.h"
#include "base/global.h" #include "base/global.h"
#include "base/logger.h" #include "base/logger.h"
#include "base/net/downloadmanager.h" #include "base/net/downloadmanager.h"

View File

@ -32,6 +32,9 @@
#include <QListWidget> #include <QListWidget>
#include <QtContainerFwd> #include <QtContainerFwd>
#include "base/bittorrent/infohash.h"
#include "base/bittorrent/trackerentry.h"
class QCheckBox; class QCheckBox;
class QResizeEvent; class QResizeEvent;
@ -40,8 +43,6 @@ class TransferListWidget;
namespace BitTorrent namespace BitTorrent
{ {
class Torrent; class Torrent;
class TorrentID;
struct TrackerEntry;
} }
namespace Net namespace Net

View File

@ -44,7 +44,6 @@
#include <QWheelEvent> #include <QWheelEvent>
#include "base/bittorrent/common.h" #include "base/bittorrent/common.h"
#include "base/bittorrent/infohash.h"
#include "base/bittorrent/session.h" #include "base/bittorrent/session.h"
#include "base/bittorrent/torrent.h" #include "base/bittorrent/torrent.h"
#include "base/bittorrent/trackerentry.h" #include "base/bittorrent/trackerentry.h"

View File

@ -29,9 +29,12 @@
#pragma once #pragma once
#include <functional> #include <functional>
#include <QtContainerFwd> #include <QtContainerFwd>
#include <QTreeView> #include <QTreeView>
#include "base/bittorrent/infohash.h"
class MainWindow; class MainWindow;
class TransferListModel; class TransferListModel;
class TransferListSortModel; class TransferListSortModel;
@ -39,7 +42,6 @@ class TransferListSortModel;
namespace BitTorrent namespace BitTorrent
{ {
class Torrent; class Torrent;
class TorrentID;
} }
enum class CopyInfohashPolicy enum class CopyInfohashPolicy