Refactor code

Remove forward declarations of Qt types.
Fix header include order.
This commit is contained in:
Chocobo1
2018-05-08 12:11:00 +08:00
parent 7242d68c4b
commit defba23d61
5 changed files with 28 additions and 30 deletions

View File

@@ -29,12 +29,14 @@
#ifndef BITTORRENT_TORRENTINFO_H
#define BITTORRENT_TORRENTINFO_H
#include <QCoreApplication>
#include <QtGlobal>
#include <libtorrent/torrent_info.hpp>
#include <libtorrent/version.hpp>
#include <QCoreApplication>
#include <QList>
#include <QtGlobal>
#include <QVector>
#include "base/indexrange.h"
class QString;
@@ -42,8 +44,6 @@ class QUrl;
class QDateTime;
class QStringList;
class QByteArray;
template<typename T> class QList;
template<typename T> class QVector;
namespace BitTorrent
{