Remove <QtCore> include

This commit is contained in:
Jakub Melka 2023-12-21 11:02:55 +01:00
parent c79a029c2f
commit e5e25a71a3
27 changed files with 37 additions and 17 deletions

View File

@ -23,8 +23,6 @@
#include "pdfdrawspacecontroller.h"
#include "pdfdocumentdrawinterface.h"
#include <QtCore>
namespace pdf
{
class PDFDocumentBuilder;

View File

@ -16,6 +16,7 @@
# along with PDF4QT. If not, see <https://www.gnu.org/licenses/>.
add_library(Pdf4QtLibCore SHARED
sources/pdfglobal.h
sources/pdfaction.cpp
sources/pdfaction.h
sources/pdfalgorithmlcs.cpp

View File

@ -24,8 +24,6 @@
#include "pdfoutline.h"
#include "pdfaction.h"
#include <QtCore>
#include <array>
#include <vector>
#include <utility>

View File

@ -20,6 +20,9 @@
#include "pdfexecutionpolicy.h"
#include "pdfdbgheap.h"
#include <QDir>
#include <QFile>
#include <QBuffer>
#include <QCoreApplication>
#include <QReadWriteLock>

View File

@ -23,7 +23,6 @@
#include "pdfcatalog.h"
#include "pdfsecurityhandler.h"
#include <QtCore>
#include <QColor>
#include <QTransform>
#include <QDateTime>

View File

@ -22,6 +22,7 @@
#include "pdfdocument.h"
#include "pdfannotation.h"
class QBuffer;
class QPdfWriter;
namespace pdf

View File

@ -24,7 +24,7 @@
#include "pdfprogress.h"
#include "pdfxreftable.h"
#include <QtCore>
#include <QMutex>
#include <QIODevice>
namespace pdf

View File

@ -22,6 +22,7 @@
#include "pdfdbgheap.h"
#include <QFile>
#include <QBuffer>
#include <QSaveFile>
namespace pdf

View File

@ -30,6 +30,7 @@
#include <freetype/ftoutln.h>
#include <freetype/t1tables.h>
#include <QFile>
#include <QMutex>
#include <QReadWriteLock>
#include <QPainterPath>

View File

@ -23,6 +23,7 @@
#include "pdfobject.h"
#include <QFont>
#include <QMutex>
#include <QTransform>
#include <QSharedPointer>

View File

@ -23,6 +23,8 @@
#include "pdfutils.h"
#include "pdfdbgheap.h"
#include <QIODevice>
#include <stack>
#include <iterator>
#include <type_traits>

View File

@ -19,7 +19,9 @@
#define PDFGLOBAL_H
#include <QtCore>
#include <QtGlobal>
#include <QtSystemDetection>
#include <QtCompilerDetection>
#include <QCoreApplication>
#include <limits>
#include <tuple>

View File

@ -18,6 +18,8 @@
#include "pdficontheme.h"
#include "pdfdbgheap.h"
#include <QDir>
#include <QFile>
#include <QCoreApplication>
namespace pdf

View File

@ -20,8 +20,6 @@
#include "pdfobject.h"
#include <QtCore>
#include <set>
#include <vector>
#include <atomic>

View File

@ -21,6 +21,7 @@
#include "pdfobject.h"
#include <QRectF>
#include <QDateTime>
#include <set>
#include <optional>

View File

@ -23,6 +23,7 @@
#include <QFile>
#include <QThread>
#include <QMetaEnum>
#include <cctype>
#include <memory>

View File

@ -23,7 +23,6 @@
#include "pdfobject.h"
#include "pdfflatmap.h"
#include <QtCore>
#include <QVariant>
#include <QByteArray>

View File

@ -24,6 +24,7 @@
#include "pdfconstants.h"
#include "pdfdbgheap.h"
#include <QMutex>
#include <QPainter>
#include <execution>

View File

@ -27,6 +27,8 @@
#include <map>
#include <functional>
class QRandomGenerator;
namespace pdf
{
class PDFObjectFactory;

View File

@ -40,10 +40,13 @@
#include <openssl/ts.h>
#include <openssl/tserr.h>
#include <QDir>
#include <QMutex>
#include <QMutexLocker>
#include <QDataStream>
#include <QFileInfo>
#include <QLockFile>
#include <QDataStream>
#include <QMutexLocker>
#include <QStandardPaths>
#include <array>
#ifdef Q_OS_UNIX

View File

@ -20,7 +20,11 @@
#include "pdfexecutionpolicy.h"
#include "pdfdbgheap.h"
#include <QMutex>
#include <QPainter>
#include <QIODevice>
#include <QMutexLocker>
#include <QRegularExpression>
#include <execution>

View File

@ -28,6 +28,8 @@
#include <set>
#include <compare>
class QMutex;
namespace pdf
{
class PDFTextLayout;

View File

@ -21,6 +21,7 @@
#include "pdffont.h"
#include "pdfdbgheap.h"
#include <QBuffer>
#include <QDomElement>
#include <QDomDocument>
#include <QStringList>

View File

@ -22,6 +22,8 @@
#include "pdfstreamfilters.h"
#include "pdfdbgheap.h"
#include <QIODevice>
#include <stack>
namespace pdf

View File

@ -21,8 +21,6 @@
#include "pdfglobal.h"
#include "pdfobject.h"
#include <QtCore>
#include <vector>
namespace pdf

View File

@ -18,6 +18,7 @@
#ifndef PDFCOMPILER_H
#define PDFCOMPILER_H
#include "pdfglobal.h"
#include "pdfwidgetsglobal.h"
#include "pdfrenderer.h"
#include "pdfpainter.h"

View File

@ -18,8 +18,7 @@
#ifndef PDFWIDGETSGLOBAL_H
#define PDFWIDGETSGLOBAL_H
#include <QtCore>
#include <QtGlobal>
#include <QtCompilerDetection>
#include <pdf4qtlibwidgets_export.h>
@ -31,5 +30,4 @@
#endif
#endif
#endif // PDFWIDGETSGLOBAL_H