equal
deleted
inserted
replaced
75 |
75 |
76 protected: |
76 protected: |
77 QGraphicsSceneEvent(QGraphicsSceneEventPrivate &dd, Type type = None); |
77 QGraphicsSceneEvent(QGraphicsSceneEventPrivate &dd, Type type = None); |
78 QScopedPointer<QGraphicsSceneEventPrivate> d_ptr; |
78 QScopedPointer<QGraphicsSceneEventPrivate> d_ptr; |
79 Q_DECLARE_PRIVATE(QGraphicsSceneEvent) |
79 Q_DECLARE_PRIVATE(QGraphicsSceneEvent) |
|
80 private: |
|
81 Q_DISABLE_COPY(QGraphicsSceneEvent) |
80 }; |
82 }; |
81 |
83 |
82 class QGraphicsSceneMouseEventPrivate; |
84 class QGraphicsSceneMouseEventPrivate; |
83 class Q_GUI_EXPORT QGraphicsSceneMouseEvent : public QGraphicsSceneEvent |
85 class Q_GUI_EXPORT QGraphicsSceneMouseEvent : public QGraphicsSceneEvent |
84 { |
86 { |
122 Qt::KeyboardModifiers modifiers() const; |
124 Qt::KeyboardModifiers modifiers() const; |
123 void setModifiers(Qt::KeyboardModifiers modifiers); |
125 void setModifiers(Qt::KeyboardModifiers modifiers); |
124 |
126 |
125 private: |
127 private: |
126 Q_DECLARE_PRIVATE(QGraphicsSceneMouseEvent) |
128 Q_DECLARE_PRIVATE(QGraphicsSceneMouseEvent) |
|
129 Q_DISABLE_COPY(QGraphicsSceneMouseEvent) |
127 }; |
130 }; |
128 |
131 |
129 class QGraphicsSceneWheelEventPrivate; |
132 class QGraphicsSceneWheelEventPrivate; |
130 class Q_GUI_EXPORT QGraphicsSceneWheelEvent : public QGraphicsSceneEvent |
133 class Q_GUI_EXPORT QGraphicsSceneWheelEvent : public QGraphicsSceneEvent |
131 { |
134 { |
154 Qt::Orientation orientation() const; |
157 Qt::Orientation orientation() const; |
155 void setOrientation(Qt::Orientation orientation); |
158 void setOrientation(Qt::Orientation orientation); |
156 |
159 |
157 private: |
160 private: |
158 Q_DECLARE_PRIVATE(QGraphicsSceneWheelEvent) |
161 Q_DECLARE_PRIVATE(QGraphicsSceneWheelEvent) |
|
162 Q_DISABLE_COPY(QGraphicsSceneWheelEvent) |
159 }; |
163 }; |
160 |
164 |
161 class QGraphicsSceneContextMenuEventPrivate; |
165 class QGraphicsSceneContextMenuEventPrivate; |
162 class Q_GUI_EXPORT QGraphicsSceneContextMenuEvent : public QGraphicsSceneEvent |
166 class Q_GUI_EXPORT QGraphicsSceneContextMenuEvent : public QGraphicsSceneEvent |
163 { |
167 { |
182 Reason reason() const; |
186 Reason reason() const; |
183 void setReason(Reason reason); |
187 void setReason(Reason reason); |
184 |
188 |
185 private: |
189 private: |
186 Q_DECLARE_PRIVATE(QGraphicsSceneContextMenuEvent) |
190 Q_DECLARE_PRIVATE(QGraphicsSceneContextMenuEvent) |
|
191 Q_DISABLE_COPY(QGraphicsSceneContextMenuEvent) |
187 }; |
192 }; |
188 |
193 |
189 class QGraphicsSceneHoverEventPrivate; |
194 class QGraphicsSceneHoverEventPrivate; |
190 class Q_GUI_EXPORT QGraphicsSceneHoverEvent : public QGraphicsSceneEvent |
195 class Q_GUI_EXPORT QGraphicsSceneHoverEvent : public QGraphicsSceneEvent |
191 { |
196 { |
214 Qt::KeyboardModifiers modifiers() const; |
219 Qt::KeyboardModifiers modifiers() const; |
215 void setModifiers(Qt::KeyboardModifiers modifiers); |
220 void setModifiers(Qt::KeyboardModifiers modifiers); |
216 |
221 |
217 private: |
222 private: |
218 Q_DECLARE_PRIVATE(QGraphicsSceneHoverEvent) |
223 Q_DECLARE_PRIVATE(QGraphicsSceneHoverEvent) |
|
224 Q_DISABLE_COPY(QGraphicsSceneHoverEvent) |
219 }; |
225 }; |
220 |
226 |
221 class QGraphicsSceneHelpEventPrivate; |
227 class QGraphicsSceneHelpEventPrivate; |
222 class Q_GUI_EXPORT QGraphicsSceneHelpEvent : public QGraphicsSceneEvent |
228 class Q_GUI_EXPORT QGraphicsSceneHelpEvent : public QGraphicsSceneEvent |
223 { |
229 { |
231 QPoint screenPos() const; |
237 QPoint screenPos() const; |
232 void setScreenPos(const QPoint &pos); |
238 void setScreenPos(const QPoint &pos); |
233 |
239 |
234 private: |
240 private: |
235 Q_DECLARE_PRIVATE(QGraphicsSceneHelpEvent) |
241 Q_DECLARE_PRIVATE(QGraphicsSceneHelpEvent) |
|
242 Q_DISABLE_COPY(QGraphicsSceneHelpEvent) |
236 }; |
243 }; |
237 |
244 |
238 class QGraphicsSceneDragDropEventPrivate; |
245 class QGraphicsSceneDragDropEventPrivate; |
239 class Q_GUI_EXPORT QGraphicsSceneDragDropEvent : public QGraphicsSceneEvent |
246 class Q_GUI_EXPORT QGraphicsSceneDragDropEvent : public QGraphicsSceneEvent |
240 { |
247 { |
273 const QMimeData *mimeData() const; |
280 const QMimeData *mimeData() const; |
274 void setMimeData(const QMimeData *data); |
281 void setMimeData(const QMimeData *data); |
275 |
282 |
276 private: |
283 private: |
277 Q_DECLARE_PRIVATE(QGraphicsSceneDragDropEvent) |
284 Q_DECLARE_PRIVATE(QGraphicsSceneDragDropEvent) |
|
285 Q_DISABLE_COPY(QGraphicsSceneDragDropEvent) |
278 }; |
286 }; |
279 |
287 |
280 class QGraphicsSceneResizeEventPrivate; |
288 class QGraphicsSceneResizeEventPrivate; |
281 class Q_GUI_EXPORT QGraphicsSceneResizeEvent : public QGraphicsSceneEvent |
289 class Q_GUI_EXPORT QGraphicsSceneResizeEvent : public QGraphicsSceneEvent |
282 { |
290 { |
283 Q_DECLARE_PRIVATE(QGraphicsSceneResizeEvent) |
291 Q_DECLARE_PRIVATE(QGraphicsSceneResizeEvent) |
|
292 Q_DISABLE_COPY(QGraphicsSceneResizeEvent) |
284 public: |
293 public: |
285 QGraphicsSceneResizeEvent(); |
294 QGraphicsSceneResizeEvent(); |
286 ~QGraphicsSceneResizeEvent(); |
295 ~QGraphicsSceneResizeEvent(); |
287 |
296 |
288 QSizeF oldSize() const; |
297 QSizeF oldSize() const; |
294 |
303 |
295 class QGraphicsSceneMoveEventPrivate; |
304 class QGraphicsSceneMoveEventPrivate; |
296 class Q_GUI_EXPORT QGraphicsSceneMoveEvent : public QGraphicsSceneEvent |
305 class Q_GUI_EXPORT QGraphicsSceneMoveEvent : public QGraphicsSceneEvent |
297 { |
306 { |
298 Q_DECLARE_PRIVATE(QGraphicsSceneMoveEvent) |
307 Q_DECLARE_PRIVATE(QGraphicsSceneMoveEvent) |
|
308 Q_DISABLE_COPY(QGraphicsSceneMoveEvent) |
299 public: |
309 public: |
300 QGraphicsSceneMoveEvent(); |
310 QGraphicsSceneMoveEvent(); |
301 ~QGraphicsSceneMoveEvent(); |
311 ~QGraphicsSceneMoveEvent(); |
302 |
312 |
303 QPointF oldPos() const; |
313 QPointF oldPos() const; |