qevent.h: don't include <QPointer>, fwd-declare it
The header uses QPointer in-name-only, so it doesn't need to include the class' header file. A forward-declaration suffices. [ChangeLog][Potentially Source-Incompatible Changes] The headers qevent.h and qfuture.h no longer include the header qpointer.h. Change-Id: I8d3c3b56f5928a0745a523abf5df3b8106dc15ee Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
parent
3aa6f0b396
commit
381d6210c2
@ -14,7 +14,6 @@
|
||||
#include <QtCore/qiodevice.h>
|
||||
#include <QtCore/qlist.h>
|
||||
#include <QtCore/qnamespace.h>
|
||||
#include <QtCore/qpointer.h>
|
||||
#include <QtCore/qstring.h>
|
||||
#include <QtCore/qurl.h>
|
||||
#include <QtCore/qvariant.h>
|
||||
@ -34,6 +33,7 @@ QT_BEGIN_NAMESPACE
|
||||
class QFile;
|
||||
class QAction;
|
||||
class QMouseEvent;
|
||||
template <typename T> class QPointer;
|
||||
class QPointerEvent;
|
||||
class QScreen;
|
||||
#if QT_CONFIG(shortcut)
|
||||
|
Loading…
Reference in New Issue
Block a user