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 @@
#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"

7
src/gui/mainwindow.h

@ -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;

2
src/gui/transferlistfilterswidget.cpp

@ -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"

5
src/gui/transferlistfilterswidget.h

@ -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

1
src/gui/transferlistwidget.cpp

@ -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"

4
src/gui/transferlistwidget.h

@ -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

Loading…
Cancel
Save