Browse Source

Make complete type declarations available where needed

adaptive-webui-19844
Vladimir Golovnev (glassez) 3 years ago committed by Vladimir Golovnev (Glassez)
parent
commit
add75fbc77
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  1. 1
      src/gui/mainwindow.cpp
  2. 7
      src/gui/mainwindow.h
  3. 2
      src/gui/transferlistfilterswidget.cpp
  4. 5
      src/gui/transferlistfilterswidget.h
  5. 1
      src/gui/transferlistwidget.cpp
  6. 4
      src/gui/transferlistwidget.h

1
src/gui/mainwindow.cpp

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

7
src/gui/mainwindow.h

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

2
src/gui/transferlistfilterswidget.cpp

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

5
src/gui/transferlistfilterswidget.h

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

1
src/gui/transferlistwidget.cpp

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

4
src/gui/transferlistwidget.h

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

Loading…
Cancel
Save