mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 20:58:07 -06:00
Use Qt provided forward declaration header
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "bytearray.h"
|
||||
|
||||
#include <QByteArray>
|
||||
#include <QVector>
|
||||
|
||||
QVector<QByteArray> Utils::ByteArray::splitToViews(const QByteArray &in, const QByteArray &sep, const QString::SplitBehavior behavior)
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
#include <QVector>
|
||||
#include <QtContainerFwd>
|
||||
|
||||
class QByteArray;
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
#include <QRegularExpression>
|
||||
#include <QSet>
|
||||
#include <QSysInfo>
|
||||
#include <QVector>
|
||||
|
||||
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MACOS)) && defined(QT_DBUS_LIB)
|
||||
#include <QDBusInterface>
|
||||
|
||||
@@ -28,10 +28,13 @@
|
||||
|
||||
#include "net.h"
|
||||
|
||||
#include <QList>
|
||||
#include <QNetworkInterface>
|
||||
#include <QPair>
|
||||
#include <QSslCertificate>
|
||||
#include <QSslKey>
|
||||
#include <QString>
|
||||
#include <QVector>
|
||||
|
||||
namespace Utils
|
||||
{
|
||||
|
||||
@@ -30,9 +30,7 @@
|
||||
#define BASE_UTILS_NET_H
|
||||
|
||||
#include <QHostAddress>
|
||||
#include <QList>
|
||||
#include <QPair>
|
||||
#include <QVector>
|
||||
#include <QtContainerFwd>
|
||||
|
||||
class QSslCertificate;
|
||||
class QSslKey;
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
|
||||
#include <QByteArray>
|
||||
#include <QString>
|
||||
#include <QVector>
|
||||
|
||||
#include "bytearray.h"
|
||||
#include "random.h"
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include <QLocale>
|
||||
#include <QRegExp>
|
||||
#include <QtGlobal>
|
||||
#include <QVector>
|
||||
|
||||
#if defined(Q_OS_MACOS) || defined(__MINGW32__)
|
||||
#define QBT_USES_QTHREADSTORAGE
|
||||
|
||||
@@ -31,9 +31,10 @@
|
||||
#define UTILS_STRING_H
|
||||
|
||||
#include <QChar>
|
||||
#include <QVector>
|
||||
#include <QString>
|
||||
#include <Qt>
|
||||
#include <QtContainerFwd>
|
||||
|
||||
class QString;
|
||||
class QStringRef;
|
||||
|
||||
class TriStateBool;
|
||||
|
||||
Reference in New Issue
Block a user