| Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/widgets/graphicsview/qgraphicssceneevent.cpp | 
| Switch to Source code | Preprocessed file | 
| Line | Source | Count | 
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - | |
| 6 | - | |
| 7 | - | |
| 8 | - | |
| 9 | class QGraphicsSceneEventPrivate | - | 
| 10 | { | - | 
| 11 | public: | - | 
| 12 | inline QGraphicsSceneEventPrivate() | - | 
| 13 | : widget(0), | - | 
| 14 | q_ptr(0) | - | 
| 15 |     { } never executed:  end of block | 0 | 
| 16 | - | |
| 17 | inline virtual ~QGraphicsSceneEventPrivate() | - | 
| 18 | { } | - | 
| 19 | - | |
| 20 | QWidget *widget; | - | 
| 21 | QGraphicsSceneEvent *q_ptr; | - | 
| 22 | }; | - | 
| 23 | - | |
| 24 | - | |
| 25 | - | |
| 26 | - | |
| 27 | - | |
| 28 | - | |
| 29 | QGraphicsSceneEvent::QGraphicsSceneEvent(Type type) | - | 
| 30 | : QEvent(type), d_ptr(new QGraphicsSceneEventPrivate) | - | 
| 31 | { | - | 
| 32 | d_ptr->q_ptr = this; | - | 
| 33 | } never executed:  end of block | 0 | 
| 34 | - | |
| 35 | - | |
| 36 | - | |
| 37 | - | |
| 38 | - | |
| 39 | - | |
| 40 | QGraphicsSceneEvent::QGraphicsSceneEvent(QGraphicsSceneEventPrivate &dd, Type type) | - | 
| 41 | : QEvent(type), d_ptr(&dd) | - | 
| 42 | { | - | 
| 43 | d_ptr->q_ptr = this; | - | 
| 44 | } never executed:  end of block | 0 | 
| 45 | - | |
| 46 | - | |
| 47 | - | |
| 48 | - | |
| 49 | QGraphicsSceneEvent::~QGraphicsSceneEvent() | - | 
| 50 | { | - | 
| 51 | } | - | 
| 52 | - | |
| 53 | - | |
| 54 | - | |
| 55 | - | |
| 56 | - | |
| 57 | QWidget *QGraphicsSceneEvent::widget() const | - | 
| 58 | { | - | 
| 59 |     return never executed:   d_ptr->widget;return d_ptr->widget;never executed:  return d_ptr->widget; | 0 | 
| 60 | } | - | 
| 61 | void QGraphicsSceneEvent::setWidget(QWidget *widget) | - | 
| 62 | { | - | 
| 63 | d_ptr->widget = widget; | - | 
| 64 | } never executed:  end of block | 0 | 
| 65 | - | |
| 66 | class QGraphicsSceneMouseEventPrivate : public QGraphicsSceneEventPrivate | - | 
| 67 | { | - | 
| 68 | inline QGraphicsSceneMouseEvent* q_func() { return static_cast<QGraphicsSceneMouseEvent *>(q_ptr); } inline const QGraphicsSceneMouseEvent* q_func() const { return static_cast<const QGraphicsSceneMouseEvent *>(q_ptr); } friend class QGraphicsSceneMouseEvent; | - | 
| 69 | public: | - | 
| 70 | inline QGraphicsSceneMouseEventPrivate() | - | 
| 71 | : button(Qt::NoButton), | - | 
| 72 | buttons(0), modifiers(0), source(Qt::MouseEventNotSynthesized), flags(0) | - | 
| 73 |     { } never executed:  end of block | 0 | 
| 74 | - | |
| 75 | QPointF pos; | - | 
| 76 | QPointF scenePos; | - | 
| 77 | QPoint screenPos; | - | 
| 78 | QPointF lastPos; | - | 
| 79 | QPointF lastScenePos; | - | 
| 80 | QPoint lastScreenPos; | - | 
| 81 | QMap<Qt::MouseButton, QPointF> buttonDownPos; | - | 
| 82 | QMap<Qt::MouseButton, QPointF> buttonDownScenePos; | - | 
| 83 | QMap<Qt::MouseButton, QPoint> buttonDownScreenPos; | - | 
| 84 | Qt::MouseButton button; | - | 
| 85 | Qt::MouseButtons buttons; | - | 
| 86 | Qt::KeyboardModifiers modifiers; | - | 
| 87 | Qt::MouseEventSource source; | - | 
| 88 | Qt::MouseEventFlags flags; | - | 
| 89 | }; | - | 
| 90 | - | |
| 91 | - | |
| 92 | - | |
| 93 | - | |
| 94 | - | |
| 95 | - | |
| 96 | QGraphicsSceneMouseEvent::QGraphicsSceneMouseEvent(Type type) | - | 
| 97 | : QGraphicsSceneEvent(*new QGraphicsSceneMouseEventPrivate, type) | - | 
| 98 | { | - | 
| 99 | } never executed:  end of block | 0 | 
| 100 | - | |
| 101 | - | |
| 102 | - | |
| 103 | - | |
| 104 | QGraphicsSceneMouseEvent::~QGraphicsSceneMouseEvent() | - | 
| 105 | { | - | 
| 106 | } | - | 
| 107 | - | |
| 108 | - | |
| 109 | - | |
| 110 | - | |
| 111 | - | |
| 112 | - | |
| 113 | QPointF QGraphicsSceneMouseEvent::pos() const | - | 
| 114 | { | - | 
| 115 | const QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 116 |     return never executed:   d->pos;return d->pos;never executed:  return d->pos; | 0 | 
| 117 | } | - | 
| 118 | - | |
| 119 | - | |
| 120 | - | |
| 121 | - | |
| 122 | void QGraphicsSceneMouseEvent::setPos(const QPointF &pos) | - | 
| 123 | { | - | 
| 124 | QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 125 | d->pos = pos; | - | 
| 126 | } never executed:  end of block | 0 | 
| 127 | - | |
| 128 | - | |
| 129 | - | |
| 130 | - | |
| 131 | - | |
| 132 | - | |
| 133 | QPointF QGraphicsSceneMouseEvent::scenePos() const | - | 
| 134 | { | - | 
| 135 | const QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 136 |     return never executed:   d->scenePos;return d->scenePos;never executed:  return d->scenePos; | 0 | 
| 137 | } | - | 
| 138 | - | |
| 139 | - | |
| 140 | - | |
| 141 | - | |
| 142 | void QGraphicsSceneMouseEvent::setScenePos(const QPointF &pos) | - | 
| 143 | { | - | 
| 144 | QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 145 | d->scenePos = pos; | - | 
| 146 | } never executed:  end of block | 0 | 
| 147 | - | |
| 148 | - | |
| 149 | - | |
| 150 | - | |
| 151 | - | |
| 152 | - | |
| 153 | QPoint QGraphicsSceneMouseEvent::screenPos() const | - | 
| 154 | { | - | 
| 155 | const QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 156 |     return never executed:   d->screenPos;return d->screenPos;never executed:  return d->screenPos; | 0 | 
| 157 | } | - | 
| 158 | - | |
| 159 | - | |
| 160 | - | |
| 161 | - | |
| 162 | void QGraphicsSceneMouseEvent::setScreenPos(const QPoint &pos) | - | 
| 163 | { | - | 
| 164 | QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 165 | d->screenPos = pos; | - | 
| 166 | } never executed:  end of block | 0 | 
| 167 | - | |
| 168 | - | |
| 169 | - | |
| 170 | - | |
| 171 | - | |
| 172 | - | |
| 173 | - | |
| 174 | QPointF QGraphicsSceneMouseEvent::buttonDownPos(Qt::MouseButton button) const | - | 
| 175 | { | - | 
| 176 | const QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 177 |     return never executed:   d->buttonDownPos.value(button);return d->buttonDownPos.value(button);never executed:  return d->buttonDownPos.value(button); | 0 | 
| 178 | } | - | 
| 179 | - | |
| 180 | - | |
| 181 | - | |
| 182 | - | |
| 183 | void QGraphicsSceneMouseEvent::setButtonDownPos(Qt::MouseButton button, const QPointF &pos) | - | 
| 184 | { | - | 
| 185 | QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 186 | d->buttonDownPos.insert(button, pos); | - | 
| 187 | } never executed:  end of block | 0 | 
| 188 | - | |
| 189 | - | |
| 190 | - | |
| 191 | - | |
| 192 | - | |
| 193 | - | |
| 194 | - | |
| 195 | QPointF QGraphicsSceneMouseEvent::buttonDownScenePos(Qt::MouseButton button) const | - | 
| 196 | { | - | 
| 197 | const QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 198 |     return never executed:   d->buttonDownScenePos.value(button);return d->buttonDownScenePos.value(button);never executed:  return d->buttonDownScenePos.value(button); | 0 | 
| 199 | } | - | 
| 200 | - | |
| 201 | - | |
| 202 | - | |
| 203 | - | |
| 204 | void QGraphicsSceneMouseEvent::setButtonDownScenePos(Qt::MouseButton button, const QPointF &pos) | - | 
| 205 | { | - | 
| 206 | QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 207 | d->buttonDownScenePos.insert(button, pos); | - | 
| 208 | } never executed:  end of block | 0 | 
| 209 | - | |
| 210 | - | |
| 211 | - | |
| 212 | - | |
| 213 | - | |
| 214 | - | |
| 215 | - | |
| 216 | QPoint QGraphicsSceneMouseEvent::buttonDownScreenPos(Qt::MouseButton button) const | - | 
| 217 | { | - | 
| 218 | const QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 219 |     return never executed:   d->buttonDownScreenPos.value(button);return d->buttonDownScreenPos.value(button);never executed:  return d->buttonDownScreenPos.value(button); | 0 | 
| 220 | } | - | 
| 221 | - | |
| 222 | - | |
| 223 | - | |
| 224 | - | |
| 225 | void QGraphicsSceneMouseEvent::setButtonDownScreenPos(Qt::MouseButton button, const QPoint &pos) | - | 
| 226 | { | - | 
| 227 | QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 228 | d->buttonDownScreenPos.insert(button, pos); | - | 
| 229 | } never executed:  end of block | 0 | 
| 230 | - | |
| 231 | - | |
| 232 | - | |
| 233 | - | |
| 234 | - | |
| 235 | - | |
| 236 | - | |
| 237 | QPointF QGraphicsSceneMouseEvent::lastPos() const | - | 
| 238 | { | - | 
| 239 | const QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 240 |     return never executed:   d->lastPos;return d->lastPos;never executed:  return d->lastPos; | 0 | 
| 241 | } | - | 
| 242 | - | |
| 243 | - | |
| 244 | - | |
| 245 | - | |
| 246 | void QGraphicsSceneMouseEvent::setLastPos(const QPointF &pos) | - | 
| 247 | { | - | 
| 248 | QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 249 | d->lastPos = pos; | - | 
| 250 | } never executed:  end of block | 0 | 
| 251 | QPointF QGraphicsSceneMouseEvent::lastScenePos() const | - | 
| 252 | { | - | 
| 253 | const QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 254 |     return never executed:   d->lastScenePos;return d->lastScenePos;never executed:  return d->lastScenePos; | 0 | 
| 255 | } | - | 
| 256 | - | |
| 257 | - | |
| 258 | - | |
| 259 | - | |
| 260 | void QGraphicsSceneMouseEvent::setLastScenePos(const QPointF &pos) | - | 
| 261 | { | - | 
| 262 | QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 263 | d->lastScenePos = pos; | - | 
| 264 | } never executed:  end of block | 0 | 
| 265 | QPoint QGraphicsSceneMouseEvent::lastScreenPos() const | - | 
| 266 | { | - | 
| 267 | const QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 268 |     return never executed:   d->lastScreenPos;return d->lastScreenPos;never executed:  return d->lastScreenPos; | 0 | 
| 269 | } | - | 
| 270 | - | |
| 271 | - | |
| 272 | - | |
| 273 | - | |
| 274 | void QGraphicsSceneMouseEvent::setLastScreenPos(const QPoint &pos) | - | 
| 275 | { | - | 
| 276 | QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 277 | d->lastScreenPos = pos; | - | 
| 278 | } never executed:  end of block | 0 | 
| 279 | - | |
| 280 | - | |
| 281 | - | |
| 282 | - | |
| 283 | - | |
| 284 | - | |
| 285 | - | |
| 286 | Qt::MouseButtons QGraphicsSceneMouseEvent::buttons() const | - | 
| 287 | { | - | 
| 288 | const QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 289 |     return never executed:   d->buttons;return d->buttons;never executed:  return d->buttons; | 0 | 
| 290 | } | - | 
| 291 | - | |
| 292 | - | |
| 293 | - | |
| 294 | - | |
| 295 | void QGraphicsSceneMouseEvent::setButtons(Qt::MouseButtons buttons) | - | 
| 296 | { | - | 
| 297 | QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 298 | d->buttons = buttons; | - | 
| 299 | } never executed:  end of block | 0 | 
| 300 | - | |
| 301 | - | |
| 302 | - | |
| 303 | - | |
| 304 | - | |
| 305 | - | |
| 306 | Qt::MouseButton QGraphicsSceneMouseEvent::button() const | - | 
| 307 | { | - | 
| 308 | const QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 309 |     return never executed:   d->button;return d->button;never executed:  return d->button; | 0 | 
| 310 | } | - | 
| 311 | - | |
| 312 | - | |
| 313 | - | |
| 314 | - | |
| 315 | void QGraphicsSceneMouseEvent::setButton(Qt::MouseButton button) | - | 
| 316 | { | - | 
| 317 | QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 318 | d->button = button; | - | 
| 319 | } never executed:  end of block | 0 | 
| 320 | - | |
| 321 | - | |
| 322 | - | |
| 323 | - | |
| 324 | - | |
| 325 | - | |
| 326 | - | |
| 327 | Qt::KeyboardModifiers QGraphicsSceneMouseEvent::modifiers() const | - | 
| 328 | { | - | 
| 329 | const QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 330 |     return never executed:   d->modifiers;return d->modifiers;never executed:  return d->modifiers; | 0 | 
| 331 | } | - | 
| 332 | Qt::MouseEventSource QGraphicsSceneMouseEvent::source() const | - | 
| 333 | { | - | 
| 334 | const QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 335 |     return never executed:   d->source;return d->source;never executed:  return d->source; | 0 | 
| 336 | } | - | 
| 337 | - | |
| 338 | - | |
| 339 | - | |
| 340 | - | |
| 341 | - | |
| 342 | void QGraphicsSceneMouseEvent::setSource(Qt::MouseEventSource source) | - | 
| 343 | { | - | 
| 344 | QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 345 | d->source = source; | - | 
| 346 | } never executed:  end of block | 0 | 
| 347 | Qt::MouseEventFlags QGraphicsSceneMouseEvent::flags() const | - | 
| 348 | { | - | 
| 349 | const QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 350 |     return never executed:   d->flags;return d->flags;never executed:  return d->flags; | 0 | 
| 351 | } | - | 
| 352 | - | |
| 353 | - | |
| 354 | - | |
| 355 | - | |
| 356 | - | |
| 357 | void QGraphicsSceneMouseEvent::setFlags(Qt::MouseEventFlags flags) | - | 
| 358 | { | - | 
| 359 | QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 360 | d->flags = flags; | - | 
| 361 | } never executed:  end of block | 0 | 
| 362 | - | |
| 363 | - | |
| 364 | - | |
| 365 | - | |
| 366 | void QGraphicsSceneMouseEvent::setModifiers(Qt::KeyboardModifiers modifiers) | - | 
| 367 | { | - | 
| 368 | QGraphicsSceneMouseEventPrivate * const d = d_func(); | - | 
| 369 | d->modifiers = modifiers; | - | 
| 370 | } never executed:  end of block | 0 | 
| 371 | - | |
| 372 | class QGraphicsSceneWheelEventPrivate : public QGraphicsSceneEventPrivate | - | 
| 373 | { | - | 
| 374 | inline QGraphicsSceneWheelEvent* q_func() { return static_cast<QGraphicsSceneWheelEvent *>(q_ptr); } inline const QGraphicsSceneWheelEvent* q_func() const { return static_cast<const QGraphicsSceneWheelEvent *>(q_ptr); } friend class QGraphicsSceneWheelEvent; | - | 
| 375 | public: | - | 
| 376 | inline QGraphicsSceneWheelEventPrivate() | - | 
| 377 | : buttons(0), modifiers(0), delta(0), orientation(Qt::Horizontal) | - | 
| 378 |     { } never executed:  end of block | 0 | 
| 379 | - | |
| 380 | QPointF pos; | - | 
| 381 | QPointF scenePos; | - | 
| 382 | QPoint screenPos; | - | 
| 383 | Qt::MouseButtons buttons; | - | 
| 384 | Qt::KeyboardModifiers modifiers; | - | 
| 385 | int delta; | - | 
| 386 | Qt::Orientation orientation; | - | 
| 387 | }; | - | 
| 388 | - | |
| 389 | - | |
| 390 | - | |
| 391 | - | |
| 392 | - | |
| 393 | - | |
| 394 | - | |
| 395 | QGraphicsSceneWheelEvent::QGraphicsSceneWheelEvent(Type type) | - | 
| 396 | : QGraphicsSceneEvent(*new QGraphicsSceneWheelEventPrivate, type) | - | 
| 397 | { | - | 
| 398 | } never executed:  end of block | 0 | 
| 399 | - | |
| 400 | - | |
| 401 | - | |
| 402 | - | |
| 403 | QGraphicsSceneWheelEvent::~QGraphicsSceneWheelEvent() | - | 
| 404 | { | - | 
| 405 | } | - | 
| 406 | - | |
| 407 | - | |
| 408 | - | |
| 409 | - | |
| 410 | - | |
| 411 | - | |
| 412 | - | |
| 413 | QPointF QGraphicsSceneWheelEvent::pos() const | - | 
| 414 | { | - | 
| 415 | const QGraphicsSceneWheelEventPrivate * const d = d_func(); | - | 
| 416 |     return never executed:   d->pos;return d->pos;never executed:  return d->pos; | 0 | 
| 417 | } | - | 
| 418 | - | |
| 419 | - | |
| 420 | - | |
| 421 | - | |
| 422 | void QGraphicsSceneWheelEvent::setPos(const QPointF &pos) | - | 
| 423 | { | - | 
| 424 | QGraphicsSceneWheelEventPrivate * const d = d_func(); | - | 
| 425 | d->pos = pos; | - | 
| 426 | } never executed:  end of block | 0 | 
| 427 | - | |
| 428 | - | |
| 429 | - | |
| 430 | - | |
| 431 | - | |
| 432 | - | |
| 433 | - | |
| 434 | QPointF QGraphicsSceneWheelEvent::scenePos() const | - | 
| 435 | { | - | 
| 436 | const QGraphicsSceneWheelEventPrivate * const d = d_func(); | - | 
| 437 |     return never executed:   d->scenePos;return d->scenePos;never executed:  return d->scenePos; | 0 | 
| 438 | } | - | 
| 439 | - | |
| 440 | - | |
| 441 | - | |
| 442 | - | |
| 443 | void QGraphicsSceneWheelEvent::setScenePos(const QPointF &pos) | - | 
| 444 | { | - | 
| 445 | QGraphicsSceneWheelEventPrivate * const d = d_func(); | - | 
| 446 | d->scenePos = pos; | - | 
| 447 | } never executed:  end of block | 0 | 
| 448 | - | |
| 449 | - | |
| 450 | - | |
| 451 | - | |
| 452 | - | |
| 453 | - | |
| 454 | - | |
| 455 | QPoint QGraphicsSceneWheelEvent::screenPos() const | - | 
| 456 | { | - | 
| 457 | const QGraphicsSceneWheelEventPrivate * const d = d_func(); | - | 
| 458 |     return never executed:   d->screenPos;return d->screenPos;never executed:  return d->screenPos; | 0 | 
| 459 | } | - | 
| 460 | - | |
| 461 | - | |
| 462 | - | |
| 463 | - | |
| 464 | void QGraphicsSceneWheelEvent::setScreenPos(const QPoint &pos) | - | 
| 465 | { | - | 
| 466 | QGraphicsSceneWheelEventPrivate * const d = d_func(); | - | 
| 467 | d->screenPos = pos; | - | 
| 468 | } never executed:  end of block | 0 | 
| 469 | - | |
| 470 | - | |
| 471 | - | |
| 472 | - | |
| 473 | - | |
| 474 | - | |
| 475 | Qt::MouseButtons QGraphicsSceneWheelEvent::buttons() const | - | 
| 476 | { | - | 
| 477 | const QGraphicsSceneWheelEventPrivate * const d = d_func(); | - | 
| 478 |     return never executed:   d->buttons;return d->buttons;never executed:  return d->buttons; | 0 | 
| 479 | } | - | 
| 480 | - | |
| 481 | - | |
| 482 | - | |
| 483 | - | |
| 484 | void QGraphicsSceneWheelEvent::setButtons(Qt::MouseButtons buttons) | - | 
| 485 | { | - | 
| 486 | QGraphicsSceneWheelEventPrivate * const d = d_func(); | - | 
| 487 | d->buttons = buttons; | - | 
| 488 | } never executed:  end of block | 0 | 
| 489 | - | |
| 490 | - | |
| 491 | - | |
| 492 | - | |
| 493 | - | |
| 494 | - | |
| 495 | - | |
| 496 | Qt::KeyboardModifiers QGraphicsSceneWheelEvent::modifiers() const | - | 
| 497 | { | - | 
| 498 | const QGraphicsSceneWheelEventPrivate * const d = d_func(); | - | 
| 499 |     return never executed:   d->modifiers;return d->modifiers;never executed:  return d->modifiers; | 0 | 
| 500 | } | - | 
| 501 | - | |
| 502 | - | |
| 503 | - | |
| 504 | - | |
| 505 | void QGraphicsSceneWheelEvent::setModifiers(Qt::KeyboardModifiers modifiers) | - | 
| 506 | { | - | 
| 507 | QGraphicsSceneWheelEventPrivate * const d = d_func(); | - | 
| 508 | d->modifiers = modifiers; | - | 
| 509 | } never executed:  end of block | 0 | 
| 510 | int QGraphicsSceneWheelEvent::delta() const | - | 
| 511 | { | - | 
| 512 | const QGraphicsSceneWheelEventPrivate * const d = d_func(); | - | 
| 513 |     return never executed:   d->delta;return d->delta;never executed:  return d->delta; | 0 | 
| 514 | } | - | 
| 515 | - | |
| 516 | - | |
| 517 | - | |
| 518 | - | |
| 519 | void QGraphicsSceneWheelEvent::setDelta(int delta) | - | 
| 520 | { | - | 
| 521 | QGraphicsSceneWheelEventPrivate * const d = d_func(); | - | 
| 522 | d->delta = delta; | - | 
| 523 | } never executed:  end of block | 0 | 
| 524 | - | |
| 525 | - | |
| 526 | - | |
| 527 | - | |
| 528 | Qt::Orientation QGraphicsSceneWheelEvent::orientation() const | - | 
| 529 | { | - | 
| 530 | const QGraphicsSceneWheelEventPrivate * const d = d_func(); | - | 
| 531 |     return never executed:   d->orientation;return d->orientation;never executed:  return d->orientation; | 0 | 
| 532 | } | - | 
| 533 | - | |
| 534 | - | |
| 535 | - | |
| 536 | - | |
| 537 | void QGraphicsSceneWheelEvent::setOrientation(Qt::Orientation orientation) | - | 
| 538 | { | - | 
| 539 | QGraphicsSceneWheelEventPrivate * const d = d_func(); | - | 
| 540 | d->orientation = orientation; | - | 
| 541 | } never executed:  end of block | 0 | 
| 542 | - | |
| 543 | class QGraphicsSceneContextMenuEventPrivate : public QGraphicsSceneEventPrivate | - | 
| 544 | { | - | 
| 545 | inline QGraphicsSceneContextMenuEvent* q_func() { return static_cast<QGraphicsSceneContextMenuEvent *>(q_ptr); } inline const QGraphicsSceneContextMenuEvent* q_func() const { return static_cast<const QGraphicsSceneContextMenuEvent *>(q_ptr); } friend class QGraphicsSceneContextMenuEvent; | - | 
| 546 | public: | - | 
| 547 | inline QGraphicsSceneContextMenuEventPrivate() | - | 
| 548 | : modifiers(0), reason(QGraphicsSceneContextMenuEvent::Other) | - | 
| 549 |         { } never executed:  end of block | 0 | 
| 550 | - | |
| 551 | QPointF pos; | - | 
| 552 | QPointF scenePos; | - | 
| 553 | QPoint screenPos; | - | 
| 554 | Qt::KeyboardModifiers modifiers; | - | 
| 555 | QGraphicsSceneContextMenuEvent::Reason reason; | - | 
| 556 | }; | - | 
| 557 | - | |
| 558 | - | |
| 559 | - | |
| 560 | - | |
| 561 | - | |
| 562 | - | |
| 563 | QGraphicsSceneContextMenuEvent::QGraphicsSceneContextMenuEvent(Type type) | - | 
| 564 | : QGraphicsSceneEvent(*new QGraphicsSceneContextMenuEventPrivate, type) | - | 
| 565 | { | - | 
| 566 | } never executed:  end of block | 0 | 
| 567 | - | |
| 568 | - | |
| 569 | - | |
| 570 | - | |
| 571 | QGraphicsSceneContextMenuEvent::~QGraphicsSceneContextMenuEvent() | - | 
| 572 | { | - | 
| 573 | } | - | 
| 574 | - | |
| 575 | - | |
| 576 | - | |
| 577 | - | |
| 578 | - | |
| 579 | - | |
| 580 | - | |
| 581 | QPointF QGraphicsSceneContextMenuEvent::pos() const | - | 
| 582 | { | - | 
| 583 | const QGraphicsSceneContextMenuEventPrivate * const d = d_func(); | - | 
| 584 |     return never executed:   d->pos;return d->pos;never executed:  return d->pos; | 0 | 
| 585 | } | - | 
| 586 | void QGraphicsSceneContextMenuEvent::setPos(const QPointF &pos) | - | 
| 587 | { | - | 
| 588 | QGraphicsSceneContextMenuEventPrivate * const d = d_func(); | - | 
| 589 | d->pos = pos; | - | 
| 590 | } never executed:  end of block | 0 | 
| 591 | - | |
| 592 | - | |
| 593 | - | |
| 594 | - | |
| 595 | - | |
| 596 | - | |
| 597 | - | |
| 598 | QPointF QGraphicsSceneContextMenuEvent::scenePos() const | - | 
| 599 | { | - | 
| 600 | const QGraphicsSceneContextMenuEventPrivate * const d = d_func(); | - | 
| 601 |     return never executed:   d->scenePos;return d->scenePos;never executed:  return d->scenePos; | 0 | 
| 602 | } | - | 
| 603 | void QGraphicsSceneContextMenuEvent::setScenePos(const QPointF &pos) | - | 
| 604 | { | - | 
| 605 | QGraphicsSceneContextMenuEventPrivate * const d = d_func(); | - | 
| 606 | d->scenePos = pos; | - | 
| 607 | } never executed:  end of block | 0 | 
| 608 | - | |
| 609 | - | |
| 610 | - | |
| 611 | - | |
| 612 | - | |
| 613 | - | |
| 614 | - | |
| 615 | QPoint QGraphicsSceneContextMenuEvent::screenPos() const | - | 
| 616 | { | - | 
| 617 | const QGraphicsSceneContextMenuEventPrivate * const d = d_func(); | - | 
| 618 |     return never executed:   d->screenPos;return d->screenPos;never executed:  return d->screenPos; | 0 | 
| 619 | } | - | 
| 620 | void QGraphicsSceneContextMenuEvent::setScreenPos(const QPoint &pos) | - | 
| 621 | { | - | 
| 622 | QGraphicsSceneContextMenuEventPrivate * const d = d_func(); | - | 
| 623 | d->screenPos = pos; | - | 
| 624 | } never executed:  end of block | 0 | 
| 625 | - | |
| 626 | - | |
| 627 | - | |
| 628 | - | |
| 629 | Qt::KeyboardModifiers QGraphicsSceneContextMenuEvent::modifiers() const | - | 
| 630 | { | - | 
| 631 | const QGraphicsSceneContextMenuEventPrivate * const d = d_func(); | - | 
| 632 |     return never executed:   d->modifiers;return d->modifiers;never executed:  return d->modifiers; | 0 | 
| 633 | } | - | 
| 634 | - | |
| 635 | - | |
| 636 | - | |
| 637 | - | |
| 638 | - | |
| 639 | - | |
| 640 | - | |
| 641 | void QGraphicsSceneContextMenuEvent::setModifiers(Qt::KeyboardModifiers modifiers) | - | 
| 642 | { | - | 
| 643 | QGraphicsSceneContextMenuEventPrivate * const d = d_func(); | - | 
| 644 | d->modifiers = modifiers; | - | 
| 645 | } never executed:  end of block | 0 | 
| 646 | - | |
| 647 | - | |
| 648 | - | |
| 649 | - | |
| 650 | - | |
| 651 | - | |
| 652 | QGraphicsSceneContextMenuEvent::Reason QGraphicsSceneContextMenuEvent::reason() const | - | 
| 653 | { | - | 
| 654 | const QGraphicsSceneContextMenuEventPrivate * const d = d_func(); | - | 
| 655 |     return never executed:   d->reason;return d->reason;never executed:  return d->reason; | 0 | 
| 656 | } | - | 
| 657 | - | |
| 658 | - | |
| 659 | - | |
| 660 | - | |
| 661 | - | |
| 662 | - | |
| 663 | - | |
| 664 | void QGraphicsSceneContextMenuEvent::setReason(Reason reason) | - | 
| 665 | { | - | 
| 666 | QGraphicsSceneContextMenuEventPrivate * const d = d_func(); | - | 
| 667 | d->reason = reason; | - | 
| 668 | } never executed:  end of block | 0 | 
| 669 | - | |
| 670 | class QGraphicsSceneHoverEventPrivate : public QGraphicsSceneEventPrivate | - | 
| 671 | { | - | 
| 672 | public: | - | 
| 673 | QPointF pos; | - | 
| 674 | QPointF scenePos; | - | 
| 675 | QPoint screenPos; | - | 
| 676 | QPointF lastPos; | - | 
| 677 | QPointF lastScenePos; | - | 
| 678 | QPoint lastScreenPos; | - | 
| 679 | Qt::KeyboardModifiers modifiers; | - | 
| 680 | }; | - | 
| 681 | - | |
| 682 | - | |
| 683 | - | |
| 684 | - | |
| 685 | - | |
| 686 | - | |
| 687 | QGraphicsSceneHoverEvent::QGraphicsSceneHoverEvent(Type type) | - | 
| 688 | : QGraphicsSceneEvent(*new QGraphicsSceneHoverEventPrivate, type) | - | 
| 689 | { | - | 
| 690 | } never executed:  end of block | 0 | 
| 691 | - | |
| 692 | - | |
| 693 | - | |
| 694 | - | |
| 695 | QGraphicsSceneHoverEvent::~QGraphicsSceneHoverEvent() | - | 
| 696 | { | - | 
| 697 | } | - | 
| 698 | - | |
| 699 | - | |
| 700 | - | |
| 701 | - | |
| 702 | - | |
| 703 | - | |
| 704 | - | |
| 705 | QPointF QGraphicsSceneHoverEvent::pos() const | - | 
| 706 | { | - | 
| 707 | const QGraphicsSceneHoverEventPrivate * const d = d_func(); | - | 
| 708 |     return never executed:   d->pos;return d->pos;never executed:  return d->pos; | 0 | 
| 709 | } | - | 
| 710 | void QGraphicsSceneHoverEvent::setPos(const QPointF &pos) | - | 
| 711 | { | - | 
| 712 | QGraphicsSceneHoverEventPrivate * const d = d_func(); | - | 
| 713 | d->pos = pos; | - | 
| 714 | } never executed:  end of block | 0 | 
| 715 | - | |
| 716 | - | |
| 717 | - | |
| 718 | - | |
| 719 | - | |
| 720 | - | |
| 721 | - | |
| 722 | QPointF QGraphicsSceneHoverEvent::scenePos() const | - | 
| 723 | { | - | 
| 724 | const QGraphicsSceneHoverEventPrivate * const d = d_func(); | - | 
| 725 |     return never executed:   d->scenePos;return d->scenePos;never executed:  return d->scenePos; | 0 | 
| 726 | } | - | 
| 727 | void QGraphicsSceneHoverEvent::setScenePos(const QPointF &pos) | - | 
| 728 | { | - | 
| 729 | QGraphicsSceneHoverEventPrivate * const d = d_func(); | - | 
| 730 | d->scenePos = pos; | - | 
| 731 | } never executed:  end of block | 0 | 
| 732 | - | |
| 733 | - | |
| 734 | - | |
| 735 | - | |
| 736 | - | |
| 737 | - | |
| 738 | - | |
| 739 | QPoint QGraphicsSceneHoverEvent::screenPos() const | - | 
| 740 | { | - | 
| 741 | const QGraphicsSceneHoverEventPrivate * const d = d_func(); | - | 
| 742 |     return never executed:   d->screenPos;return d->screenPos;never executed:  return d->screenPos; | 0 | 
| 743 | } | - | 
| 744 | void QGraphicsSceneHoverEvent::setScreenPos(const QPoint &pos) | - | 
| 745 | { | - | 
| 746 | QGraphicsSceneHoverEventPrivate * const d = d_func(); | - | 
| 747 | d->screenPos = pos; | - | 
| 748 | } never executed:  end of block | 0 | 
| 749 | QPointF QGraphicsSceneHoverEvent::lastPos() const | - | 
| 750 | { | - | 
| 751 | const QGraphicsSceneHoverEventPrivate * const d = d_func(); | - | 
| 752 |     return never executed:   d->lastPos;return d->lastPos;never executed:  return d->lastPos; | 0 | 
| 753 | } | - | 
| 754 | - | |
| 755 | - | |
| 756 | - | |
| 757 | - | |
| 758 | void QGraphicsSceneHoverEvent::setLastPos(const QPointF &pos) | - | 
| 759 | { | - | 
| 760 | QGraphicsSceneHoverEventPrivate * const d = d_func(); | - | 
| 761 | d->lastPos = pos; | - | 
| 762 | } never executed:  end of block | 0 | 
| 763 | QPointF QGraphicsSceneHoverEvent::lastScenePos() const | - | 
| 764 | { | - | 
| 765 | const QGraphicsSceneHoverEventPrivate * const d = d_func(); | - | 
| 766 |     return never executed:   d->lastScenePos;return d->lastScenePos;never executed:  return d->lastScenePos; | 0 | 
| 767 | } | - | 
| 768 | - | |
| 769 | - | |
| 770 | - | |
| 771 | - | |
| 772 | void QGraphicsSceneHoverEvent::setLastScenePos(const QPointF &pos) | - | 
| 773 | { | - | 
| 774 | QGraphicsSceneHoverEventPrivate * const d = d_func(); | - | 
| 775 | d->lastScenePos = pos; | - | 
| 776 | } never executed:  end of block | 0 | 
| 777 | QPoint QGraphicsSceneHoverEvent::lastScreenPos() const | - | 
| 778 | { | - | 
| 779 | const QGraphicsSceneHoverEventPrivate * const d = d_func(); | - | 
| 780 |     return never executed:   d->lastScreenPos;return d->lastScreenPos;never executed:  return d->lastScreenPos; | 0 | 
| 781 | } | - | 
| 782 | - | |
| 783 | - | |
| 784 | - | |
| 785 | - | |
| 786 | void QGraphicsSceneHoverEvent::setLastScreenPos(const QPoint &pos) | - | 
| 787 | { | - | 
| 788 | QGraphicsSceneHoverEventPrivate * const d = d_func(); | - | 
| 789 | d->lastScreenPos = pos; | - | 
| 790 | } never executed:  end of block | 0 | 
| 791 | - | |
| 792 | - | |
| 793 | - | |
| 794 | - | |
| 795 | - | |
| 796 | - | |
| 797 | Qt::KeyboardModifiers QGraphicsSceneHoverEvent::modifiers() const | - | 
| 798 | { | - | 
| 799 | const QGraphicsSceneHoverEventPrivate * const d = d_func(); | - | 
| 800 |     return never executed:   d->modifiers;return d->modifiers;never executed:  return d->modifiers; | 0 | 
| 801 | } | - | 
| 802 | - | |
| 803 | - | |
| 804 | - | |
| 805 | - | |
| 806 | - | |
| 807 | - | |
| 808 | - | |
| 809 | void QGraphicsSceneHoverEvent::setModifiers(Qt::KeyboardModifiers modifiers) | - | 
| 810 | { | - | 
| 811 | QGraphicsSceneHoverEventPrivate * const d = d_func(); | - | 
| 812 | d->modifiers = modifiers; | - | 
| 813 | } never executed:  end of block | 0 | 
| 814 | - | |
| 815 | class QGraphicsSceneHelpEventPrivate : public QGraphicsSceneEventPrivate | - | 
| 816 | { | - | 
| 817 | public: | - | 
| 818 | QPointF scenePos; | - | 
| 819 | QPoint screenPos; | - | 
| 820 | }; | - | 
| 821 | - | |
| 822 | - | |
| 823 | - | |
| 824 | - | |
| 825 | - | |
| 826 | - | |
| 827 | QGraphicsSceneHelpEvent::QGraphicsSceneHelpEvent(Type type) | - | 
| 828 | : QGraphicsSceneEvent(*new QGraphicsSceneHelpEventPrivate, type) | - | 
| 829 | { | - | 
| 830 | } never executed:  end of block | 0 | 
| 831 | - | |
| 832 | - | |
| 833 | - | |
| 834 | - | |
| 835 | QGraphicsSceneHelpEvent::~QGraphicsSceneHelpEvent() | - | 
| 836 | { | - | 
| 837 | } | - | 
| 838 | - | |
| 839 | - | |
| 840 | - | |
| 841 | - | |
| 842 | - | |
| 843 | - | |
| 844 | - | |
| 845 | QPointF QGraphicsSceneHelpEvent::scenePos() const | - | 
| 846 | { | - | 
| 847 | const QGraphicsSceneHelpEventPrivate * const d = d_func(); | - | 
| 848 |     return never executed:   d->scenePos;return d->scenePos;never executed:  return d->scenePos; | 0 | 
| 849 | } | - | 
| 850 | void QGraphicsSceneHelpEvent::setScenePos(const QPointF &pos) | - | 
| 851 | { | - | 
| 852 | QGraphicsSceneHelpEventPrivate * const d = d_func(); | - | 
| 853 | d->scenePos = pos; | - | 
| 854 | } never executed:  end of block | 0 | 
| 855 | - | |
| 856 | - | |
| 857 | - | |
| 858 | - | |
| 859 | - | |
| 860 | - | |
| 861 | - | |
| 862 | QPoint QGraphicsSceneHelpEvent::screenPos() const | - | 
| 863 | { | - | 
| 864 | const QGraphicsSceneHelpEventPrivate * const d = d_func(); | - | 
| 865 |     return never executed:   d->screenPos;return d->screenPos;never executed:  return d->screenPos; | 0 | 
| 866 | } | - | 
| 867 | void QGraphicsSceneHelpEvent::setScreenPos(const QPoint &pos) | - | 
| 868 | { | - | 
| 869 | QGraphicsSceneHelpEventPrivate * const d = d_func(); | - | 
| 870 | d->screenPos = pos; | - | 
| 871 | } never executed:  end of block | 0 | 
| 872 | - | |
| 873 | class QGraphicsSceneDragDropEventPrivate : public QGraphicsSceneEventPrivate | - | 
| 874 | { | - | 
| 875 | inline QGraphicsSceneDragDropEvent* q_func() { return static_cast<QGraphicsSceneDragDropEvent *>(q_ptr); } inline const QGraphicsSceneDragDropEvent* q_func() const { return static_cast<const QGraphicsSceneDragDropEvent *>(q_ptr); } friend class QGraphicsSceneDragDropEvent; | - | 
| 876 | public: | - | 
| 877 | inline QGraphicsSceneDragDropEventPrivate() | - | 
| 878 | : source(0), mimeData(0) | - | 
| 879 |     { } never executed:  end of block | 0 | 
| 880 | - | |
| 881 | QPointF pos; | - | 
| 882 | QPointF scenePos; | - | 
| 883 | QPoint screenPos; | - | 
| 884 | Qt::MouseButtons buttons; | - | 
| 885 | Qt::KeyboardModifiers modifiers; | - | 
| 886 | Qt::DropActions possibleActions; | - | 
| 887 | Qt::DropAction proposedAction; | - | 
| 888 | Qt::DropAction dropAction; | - | 
| 889 | QWidget *source; | - | 
| 890 | const QMimeData *mimeData; | - | 
| 891 | }; | - | 
| 892 | QGraphicsSceneDragDropEvent::QGraphicsSceneDragDropEvent(Type type) | - | 
| 893 | : QGraphicsSceneEvent(*new QGraphicsSceneDragDropEventPrivate, type) | - | 
| 894 | { | - | 
| 895 | } never executed:  end of block | 0 | 
| 896 | - | |
| 897 | - | |
| 898 | - | |
| 899 | - | |
| 900 | QGraphicsSceneDragDropEvent::~QGraphicsSceneDragDropEvent() | - | 
| 901 | { | - | 
| 902 | } | - | 
| 903 | - | |
| 904 | - | |
| 905 | - | |
| 906 | - | |
| 907 | - | |
| 908 | - | |
| 909 | - | |
| 910 | QPointF QGraphicsSceneDragDropEvent::pos() const | - | 
| 911 | { | - | 
| 912 | const QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 913 |     return never executed:   d->pos;return d->pos;never executed:  return d->pos; | 0 | 
| 914 | } | - | 
| 915 | void QGraphicsSceneDragDropEvent::setPos(const QPointF &pos) | - | 
| 916 | { | - | 
| 917 | QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 918 | d->pos = pos; | - | 
| 919 | } never executed:  end of block | 0 | 
| 920 | - | |
| 921 | - | |
| 922 | - | |
| 923 | - | |
| 924 | - | |
| 925 | - | |
| 926 | QPointF QGraphicsSceneDragDropEvent::scenePos() const | - | 
| 927 | { | - | 
| 928 | const QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 929 |     return never executed:   d->scenePos;return d->scenePos;never executed:  return d->scenePos; | 0 | 
| 930 | } | - | 
| 931 | - | |
| 932 | - | |
| 933 | - | |
| 934 | - | |
| 935 | - | |
| 936 | - | |
| 937 | - | |
| 938 | void QGraphicsSceneDragDropEvent::setScenePos(const QPointF &pos) | - | 
| 939 | { | - | 
| 940 | QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 941 | d->scenePos = pos; | - | 
| 942 | } never executed:  end of block | 0 | 
| 943 | - | |
| 944 | - | |
| 945 | - | |
| 946 | - | |
| 947 | - | |
| 948 | - | |
| 949 | QPoint QGraphicsSceneDragDropEvent::screenPos() const | - | 
| 950 | { | - | 
| 951 | const QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 952 |     return never executed:   d->screenPos;return d->screenPos;never executed:  return d->screenPos; | 0 | 
| 953 | } | - | 
| 954 | - | |
| 955 | - | |
| 956 | - | |
| 957 | - | |
| 958 | - | |
| 959 | - | |
| 960 | - | |
| 961 | void QGraphicsSceneDragDropEvent::setScreenPos(const QPoint &pos) | - | 
| 962 | { | - | 
| 963 | QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 964 | d->screenPos = pos; | - | 
| 965 | } never executed:  end of block | 0 | 
| 966 | Qt::MouseButtons QGraphicsSceneDragDropEvent::buttons() const | - | 
| 967 | { | - | 
| 968 | const QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 969 |     return never executed:   d->buttons;return d->buttons;never executed:  return d->buttons; | 0 | 
| 970 | } | - | 
| 971 | void QGraphicsSceneDragDropEvent::setButtons(Qt::MouseButtons buttons) | - | 
| 972 | { | - | 
| 973 | QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 974 | d->buttons = buttons; | - | 
| 975 | } never executed:  end of block | 0 | 
| 976 | - | |
| 977 | - | |
| 978 | - | |
| 979 | - | |
| 980 | - | |
| 981 | - | |
| 982 | - | |
| 983 | Qt::KeyboardModifiers QGraphicsSceneDragDropEvent::modifiers() const | - | 
| 984 | { | - | 
| 985 | const QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 986 |     return never executed:   d->modifiers;return d->modifiers;never executed:  return d->modifiers; | 0 | 
| 987 | } | - | 
| 988 | void QGraphicsSceneDragDropEvent::setModifiers(Qt::KeyboardModifiers modifiers) | - | 
| 989 | { | - | 
| 990 | QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 991 | d->modifiers = modifiers; | - | 
| 992 | } never executed:  end of block | 0 | 
| 993 | Qt::DropActions QGraphicsSceneDragDropEvent::possibleActions() const | - | 
| 994 | { | - | 
| 995 | const QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 996 |     return never executed:   d->possibleActions;return d->possibleActions;never executed:  return d->possibleActions; | 0 | 
| 997 | } | - | 
| 998 | void QGraphicsSceneDragDropEvent::setPossibleActions(Qt::DropActions actions) | - | 
| 999 | { | - | 
| 1000 | QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 1001 | d->possibleActions = actions; | - | 
| 1002 | } never executed:  end of block | 0 | 
| 1003 | Qt::DropAction QGraphicsSceneDragDropEvent::proposedAction() const | - | 
| 1004 | { | - | 
| 1005 | const QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 1006 |     return never executed:   d->proposedAction;return d->proposedAction;never executed:  return d->proposedAction; | 0 | 
| 1007 | } | - | 
| 1008 | void QGraphicsSceneDragDropEvent::setProposedAction(Qt::DropAction action) | - | 
| 1009 | { | - | 
| 1010 | QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 1011 | d->proposedAction = action; | - | 
| 1012 | } never executed:  end of block | 0 | 
| 1013 | void QGraphicsSceneDragDropEvent::acceptProposedAction() | - | 
| 1014 | { | - | 
| 1015 | QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 1016 | d->dropAction = d->proposedAction; | - | 
| 1017 | } never executed:  end of block | 0 | 
| 1018 | Qt::DropAction QGraphicsSceneDragDropEvent::dropAction() const | - | 
| 1019 | { | - | 
| 1020 | const QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 1021 |     return never executed:   d->dropAction;return d->dropAction;never executed:  return d->dropAction; | 0 | 
| 1022 | } | - | 
| 1023 | void QGraphicsSceneDragDropEvent::setDropAction(Qt::DropAction action) | - | 
| 1024 | { | - | 
| 1025 | QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 1026 | d->dropAction = action; | - | 
| 1027 | } never executed:  end of block | 0 | 
| 1028 | - | |
| 1029 | - | |
| 1030 | - | |
| 1031 | - | |
| 1032 | - | |
| 1033 | QWidget *QGraphicsSceneDragDropEvent::source() const | - | 
| 1034 | { | - | 
| 1035 | const QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 1036 |     return never executed:   d->source;return d->source;never executed:  return d->source; | 0 | 
| 1037 | } | - | 
| 1038 | - | |
| 1039 | - | |
| 1040 | - | |
| 1041 | - | |
| 1042 | - | |
| 1043 | - | |
| 1044 | void QGraphicsSceneDragDropEvent::setSource(QWidget *source) | - | 
| 1045 | { | - | 
| 1046 | QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 1047 | d->source = source; | - | 
| 1048 | } never executed:  end of block | 0 | 
| 1049 | - | |
| 1050 | - | |
| 1051 | - | |
| 1052 | - | |
| 1053 | const QMimeData *QGraphicsSceneDragDropEvent::mimeData() const | - | 
| 1054 | { | - | 
| 1055 | const QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 1056 |     return never executed:   d->mimeData;return d->mimeData;never executed:  return d->mimeData; | 0 | 
| 1057 | } | - | 
| 1058 | - | |
| 1059 | - | |
| 1060 | - | |
| 1061 | - | |
| 1062 | - | |
| 1063 | void QGraphicsSceneDragDropEvent::setMimeData(const QMimeData *data) | - | 
| 1064 | { | - | 
| 1065 | QGraphicsSceneDragDropEventPrivate * const d = d_func(); | - | 
| 1066 | d->mimeData = data; | - | 
| 1067 | } never executed:  end of block | 0 | 
| 1068 | - | |
| 1069 | class QGraphicsSceneResizeEventPrivate : public QGraphicsSceneEventPrivate | - | 
| 1070 | { | - | 
| 1071 | inline QGraphicsSceneResizeEvent* q_func() { return static_cast<QGraphicsSceneResizeEvent *>(q_ptr); } inline const QGraphicsSceneResizeEvent* q_func() const { return static_cast<const QGraphicsSceneResizeEvent *>(q_ptr); } friend class QGraphicsSceneResizeEvent; | - | 
| 1072 | public: | - | 
| 1073 | inline QGraphicsSceneResizeEventPrivate() | - | 
| 1074 | { } | - | 
| 1075 | - | |
| 1076 | QSizeF oldSize; | - | 
| 1077 | QSizeF newSize; | - | 
| 1078 | }; | - | 
| 1079 | - | |
| 1080 | - | |
| 1081 | - | |
| 1082 | - | |
| 1083 | QGraphicsSceneResizeEvent::QGraphicsSceneResizeEvent() | - | 
| 1084 | : QGraphicsSceneEvent(*new QGraphicsSceneResizeEventPrivate, QEvent::GraphicsSceneResize) | - | 
| 1085 | { | - | 
| 1086 | } never executed:  end of block | 0 | 
| 1087 | - | |
| 1088 | - | |
| 1089 | - | |
| 1090 | - | |
| 1091 | QGraphicsSceneResizeEvent::~QGraphicsSceneResizeEvent() | - | 
| 1092 | { | - | 
| 1093 | } | - | 
| 1094 | - | |
| 1095 | - | |
| 1096 | - | |
| 1097 | - | |
| 1098 | - | |
| 1099 | - | |
| 1100 | - | |
| 1101 | QSizeF QGraphicsSceneResizeEvent::oldSize() const | - | 
| 1102 | { | - | 
| 1103 | const QGraphicsSceneResizeEventPrivate * const d = d_func(); | - | 
| 1104 |     return never executed:   d->oldSize;return d->oldSize;never executed:  return d->oldSize; | 0 | 
| 1105 | } | - | 
| 1106 | - | |
| 1107 | - | |
| 1108 | - | |
| 1109 | - | |
| 1110 | void QGraphicsSceneResizeEvent::setOldSize(const QSizeF &size) | - | 
| 1111 | { | - | 
| 1112 | QGraphicsSceneResizeEventPrivate * const d = d_func(); | - | 
| 1113 | d->oldSize = size; | - | 
| 1114 | } never executed:  end of block | 0 | 
| 1115 | - | |
| 1116 | - | |
| 1117 | - | |
| 1118 | - | |
| 1119 | - | |
| 1120 | - | |
| 1121 | QSizeF QGraphicsSceneResizeEvent::newSize() const | - | 
| 1122 | { | - | 
| 1123 | const QGraphicsSceneResizeEventPrivate * const d = d_func(); | - | 
| 1124 |     return never executed:   d->newSize;return d->newSize;never executed:  return d->newSize; | 0 | 
| 1125 | } | - | 
| 1126 | - | |
| 1127 | - | |
| 1128 | - | |
| 1129 | - | |
| 1130 | void QGraphicsSceneResizeEvent::setNewSize(const QSizeF &size) | - | 
| 1131 | { | - | 
| 1132 | QGraphicsSceneResizeEventPrivate * const d = d_func(); | - | 
| 1133 | d->newSize = size; | - | 
| 1134 | } never executed:  end of block | 0 | 
| 1135 | - | |
| 1136 | class QGraphicsSceneMoveEventPrivate : public QGraphicsSceneEventPrivate | - | 
| 1137 | { | - | 
| 1138 | inline QGraphicsSceneMoveEvent* q_func() { return static_cast<QGraphicsSceneMoveEvent *>(q_ptr); } inline const QGraphicsSceneMoveEvent* q_func() const { return static_cast<const QGraphicsSceneMoveEvent *>(q_ptr); } friend class QGraphicsSceneMoveEvent; | - | 
| 1139 | public: | - | 
| 1140 | inline QGraphicsSceneMoveEventPrivate() | - | 
| 1141 | { } | - | 
| 1142 | - | |
| 1143 | QPointF oldPos; | - | 
| 1144 | QPointF newPos; | - | 
| 1145 | }; | - | 
| 1146 | - | |
| 1147 | - | |
| 1148 | - | |
| 1149 | - | |
| 1150 | QGraphicsSceneMoveEvent::QGraphicsSceneMoveEvent() | - | 
| 1151 | : QGraphicsSceneEvent(*new QGraphicsSceneMoveEventPrivate, QEvent::GraphicsSceneMove) | - | 
| 1152 | { | - | 
| 1153 | } never executed:  end of block | 0 | 
| 1154 | - | |
| 1155 | - | |
| 1156 | - | |
| 1157 | - | |
| 1158 | QGraphicsSceneMoveEvent::~QGraphicsSceneMoveEvent() | - | 
| 1159 | { | - | 
| 1160 | } | - | 
| 1161 | - | |
| 1162 | - | |
| 1163 | - | |
| 1164 | - | |
| 1165 | - | |
| 1166 | - | |
| 1167 | - | |
| 1168 | QPointF QGraphicsSceneMoveEvent::oldPos() const | - | 
| 1169 | { | - | 
| 1170 | const QGraphicsSceneMoveEventPrivate * const d = d_func(); | - | 
| 1171 |     return never executed:   d->oldPos;return d->oldPos;never executed:  return d->oldPos; | 0 | 
| 1172 | } | - | 
| 1173 | - | |
| 1174 | - | |
| 1175 | - | |
| 1176 | - | |
| 1177 | void QGraphicsSceneMoveEvent::setOldPos(const QPointF &pos) | - | 
| 1178 | { | - | 
| 1179 | QGraphicsSceneMoveEventPrivate * const d = d_func(); | - | 
| 1180 | d->oldPos = pos; | - | 
| 1181 | } never executed:  end of block | 0 | 
| 1182 | - | |
| 1183 | - | |
| 1184 | - | |
| 1185 | - | |
| 1186 | - | |
| 1187 | - | |
| 1188 | QPointF QGraphicsSceneMoveEvent::newPos() const | - | 
| 1189 | { | - | 
| 1190 | const QGraphicsSceneMoveEventPrivate * const d = d_func(); | - | 
| 1191 |     return never executed:   d->newPos;return d->newPos;never executed:  return d->newPos; | 0 | 
| 1192 | } | - | 
| 1193 | - | |
| 1194 | - | |
| 1195 | - | |
| 1196 | - | |
| 1197 | void QGraphicsSceneMoveEvent::setNewPos(const QPointF &pos) | - | 
| 1198 | { | - | 
| 1199 | QGraphicsSceneMoveEventPrivate * const d = d_func(); | - | 
| 1200 | d->newPos = pos; | - | 
| 1201 | } never executed:  end of block | 0 | 
| 1202 | - | |
| 1203 | - | |
| Switch to Source code | Preprocessed file |