From 6c5645578aa390bbd67bf93740ba541cb2b22525 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 15 May 2014 15:01:21 +0200 Subject: Remove friends of QEvent. Introduce function to set the spontaneous flag to QCoreApplicationPrivate to solve a few cases. Change-Id: I7c1f1f3644defe00deea9cecb244ca258afd5b94 Reviewed-by: Thiago Macieira --- src/corelib/kernel/qcoreevent.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/corelib/kernel/qcoreevent.h') diff --git a/src/corelib/kernel/qcoreevent.h b/src/corelib/kernel/qcoreevent.h index a498afbb04..cd7689f842 100644 --- a/src/corelib/kernel/qcoreevent.h +++ b/src/corelib/kernel/qcoreevent.h @@ -318,16 +318,10 @@ private: friend class QCoreApplicationPrivate; friend class QThreadData; friend class QApplication; - friend class QApplicationPrivate; friend class QShortcutMap; friend class QGraphicsView; - friend class QGraphicsViewPrivate; friend class QGraphicsScene; friend class QGraphicsScenePrivate; - friend class QWidgetWindow; -#ifndef QT_NO_GESTURES - friend class QGestureManager; -#endif }; class Q_CORE_EXPORT QTimerEvent : public QEvent -- cgit v1.2.3