summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qevent_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qevent_p.h')
-rw-r--r--src/gui/kernel/qevent_p.h25
1 files changed, 11 insertions, 14 deletions
diff --git a/src/gui/kernel/qevent_p.h b/src/gui/kernel/qevent_p.h
index 731cfc97f2..59eb270230 100644
--- a/src/gui/kernel/qevent_p.h
+++ b/src/gui/kernel/qevent_p.h
@@ -81,20 +81,6 @@ protected:
friend class QKeyEvent;
};
-// ### Qt 5: remove
-class QMouseEventEx : public QMouseEvent
-{
-public:
- QMouseEventEx(Type type, const QPointF &pos, const QPoint &globalPos,
- Qt::MouseButton button, Qt::MouseButtons buttons,
- Qt::KeyboardModifiers modifiers);
- ~QMouseEventEx();
-
-protected:
- QPointF posF;
- friend class QMouseEvent;
-};
-
class QTouchEventTouchPointPrivate
{
public:
@@ -167,6 +153,17 @@ public:
QScrollEvent::ScrollState state;
};
+class QScreenOrientationChangeEventPrivate
+{
+public:
+ inline QScreenOrientationChangeEventPrivate()
+ {
+ }
+ QScreenOrientationChangeEvent::Orientation orientation;
+ qint32 orientationInDegrees;
+ bool isValid;
+};
+
QT_END_NAMESPACE
#endif // QEVENT_P_H