Use complete types in container declarations

Qt 6 disallows to use incomplete types in container declarations
in some cases, e.g. in parameters of signals/slots.
This commit is contained in:
Vladimir Golovnev (Glassez) 2021-03-17 15:50:40 +03:00
parent 9f386afe9c
commit 09da6828b8
4 changed files with 2 additions and 4 deletions

View file

@ -100,7 +100,6 @@
#include "statistics.h"
#include "torrentimpl.h"
#include "tracker.h"
#include "trackerentry.h"
static const char PEER_ID[] = "qB";
static const char RESUME_FOLDER[] = "BT_backup";

View file

@ -50,6 +50,7 @@
#include "cachestatus.h"
#include "sessionstatus.h"
#include "torrentinfo.h"
#include "trackerentry.h"
class QFile;
class QNetworkConfiguration;
@ -100,7 +101,6 @@ namespace BitTorrent
class TorrentImpl;
class Tracker;
struct LoadTorrentParams;
struct TrackerEntry;
enum class MoveStorageMode;

View file

@ -28,7 +28,6 @@
#include "reverseresolution.h"
#include <QHostAddress>
#include <QHostInfo>
#include <QString>

View file

@ -29,9 +29,9 @@
#pragma once
#include <QCache>
#include <QHostAddress>
#include <QObject>
class QHostAddress;
class QHostInfo;
class QString;