Issue #126: Remove <QtCore> include from main headers

This commit is contained in:
Jakub Melka
2023-12-21 14:25:41 +01:00
parent e5e25a71a3
commit 9f624e5569
87 changed files with 171 additions and 72 deletions

View File

@ -24,11 +24,13 @@
#include "pdfpainter.h"
#include "pdftextlayout.h"
#include <QCache>
#include <QFuture>
#include <QFutureWatcher>
#include <QWaitCondition>
template <class Key, class T>
class QCache;
namespace pdf
{
class PDFDrawWidgetProxy;
@ -143,7 +145,7 @@ private:
PDFAsynchronousPageCompilerWorkerThread* m_thread = nullptr;
PDFDrawWidgetProxy* m_proxy;
QCache<PDFInteger, PDFPrecompiledPage> m_cache;
QCache<PDFInteger, PDFPrecompiledPage>* m_cache;
/// This task is protected by mutex. Every access to this
/// variable must be done with locked mutex.