Remove unnecessary friend declarations from qevent.h.

Change-Id: Iec35b94f3898004850a076d4760d675248246ea7
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
This commit is contained in:
Friedemann Kleint 2014-05-15 15:17:46 +02:00 committed by The Qt Project
parent 6a61a00ddb
commit b7275eee49

View File

@ -377,8 +377,6 @@ public:
inline const QRegion &region() const { return m_region; }
protected:
friend class QApplication;
friend class QCoreApplication;
QRect m_rect;
QRegion m_region;
bool m_erased;
@ -395,7 +393,6 @@ public:
protected:
QPoint p, oldp;
friend class QApplication;
friend class QCoreApplication;
};
class Q_GUI_EXPORT QExposeEvent : public QEvent
@ -421,7 +418,6 @@ public:
protected:
QSize s, olds;
friend class QApplication;
friend class QCoreApplication;
};
@ -601,7 +597,6 @@ public:
inline void ignore(const QRect & r) { ignore(); rect = r; }
protected:
friend class QApplication;
QRect rect;
};