mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 06:02:29 -06:00
Move to separate headers
Hopefully this can speed up compilation times. https://doc.qt.io/qt-6/qtglobal.html#details PR #19430.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtClassHelperMacros>
|
||||
|
||||
#include "interfaces/iapplication.h"
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QCoreApplication>
|
||||
|
||||
#include "base/pathfwd.h"
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtTypes>
|
||||
|
||||
namespace BitTorrent
|
||||
{
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include <libtorrent/info_hash.hpp>
|
||||
#endif
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QMetaType>
|
||||
|
||||
#include "base/digest32.h"
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtTypes>
|
||||
#include <QHostAddress>
|
||||
|
||||
class QString;
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtTypes>
|
||||
|
||||
namespace BitTorrent
|
||||
{
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <boost/circular_buffer.hpp>
|
||||
#endif
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtTypes>
|
||||
|
||||
template<typename T>
|
||||
struct Sample
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtContainerFwd>
|
||||
#include <QtTypes>
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
#include <libtorrent/entry.hpp>
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtTypes>
|
||||
#include <QHash>
|
||||
#include <QObject>
|
||||
#include <QSet>
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include <libtorrent/socket.hpp>
|
||||
|
||||
#include <QtContainerFwd>
|
||||
#include <QtGlobal>
|
||||
#include <QHash>
|
||||
#include <QMap>
|
||||
#include <QString>
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
|
||||
#include <libtorrent/sha1_hash.hpp>
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QByteArray>
|
||||
#include <QHash>
|
||||
#include <QSharedData>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtProcessorDetection>
|
||||
|
||||
#include <QString>
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtAssert>
|
||||
|
||||
// Interval is defined via [first;last]
|
||||
template <typename Index>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtSystemDetection>
|
||||
#include <QMetaObject>
|
||||
|
||||
class QString;
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtTypes>
|
||||
#include <QHash>
|
||||
#include <QNetworkProxy>
|
||||
#include <QObject>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtTypes>
|
||||
#include <QCoreApplication>
|
||||
#include <QDateTime>
|
||||
#include <QHash>
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
|
||||
#include <filesystem>
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
@@ -39,6 +38,8 @@
|
||||
|
||||
#include "base/interfaces/istringable.h"
|
||||
|
||||
class QStringView;
|
||||
|
||||
class Path final : public IStringable
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <QtContainerFwd>
|
||||
#include <QtGlobal>
|
||||
#include <QtSystemDetection>
|
||||
#include <QObject>
|
||||
|
||||
#include "base/pathfwd.h"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
#include <chrono>
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtAssert>
|
||||
#include <QDir>
|
||||
#include <QDirIterator>
|
||||
#include <QFile>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <Qt>
|
||||
#include <QtGlobal>
|
||||
#include <QtSystemDetection>
|
||||
|
||||
#if !defined(Q_OS_WIN) && (!defined(Q_OS_UNIX) || defined(Q_OS_MACOS) || defined(QT_FEATURE_icu))
|
||||
#define QBT_USE_QCOLLATOR
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtAssert>
|
||||
#include <QByteArray>
|
||||
|
||||
#ifndef ZLIB_CONST
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtSystemDetection>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include <Windows.h>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#include <random>
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtSystemDetection>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include <Windows.h>
|
||||
|
||||
Reference in New Issue
Block a user