|
1 /** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
2 * All rights reserved. |
|
3 * This component and the accompanying materials are made available |
|
4 * under the terms of the License "Eclipse Public License v1.0" |
|
5 * which accompanies this distribution, and is available |
|
6 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 * |
|
8 * Initial Contributors: |
|
9 * Nokia Corporation - initial contribution. |
|
10 * |
|
11 * Contributors: |
|
12 * |
|
13 * Description: |
|
14 * |
|
15 */ |
|
16 #include <QDebug> |
|
17 #include <smcmockclassincludes.h> |
|
18 #include <qgraphicsitem.h> |
|
19 |
|
20 #include <QtCore/qglobal.h> |
|
21 #include <QtCore/qobject.h> |
|
22 #include <QtCore/qvariant.h> |
|
23 #include <QtCore/qrect.h> |
|
24 //#include <QtCore/qscopedpointer.h> |
|
25 #include <QtGui/qpainterpath.h> |
|
26 #include <QtGui/qpixmap.h> |
|
27 #include <QPen> |
|
28 #include <QBrush> |
|
29 #include <QFont> |
|
30 #include <QTextCursor> |
|
31 #include <QCursor> |
|
32 #include <QTextDocument> |
|
33 #include <QTransform> |
|
34 |
|
35 #include <QtGui/private/qgraphicsitem_p.h> |
|
36 |
|
37 |
|
38 // ============================ MEMBER FUNCTIONS =============================== |
|
39 |
|
40 // ----------------------------------------------------------------------------- |
|
41 // QGraphicsItemGroup::QGraphicsItemGroup |
|
42 // ----------------------------------------------------------------------------- |
|
43 // |
|
44 QGraphicsItemGroup::QGraphicsItemGroup( |
|
45 QGraphicsItem * /*parent*/, |
|
46 QGraphicsScene * /*scene*/ ) |
|
47 //: |
|
48 //QGraphicsItem( /*parent, scene*/ ) |
|
49 { |
|
50 |
|
51 } |
|
52 |
|
53 |
|
54 // ----------------------------------------------------------------------------- |
|
55 // QGraphicsItemGroup::~QGraphicsItemGroup |
|
56 // ----------------------------------------------------------------------------- |
|
57 // |
|
58 QGraphicsItemGroup::~QGraphicsItemGroup( ) |
|
59 { |
|
60 |
|
61 } |
|
62 |
|
63 |
|
64 // ----------------------------------------------------------------------------- |
|
65 // QGraphicsItemGroup::addToGroup |
|
66 // ----------------------------------------------------------------------------- |
|
67 // |
|
68 void QGraphicsItemGroup::addToGroup( |
|
69 QGraphicsItem * item ) |
|
70 { |
|
71 SMC_MOCK_METHOD1( void, QGraphicsItem *, item ) |
|
72 } |
|
73 |
|
74 |
|
75 // ----------------------------------------------------------------------------- |
|
76 // QGraphicsItemGroup::removeFromGroup |
|
77 // ----------------------------------------------------------------------------- |
|
78 // |
|
79 void QGraphicsItemGroup::removeFromGroup( |
|
80 QGraphicsItem * item ) |
|
81 { |
|
82 SMC_MOCK_METHOD1( void, QGraphicsItem *, item ) |
|
83 } |
|
84 |
|
85 |
|
86 // ----------------------------------------------------------------------------- |
|
87 // QGraphicsItemGroup::boundingRect |
|
88 // ----------------------------------------------------------------------------- |
|
89 // |
|
90 QRectF QGraphicsItemGroup::boundingRect( ) const |
|
91 { |
|
92 SMC_MOCK_METHOD0( QRectF ) |
|
93 } |
|
94 |
|
95 |
|
96 // ----------------------------------------------------------------------------- |
|
97 // QGraphicsItemGroup::paint |
|
98 // ----------------------------------------------------------------------------- |
|
99 // |
|
100 void QGraphicsItemGroup::paint( |
|
101 QPainter * painter, |
|
102 const QStyleOptionGraphicsItem * option, |
|
103 QWidget * widget ) |
|
104 { |
|
105 SMC_MOCK_METHOD3( void, QPainter *, painter, |
|
106 const QStyleOptionGraphicsItem *, option, |
|
107 QWidget *, widget ) |
|
108 } |
|
109 |
|
110 |
|
111 // ----------------------------------------------------------------------------- |
|
112 // QGraphicsItemGroup::isObscuredBy |
|
113 // ----------------------------------------------------------------------------- |
|
114 // |
|
115 bool QGraphicsItemGroup::isObscuredBy( |
|
116 const QGraphicsItem * item ) const |
|
117 { |
|
118 SMC_MOCK_METHOD1( bool, const QGraphicsItem *, item ) |
|
119 } |
|
120 |
|
121 |
|
122 // ----------------------------------------------------------------------------- |
|
123 // QGraphicsItemGroup::opaqueArea |
|
124 // ----------------------------------------------------------------------------- |
|
125 // |
|
126 QPainterPath QGraphicsItemGroup::opaqueArea( ) const |
|
127 { |
|
128 SMC_MOCK_METHOD0( QPainterPath ) |
|
129 } |
|
130 |
|
131 |
|
132 // ----------------------------------------------------------------------------- |
|
133 // QGraphicsItemGroup::type |
|
134 // ----------------------------------------------------------------------------- |
|
135 // |
|
136 int QGraphicsItemGroup::type( ) const |
|
137 { |
|
138 SMC_MOCK_METHOD0( int ) |
|
139 } |
|
140 |
|
141 |
|
142 // ----------------------------------------------------------------------------- |
|
143 // QAbstractGraphicsShapeItem::QAbstractGraphicsShapeItem |
|
144 // ----------------------------------------------------------------------------- |
|
145 // |
|
146 QAbstractGraphicsShapeItem::QAbstractGraphicsShapeItem( |
|
147 QGraphicsItem * /*parent*/, |
|
148 QGraphicsScene * /*scene*/ ) |
|
149 //: |
|
150 //QGraphicsItem( /*parent, scene*/ ) |
|
151 { |
|
152 |
|
153 } |
|
154 |
|
155 |
|
156 // ----------------------------------------------------------------------------- |
|
157 // QAbstractGraphicsShapeItem::~QAbstractGraphicsShapeItem |
|
158 // ----------------------------------------------------------------------------- |
|
159 // |
|
160 QAbstractGraphicsShapeItem::~QAbstractGraphicsShapeItem( ) |
|
161 { |
|
162 |
|
163 } |
|
164 |
|
165 |
|
166 // ----------------------------------------------------------------------------- |
|
167 // QAbstractGraphicsShapeItem::pen |
|
168 // ----------------------------------------------------------------------------- |
|
169 // |
|
170 QPen QAbstractGraphicsShapeItem::pen( ) const |
|
171 { |
|
172 SMC_MOCK_METHOD0( QPen ) |
|
173 } |
|
174 |
|
175 |
|
176 // ----------------------------------------------------------------------------- |
|
177 // QAbstractGraphicsShapeItem::setPen |
|
178 // ----------------------------------------------------------------------------- |
|
179 // |
|
180 void QAbstractGraphicsShapeItem::setPen( |
|
181 const QPen & pen ) |
|
182 { |
|
183 SMC_MOCK_METHOD1( void, const QPen &, pen ) |
|
184 } |
|
185 |
|
186 |
|
187 // ----------------------------------------------------------------------------- |
|
188 // QAbstractGraphicsShapeItem::brush |
|
189 // ----------------------------------------------------------------------------- |
|
190 // |
|
191 QBrush QAbstractGraphicsShapeItem::brush( ) const |
|
192 { |
|
193 SMC_MOCK_METHOD0( QBrush ) |
|
194 } |
|
195 |
|
196 |
|
197 // ----------------------------------------------------------------------------- |
|
198 // QAbstractGraphicsShapeItem::setBrush |
|
199 // ----------------------------------------------------------------------------- |
|
200 // |
|
201 void QAbstractGraphicsShapeItem::setBrush( |
|
202 const QBrush & brush ) |
|
203 { |
|
204 SMC_MOCK_METHOD1( void, const QBrush &, brush ) |
|
205 } |
|
206 |
|
207 |
|
208 // ----------------------------------------------------------------------------- |
|
209 // QAbstractGraphicsShapeItem::isObscuredBy |
|
210 // ----------------------------------------------------------------------------- |
|
211 // |
|
212 bool QAbstractGraphicsShapeItem::isObscuredBy( |
|
213 const QGraphicsItem * item ) const |
|
214 { |
|
215 SMC_MOCK_METHOD1( bool, const QGraphicsItem *, item ) |
|
216 } |
|
217 |
|
218 |
|
219 // ----------------------------------------------------------------------------- |
|
220 // QAbstractGraphicsShapeItem::opaqueArea |
|
221 // ----------------------------------------------------------------------------- |
|
222 // |
|
223 QPainterPath QAbstractGraphicsShapeItem::opaqueArea( ) const |
|
224 { |
|
225 SMC_MOCK_METHOD0( QPainterPath ) |
|
226 } |
|
227 |
|
228 |
|
229 // ----------------------------------------------------------------------------- |
|
230 // QAbstractGraphicsShapeItem::QAbstractGraphicsShapeItem |
|
231 // ----------------------------------------------------------------------------- |
|
232 // |
|
233 QAbstractGraphicsShapeItem::QAbstractGraphicsShapeItem( |
|
234 QAbstractGraphicsShapeItemPrivate & dd, |
|
235 QGraphicsItem * /*parent*/, |
|
236 QGraphicsScene * /*scene*/ ) |
|
237 //: |
|
238 //QGraphicsItem( /*dd, parent, scene*/ ) |
|
239 { |
|
240 |
|
241 } |
|
242 |
|
243 |
|
244 // ----------------------------------------------------------------------------- |
|
245 // QGraphicsLineItem::QGraphicsLineItem |
|
246 // ----------------------------------------------------------------------------- |
|
247 // |
|
248 QGraphicsLineItem::QGraphicsLineItem( |
|
249 QGraphicsItem * /*parent*/, |
|
250 QGraphicsScene * /*scene*/ ) |
|
251 //: |
|
252 //QGraphicsItem( /*parent, scene*/ ) |
|
253 { |
|
254 |
|
255 } |
|
256 |
|
257 |
|
258 // ----------------------------------------------------------------------------- |
|
259 // QGraphicsLineItem::QGraphicsLineItem |
|
260 // ----------------------------------------------------------------------------- |
|
261 // |
|
262 QGraphicsLineItem::QGraphicsLineItem( |
|
263 const QLineF & line, |
|
264 QGraphicsItem * /*parent*/, |
|
265 QGraphicsScene * /*scene*/ ) |
|
266 //: |
|
267 //QGraphicsItem( /*line, parent, scene*/ ) |
|
268 { |
|
269 |
|
270 } |
|
271 |
|
272 |
|
273 // ----------------------------------------------------------------------------- |
|
274 // QGraphicsLineItem::QGraphicsLineItem |
|
275 // ----------------------------------------------------------------------------- |
|
276 // |
|
277 QGraphicsLineItem::QGraphicsLineItem( |
|
278 qreal x1, |
|
279 qreal y1, |
|
280 qreal x2, |
|
281 qreal y2, |
|
282 QGraphicsItem * /*parent*/, |
|
283 QGraphicsScene * /*scene*/ ) |
|
284 //: |
|
285 //QGraphicsItem( /*x1, y1, x2, y2, parent, scene*/ ) |
|
286 { |
|
287 |
|
288 } |
|
289 |
|
290 |
|
291 // ----------------------------------------------------------------------------- |
|
292 // QGraphicsLineItem::~QGraphicsLineItem |
|
293 // ----------------------------------------------------------------------------- |
|
294 // |
|
295 QGraphicsLineItem::~QGraphicsLineItem( ) |
|
296 { |
|
297 |
|
298 } |
|
299 |
|
300 |
|
301 // ----------------------------------------------------------------------------- |
|
302 // QGraphicsLineItem::pen |
|
303 // ----------------------------------------------------------------------------- |
|
304 // |
|
305 QPen QGraphicsLineItem::pen( ) const |
|
306 { |
|
307 SMC_MOCK_METHOD0( QPen ) |
|
308 } |
|
309 |
|
310 |
|
311 // ----------------------------------------------------------------------------- |
|
312 // QGraphicsLineItem::setPen |
|
313 // ----------------------------------------------------------------------------- |
|
314 // |
|
315 void QGraphicsLineItem::setPen( |
|
316 const QPen & pen ) |
|
317 { |
|
318 SMC_MOCK_METHOD1( void, const QPen &, pen ) |
|
319 } |
|
320 |
|
321 |
|
322 // ----------------------------------------------------------------------------- |
|
323 // QGraphicsLineItem::line |
|
324 // ----------------------------------------------------------------------------- |
|
325 // |
|
326 QLineF QGraphicsLineItem::line( ) const |
|
327 { |
|
328 SMC_MOCK_METHOD0( QLineF ) |
|
329 } |
|
330 |
|
331 |
|
332 // ----------------------------------------------------------------------------- |
|
333 // QGraphicsLineItem::setLine |
|
334 // ----------------------------------------------------------------------------- |
|
335 // |
|
336 void QGraphicsLineItem::setLine( |
|
337 const QLineF & line ) |
|
338 { |
|
339 SMC_MOCK_METHOD1( void, const QLineF &, line ) |
|
340 } |
|
341 |
|
342 |
|
343 // ----------------------------------------------------------------------------- |
|
344 // QGraphicsLineItem::boundingRect |
|
345 // ----------------------------------------------------------------------------- |
|
346 // |
|
347 QRectF QGraphicsLineItem::boundingRect( ) const |
|
348 { |
|
349 SMC_MOCK_METHOD0( QRectF ) |
|
350 } |
|
351 |
|
352 |
|
353 // ----------------------------------------------------------------------------- |
|
354 // QGraphicsLineItem::shape |
|
355 // ----------------------------------------------------------------------------- |
|
356 // |
|
357 QPainterPath QGraphicsLineItem::shape( ) const |
|
358 { |
|
359 SMC_MOCK_METHOD0( QPainterPath ) |
|
360 } |
|
361 |
|
362 |
|
363 // ----------------------------------------------------------------------------- |
|
364 // QGraphicsLineItem::contains |
|
365 // ----------------------------------------------------------------------------- |
|
366 // |
|
367 bool QGraphicsLineItem::contains( |
|
368 const QPointF & point ) const |
|
369 { |
|
370 SMC_MOCK_METHOD1( bool, const QPointF &, point ) |
|
371 } |
|
372 |
|
373 |
|
374 // ----------------------------------------------------------------------------- |
|
375 // QGraphicsLineItem::paint |
|
376 // ----------------------------------------------------------------------------- |
|
377 // |
|
378 void QGraphicsLineItem::paint( |
|
379 QPainter * painter, |
|
380 const QStyleOptionGraphicsItem * option, |
|
381 QWidget * widget ) |
|
382 { |
|
383 SMC_MOCK_METHOD3( void, QPainter *, painter, |
|
384 const QStyleOptionGraphicsItem *, option, |
|
385 QWidget *, widget ) |
|
386 } |
|
387 |
|
388 |
|
389 // ----------------------------------------------------------------------------- |
|
390 // QGraphicsLineItem::isObscuredBy |
|
391 // ----------------------------------------------------------------------------- |
|
392 // |
|
393 bool QGraphicsLineItem::isObscuredBy( |
|
394 const QGraphicsItem * item ) const |
|
395 { |
|
396 SMC_MOCK_METHOD1( bool, const QGraphicsItem *, item ) |
|
397 } |
|
398 |
|
399 |
|
400 // ----------------------------------------------------------------------------- |
|
401 // QGraphicsLineItem::opaqueArea |
|
402 // ----------------------------------------------------------------------------- |
|
403 // |
|
404 QPainterPath QGraphicsLineItem::opaqueArea( ) const |
|
405 { |
|
406 SMC_MOCK_METHOD0( QPainterPath ) |
|
407 } |
|
408 |
|
409 |
|
410 // ----------------------------------------------------------------------------- |
|
411 // QGraphicsLineItem::type |
|
412 // ----------------------------------------------------------------------------- |
|
413 // |
|
414 int QGraphicsLineItem::type( ) const |
|
415 { |
|
416 SMC_MOCK_METHOD0( int ) |
|
417 } |
|
418 |
|
419 |
|
420 // ----------------------------------------------------------------------------- |
|
421 // QGraphicsLineItem::supportsExtension |
|
422 // ----------------------------------------------------------------------------- |
|
423 // |
|
424 bool QGraphicsLineItem::supportsExtension( |
|
425 Extension extension ) const |
|
426 { |
|
427 SMC_MOCK_METHOD1( bool, Extension, extension ) |
|
428 } |
|
429 |
|
430 |
|
431 // ----------------------------------------------------------------------------- |
|
432 // QGraphicsLineItem::setExtension |
|
433 // ----------------------------------------------------------------------------- |
|
434 // |
|
435 void QGraphicsLineItem::setExtension( |
|
436 Extension extension, |
|
437 const QVariant & variant ) |
|
438 { |
|
439 SMC_MOCK_METHOD2( void, Extension, extension, |
|
440 const QVariant &, variant ) |
|
441 } |
|
442 |
|
443 |
|
444 // ----------------------------------------------------------------------------- |
|
445 // QGraphicsLineItem::extension |
|
446 // ----------------------------------------------------------------------------- |
|
447 // |
|
448 QVariant QGraphicsLineItem::extension( |
|
449 const QVariant & variant ) const |
|
450 { |
|
451 SMC_MOCK_METHOD1( QVariant, const QVariant &, variant ) |
|
452 } |
|
453 |
|
454 |
|
455 // ----------------------------------------------------------------------------- |
|
456 // QGraphicsTextItem::QGraphicsTextItem |
|
457 // ----------------------------------------------------------------------------- |
|
458 // |
|
459 QGraphicsTextItem::QGraphicsTextItem( |
|
460 const QString & text, |
|
461 QGraphicsItem * /*parent*/, |
|
462 QGraphicsScene * /*scene*/ ) |
|
463 //: |
|
464 //QGraphicsObject( /*text, parent, scene*/ ) |
|
465 { |
|
466 |
|
467 } |
|
468 |
|
469 |
|
470 // ----------------------------------------------------------------------------- |
|
471 // QGraphicsTextItem::~QGraphicsTextItem |
|
472 // ----------------------------------------------------------------------------- |
|
473 // |
|
474 QGraphicsTextItem::~QGraphicsTextItem( ) |
|
475 { |
|
476 |
|
477 } |
|
478 |
|
479 |
|
480 // ----------------------------------------------------------------------------- |
|
481 // QGraphicsTextItem::toHtml |
|
482 // ----------------------------------------------------------------------------- |
|
483 // |
|
484 QString QGraphicsTextItem::toHtml( ) const |
|
485 { |
|
486 SMC_MOCK_METHOD0( QString ) |
|
487 } |
|
488 |
|
489 |
|
490 // ----------------------------------------------------------------------------- |
|
491 // QGraphicsTextItem::setHtml |
|
492 // ----------------------------------------------------------------------------- |
|
493 // |
|
494 void QGraphicsTextItem::setHtml( |
|
495 const QString & html ) |
|
496 { |
|
497 SMC_MOCK_METHOD1( void, const QString &, html ) |
|
498 } |
|
499 |
|
500 |
|
501 // ----------------------------------------------------------------------------- |
|
502 // QGraphicsTextItem::toPlainText |
|
503 // ----------------------------------------------------------------------------- |
|
504 // |
|
505 QString QGraphicsTextItem::toPlainText( ) const |
|
506 { |
|
507 SMC_MOCK_METHOD0( QString ) |
|
508 } |
|
509 |
|
510 |
|
511 // ----------------------------------------------------------------------------- |
|
512 // QGraphicsTextItem::setPlainText |
|
513 // ----------------------------------------------------------------------------- |
|
514 // |
|
515 void QGraphicsTextItem::setPlainText( |
|
516 const QString & text ) |
|
517 { |
|
518 SMC_MOCK_METHOD1( void, const QString &, text ) |
|
519 } |
|
520 |
|
521 |
|
522 // ----------------------------------------------------------------------------- |
|
523 // QGraphicsTextItem::font |
|
524 // ----------------------------------------------------------------------------- |
|
525 // |
|
526 QFont QGraphicsTextItem::font( ) const |
|
527 { |
|
528 SMC_MOCK_METHOD0( QFont ) |
|
529 } |
|
530 |
|
531 |
|
532 // ----------------------------------------------------------------------------- |
|
533 // QGraphicsTextItem::setFont |
|
534 // ----------------------------------------------------------------------------- |
|
535 // |
|
536 void QGraphicsTextItem::setFont( |
|
537 const QFont & font ) |
|
538 { |
|
539 SMC_MOCK_METHOD1( void, const QFont &, font ) |
|
540 } |
|
541 |
|
542 |
|
543 // ----------------------------------------------------------------------------- |
|
544 // QGraphicsTextItem::setDefaultTextColor |
|
545 // ----------------------------------------------------------------------------- |
|
546 // |
|
547 void QGraphicsTextItem::setDefaultTextColor( |
|
548 const QColor & c ) |
|
549 { |
|
550 SMC_MOCK_METHOD1( void, const QColor &, c ) |
|
551 } |
|
552 |
|
553 |
|
554 // ----------------------------------------------------------------------------- |
|
555 // QGraphicsTextItem::defaultTextColor |
|
556 // ----------------------------------------------------------------------------- |
|
557 // |
|
558 QColor QGraphicsTextItem::defaultTextColor( ) const |
|
559 { |
|
560 SMC_MOCK_METHOD0( QColor ) |
|
561 } |
|
562 |
|
563 |
|
564 // ----------------------------------------------------------------------------- |
|
565 // QGraphicsTextItem::boundingRect |
|
566 // ----------------------------------------------------------------------------- |
|
567 // |
|
568 QRectF QGraphicsTextItem::boundingRect( ) const |
|
569 { |
|
570 SMC_MOCK_METHOD0( QRectF ) |
|
571 } |
|
572 |
|
573 |
|
574 // ----------------------------------------------------------------------------- |
|
575 // QGraphicsTextItem::shape |
|
576 // ----------------------------------------------------------------------------- |
|
577 // |
|
578 QPainterPath QGraphicsTextItem::shape( ) const |
|
579 { |
|
580 SMC_MOCK_METHOD0( QPainterPath ) |
|
581 } |
|
582 |
|
583 |
|
584 // ----------------------------------------------------------------------------- |
|
585 // QGraphicsTextItem::contains |
|
586 // ----------------------------------------------------------------------------- |
|
587 // |
|
588 bool QGraphicsTextItem::contains( |
|
589 const QPointF & point ) const |
|
590 { |
|
591 SMC_MOCK_METHOD1( bool, const QPointF &, point ) |
|
592 } |
|
593 |
|
594 |
|
595 // ----------------------------------------------------------------------------- |
|
596 // QGraphicsTextItem::paint |
|
597 // ----------------------------------------------------------------------------- |
|
598 // |
|
599 void QGraphicsTextItem::paint( |
|
600 QPainter * painter, |
|
601 const QStyleOptionGraphicsItem * option, |
|
602 QWidget * widget ) |
|
603 { |
|
604 SMC_MOCK_METHOD3( void, QPainter *, painter, |
|
605 const QStyleOptionGraphicsItem *, option, |
|
606 QWidget *, widget ) |
|
607 } |
|
608 |
|
609 |
|
610 // ----------------------------------------------------------------------------- |
|
611 // QGraphicsTextItem::isObscuredBy |
|
612 // ----------------------------------------------------------------------------- |
|
613 // |
|
614 bool QGraphicsTextItem::isObscuredBy( |
|
615 const QGraphicsItem * item ) const |
|
616 { |
|
617 SMC_MOCK_METHOD1( bool, const QGraphicsItem *, item ) |
|
618 } |
|
619 |
|
620 |
|
621 // ----------------------------------------------------------------------------- |
|
622 // QGraphicsTextItem::opaqueArea |
|
623 // ----------------------------------------------------------------------------- |
|
624 // |
|
625 QPainterPath QGraphicsTextItem::opaqueArea( ) const |
|
626 { |
|
627 SMC_MOCK_METHOD0( QPainterPath ) |
|
628 } |
|
629 |
|
630 |
|
631 // ----------------------------------------------------------------------------- |
|
632 // QGraphicsTextItem::type |
|
633 // ----------------------------------------------------------------------------- |
|
634 // |
|
635 int QGraphicsTextItem::type( ) const |
|
636 { |
|
637 SMC_MOCK_METHOD0( int ) |
|
638 } |
|
639 |
|
640 |
|
641 // ----------------------------------------------------------------------------- |
|
642 // QGraphicsTextItem::setTextWidth |
|
643 // ----------------------------------------------------------------------------- |
|
644 // |
|
645 void QGraphicsTextItem::setTextWidth( |
|
646 qreal width ) |
|
647 { |
|
648 SMC_MOCK_METHOD1( void, qreal, width ) |
|
649 } |
|
650 |
|
651 |
|
652 // ----------------------------------------------------------------------------- |
|
653 // QGraphicsTextItem::textWidth |
|
654 // ----------------------------------------------------------------------------- |
|
655 // |
|
656 qreal QGraphicsTextItem::textWidth( ) const |
|
657 { |
|
658 SMC_MOCK_METHOD0( qreal ) |
|
659 } |
|
660 |
|
661 |
|
662 // ----------------------------------------------------------------------------- |
|
663 // QGraphicsTextItem::adjustSize |
|
664 // ----------------------------------------------------------------------------- |
|
665 // |
|
666 void QGraphicsTextItem::adjustSize( ) |
|
667 { |
|
668 SMC_MOCK_METHOD0( void ) |
|
669 } |
|
670 |
|
671 |
|
672 // ----------------------------------------------------------------------------- |
|
673 // QGraphicsTextItem::setDocument |
|
674 // ----------------------------------------------------------------------------- |
|
675 // |
|
676 void QGraphicsTextItem::setDocument( |
|
677 QTextDocument * document ) |
|
678 { |
|
679 SMC_MOCK_METHOD1( void, QTextDocument *, document ) |
|
680 } |
|
681 |
|
682 |
|
683 // ----------------------------------------------------------------------------- |
|
684 // QGraphicsTextItem::document |
|
685 // ----------------------------------------------------------------------------- |
|
686 // |
|
687 QTextDocument * QGraphicsTextItem::document( ) const |
|
688 { |
|
689 SMC_MOCK_METHOD0( QTextDocument * ) |
|
690 } |
|
691 |
|
692 |
|
693 // ----------------------------------------------------------------------------- |
|
694 // QGraphicsTextItem::setTextInteractionFlags |
|
695 // ----------------------------------------------------------------------------- |
|
696 // |
|
697 void QGraphicsTextItem::setTextInteractionFlags( |
|
698 Qt::TextInteractionFlags flags ) |
|
699 { |
|
700 //SMC_MOCK_METHOD1( void, tiFlag, flags ) |
|
701 } |
|
702 |
|
703 |
|
704 // ----------------------------------------------------------------------------- |
|
705 // QGraphicsTextItem::textInteractionFlags |
|
706 // ----------------------------------------------------------------------------- |
|
707 // |
|
708 Qt::TextInteractionFlags QGraphicsTextItem::textInteractionFlags( ) const |
|
709 { |
|
710 typedef QFlags<Qt::TextInteractionFlag> tiFlag; |
|
711 SMC_MOCK_METHOD0( tiFlag ) |
|
712 } |
|
713 |
|
714 |
|
715 // ----------------------------------------------------------------------------- |
|
716 // QGraphicsTextItem::setTabChangesFocus |
|
717 // ----------------------------------------------------------------------------- |
|
718 // |
|
719 void QGraphicsTextItem::setTabChangesFocus( |
|
720 bool b ) |
|
721 { |
|
722 SMC_MOCK_METHOD1( void, bool, b ) |
|
723 } |
|
724 |
|
725 |
|
726 // ----------------------------------------------------------------------------- |
|
727 // QGraphicsTextItem::tabChangesFocus |
|
728 // ----------------------------------------------------------------------------- |
|
729 // |
|
730 bool QGraphicsTextItem::tabChangesFocus( ) const |
|
731 { |
|
732 SMC_MOCK_METHOD0( bool ) |
|
733 } |
|
734 |
|
735 |
|
736 // ----------------------------------------------------------------------------- |
|
737 // QGraphicsTextItem::setOpenExternalLinks |
|
738 // ----------------------------------------------------------------------------- |
|
739 // |
|
740 void QGraphicsTextItem::setOpenExternalLinks( |
|
741 bool open ) |
|
742 { |
|
743 SMC_MOCK_METHOD1( void, bool, open ) |
|
744 } |
|
745 |
|
746 |
|
747 // ----------------------------------------------------------------------------- |
|
748 // QGraphicsTextItem::openExternalLinks |
|
749 // ----------------------------------------------------------------------------- |
|
750 // |
|
751 bool QGraphicsTextItem::openExternalLinks( ) const |
|
752 { |
|
753 SMC_MOCK_METHOD0( bool ) |
|
754 } |
|
755 |
|
756 |
|
757 // ----------------------------------------------------------------------------- |
|
758 // QGraphicsTextItem::setTextCursor |
|
759 // ----------------------------------------------------------------------------- |
|
760 // |
|
761 void QGraphicsTextItem::setTextCursor( |
|
762 const QTextCursor & cursor ) |
|
763 { |
|
764 SMC_MOCK_METHOD1( void, const QTextCursor &, cursor ) |
|
765 } |
|
766 |
|
767 |
|
768 // ----------------------------------------------------------------------------- |
|
769 // QGraphicsTextItem::textCursor |
|
770 // ----------------------------------------------------------------------------- |
|
771 // |
|
772 QTextCursor QGraphicsTextItem::textCursor( ) const |
|
773 { |
|
774 SMC_MOCK_METHOD0( QTextCursor ) |
|
775 } |
|
776 |
|
777 |
|
778 // ----------------------------------------------------------------------------- |
|
779 // QGraphicsTextItem::linkActivated |
|
780 // ----------------------------------------------------------------------------- |
|
781 // |
|
782 /*void QGraphicsTextItem::linkActivated( |
|
783 const QString & ) |
|
784 { |
|
785 SMC_MOCK_METHOD1( void, const QString, & ) |
|
786 }*/ |
|
787 |
|
788 |
|
789 // ----------------------------------------------------------------------------- |
|
790 // QGraphicsTextItem::linkHovered |
|
791 // ----------------------------------------------------------------------------- |
|
792 // |
|
793 /*void QGraphicsTextItem::linkHovered( |
|
794 const QString & ) |
|
795 { |
|
796 SMC_MOCK_METHOD1( void, const QString, & ) |
|
797 }*/ |
|
798 |
|
799 |
|
800 // ----------------------------------------------------------------------------- |
|
801 // QGraphicsTextItem::sceneEvent |
|
802 // ----------------------------------------------------------------------------- |
|
803 // |
|
804 bool QGraphicsTextItem::sceneEvent( |
|
805 QEvent * event ) |
|
806 { |
|
807 SMC_MOCK_METHOD1( bool, QEvent *, event ) |
|
808 } |
|
809 |
|
810 |
|
811 // ----------------------------------------------------------------------------- |
|
812 // QGraphicsTextItem::mousePressEvent |
|
813 // ----------------------------------------------------------------------------- |
|
814 // |
|
815 void QGraphicsTextItem::mousePressEvent( |
|
816 QGraphicsSceneMouseEvent * event ) |
|
817 { |
|
818 SMC_MOCK_METHOD1( void, QGraphicsSceneMouseEvent *, event ) |
|
819 } |
|
820 |
|
821 |
|
822 // ----------------------------------------------------------------------------- |
|
823 // QGraphicsTextItem::mouseMoveEvent |
|
824 // ----------------------------------------------------------------------------- |
|
825 // |
|
826 void QGraphicsTextItem::mouseMoveEvent( |
|
827 QGraphicsSceneMouseEvent * event ) |
|
828 { |
|
829 SMC_MOCK_METHOD1( void, QGraphicsSceneMouseEvent *, event ) |
|
830 } |
|
831 |
|
832 |
|
833 // ----------------------------------------------------------------------------- |
|
834 // QGraphicsTextItem::mouseReleaseEvent |
|
835 // ----------------------------------------------------------------------------- |
|
836 // |
|
837 void QGraphicsTextItem::mouseReleaseEvent( |
|
838 QGraphicsSceneMouseEvent * event ) |
|
839 { |
|
840 SMC_MOCK_METHOD1( void, QGraphicsSceneMouseEvent *, event ) |
|
841 } |
|
842 |
|
843 |
|
844 // ----------------------------------------------------------------------------- |
|
845 // QGraphicsTextItem::mouseDoubleClickEvent |
|
846 // ----------------------------------------------------------------------------- |
|
847 // |
|
848 void QGraphicsTextItem::mouseDoubleClickEvent( |
|
849 QGraphicsSceneMouseEvent * event ) |
|
850 { |
|
851 SMC_MOCK_METHOD1( void, QGraphicsSceneMouseEvent *, event ) |
|
852 } |
|
853 |
|
854 |
|
855 // ----------------------------------------------------------------------------- |
|
856 // QGraphicsTextItem::contextMenuEvent |
|
857 // ----------------------------------------------------------------------------- |
|
858 // |
|
859 void QGraphicsTextItem::contextMenuEvent( |
|
860 QGraphicsSceneContextMenuEvent * event ) |
|
861 { |
|
862 SMC_MOCK_METHOD1( void, QGraphicsSceneContextMenuEvent *, event ) |
|
863 } |
|
864 |
|
865 |
|
866 // ----------------------------------------------------------------------------- |
|
867 // QGraphicsTextItem::keyPressEvent |
|
868 // ----------------------------------------------------------------------------- |
|
869 // |
|
870 void QGraphicsTextItem::keyPressEvent( |
|
871 QKeyEvent * event ) |
|
872 { |
|
873 SMC_MOCK_METHOD1( void, QKeyEvent *, event ) |
|
874 } |
|
875 |
|
876 |
|
877 // ----------------------------------------------------------------------------- |
|
878 // QGraphicsTextItem::keyReleaseEvent |
|
879 // ----------------------------------------------------------------------------- |
|
880 // |
|
881 void QGraphicsTextItem::keyReleaseEvent( |
|
882 QKeyEvent * event ) |
|
883 { |
|
884 SMC_MOCK_METHOD1( void, QKeyEvent *, event ) |
|
885 } |
|
886 |
|
887 |
|
888 // ----------------------------------------------------------------------------- |
|
889 // QGraphicsTextItem::focusInEvent |
|
890 // ----------------------------------------------------------------------------- |
|
891 // |
|
892 void QGraphicsTextItem::focusInEvent( |
|
893 QFocusEvent * event ) |
|
894 { |
|
895 SMC_MOCK_METHOD1( void, QFocusEvent *, event ) |
|
896 } |
|
897 |
|
898 |
|
899 // ----------------------------------------------------------------------------- |
|
900 // QGraphicsTextItem::focusOutEvent |
|
901 // ----------------------------------------------------------------------------- |
|
902 // |
|
903 void QGraphicsTextItem::focusOutEvent( |
|
904 QFocusEvent * event ) |
|
905 { |
|
906 SMC_MOCK_METHOD1( void, QFocusEvent *, event ) |
|
907 } |
|
908 |
|
909 |
|
910 // ----------------------------------------------------------------------------- |
|
911 // QGraphicsTextItem::dragEnterEvent |
|
912 // ----------------------------------------------------------------------------- |
|
913 // |
|
914 void QGraphicsTextItem::dragEnterEvent( |
|
915 QGraphicsSceneDragDropEvent * event ) |
|
916 { |
|
917 SMC_MOCK_METHOD1( void, QGraphicsSceneDragDropEvent *, event ) |
|
918 } |
|
919 |
|
920 |
|
921 // ----------------------------------------------------------------------------- |
|
922 // QGraphicsTextItem::dragLeaveEvent |
|
923 // ----------------------------------------------------------------------------- |
|
924 // |
|
925 void QGraphicsTextItem::dragLeaveEvent( |
|
926 QGraphicsSceneDragDropEvent * event ) |
|
927 { |
|
928 SMC_MOCK_METHOD1( void, QGraphicsSceneDragDropEvent *, event ) |
|
929 } |
|
930 |
|
931 |
|
932 // ----------------------------------------------------------------------------- |
|
933 // QGraphicsTextItem::dragMoveEvent |
|
934 // ----------------------------------------------------------------------------- |
|
935 // |
|
936 void QGraphicsTextItem::dragMoveEvent( |
|
937 QGraphicsSceneDragDropEvent * event ) |
|
938 { |
|
939 SMC_MOCK_METHOD1( void, QGraphicsSceneDragDropEvent *, event ) |
|
940 } |
|
941 |
|
942 |
|
943 // ----------------------------------------------------------------------------- |
|
944 // QGraphicsTextItem::dropEvent |
|
945 // ----------------------------------------------------------------------------- |
|
946 // |
|
947 void QGraphicsTextItem::dropEvent( |
|
948 QGraphicsSceneDragDropEvent * event ) |
|
949 { |
|
950 SMC_MOCK_METHOD1( void, QGraphicsSceneDragDropEvent *, event ) |
|
951 } |
|
952 |
|
953 |
|
954 // ----------------------------------------------------------------------------- |
|
955 // QGraphicsTextItem::inputMethodEvent |
|
956 // ----------------------------------------------------------------------------- |
|
957 // |
|
958 void QGraphicsTextItem::inputMethodEvent( |
|
959 QInputMethodEvent * event ) |
|
960 { |
|
961 SMC_MOCK_METHOD1( void, QInputMethodEvent *, event ) |
|
962 } |
|
963 |
|
964 |
|
965 // ----------------------------------------------------------------------------- |
|
966 // QGraphicsTextItem::hoverEnterEvent |
|
967 // ----------------------------------------------------------------------------- |
|
968 // |
|
969 void QGraphicsTextItem::hoverEnterEvent( |
|
970 QGraphicsSceneHoverEvent * event ) |
|
971 { |
|
972 SMC_MOCK_METHOD1( void, QGraphicsSceneHoverEvent *, event ) |
|
973 } |
|
974 |
|
975 |
|
976 // ----------------------------------------------------------------------------- |
|
977 // QGraphicsTextItem::hoverMoveEvent |
|
978 // ----------------------------------------------------------------------------- |
|
979 // |
|
980 void QGraphicsTextItem::hoverMoveEvent( |
|
981 QGraphicsSceneHoverEvent * event ) |
|
982 { |
|
983 SMC_MOCK_METHOD1( void, QGraphicsSceneHoverEvent *, event ) |
|
984 } |
|
985 |
|
986 |
|
987 // ----------------------------------------------------------------------------- |
|
988 // QGraphicsTextItem::hoverLeaveEvent |
|
989 // ----------------------------------------------------------------------------- |
|
990 // |
|
991 void QGraphicsTextItem::hoverLeaveEvent( |
|
992 QGraphicsSceneHoverEvent * event ) |
|
993 { |
|
994 SMC_MOCK_METHOD1( void, QGraphicsSceneHoverEvent *, event ) |
|
995 } |
|
996 |
|
997 |
|
998 // ----------------------------------------------------------------------------- |
|
999 // QGraphicsTextItem::inputMethodQuery |
|
1000 // ----------------------------------------------------------------------------- |
|
1001 // |
|
1002 QVariant QGraphicsTextItem::inputMethodQuery( |
|
1003 Qt::InputMethodQuery query ) const |
|
1004 { |
|
1005 SMC_MOCK_METHOD1( QVariant, Qt::InputMethodQuery, query ) |
|
1006 } |
|
1007 |
|
1008 |
|
1009 // ----------------------------------------------------------------------------- |
|
1010 // QGraphicsTextItem::supportsExtension |
|
1011 // ----------------------------------------------------------------------------- |
|
1012 // |
|
1013 bool QGraphicsTextItem::supportsExtension( |
|
1014 Extension extension ) const |
|
1015 { |
|
1016 SMC_MOCK_METHOD1( bool, Extension, extension ) |
|
1017 } |
|
1018 |
|
1019 |
|
1020 // ----------------------------------------------------------------------------- |
|
1021 // QGraphicsTextItem::setExtension |
|
1022 // ----------------------------------------------------------------------------- |
|
1023 // |
|
1024 void QGraphicsTextItem::setExtension( |
|
1025 Extension extension, |
|
1026 const QVariant & variant ) |
|
1027 { |
|
1028 SMC_MOCK_METHOD2( void, Extension, extension, |
|
1029 const QVariant &, variant ) |
|
1030 } |
|
1031 |
|
1032 |
|
1033 // ----------------------------------------------------------------------------- |
|
1034 // QGraphicsTextItem::extension |
|
1035 // ----------------------------------------------------------------------------- |
|
1036 // |
|
1037 QVariant QGraphicsTextItem::extension( |
|
1038 const QVariant & variant ) const |
|
1039 { |
|
1040 SMC_MOCK_METHOD1( QVariant, const QVariant &, variant ) |
|
1041 } |
|
1042 |
|
1043 |
|
1044 // ----------------------------------------------------------------------------- |
|
1045 // QGraphicsItem::QGraphicsItem |
|
1046 // ----------------------------------------------------------------------------- |
|
1047 // |
|
1048 QGraphicsItem::QGraphicsItem( |
|
1049 QGraphicsItem * /*parent*/, |
|
1050 QGraphicsScene * /*scene*/ ) |
|
1051 { |
|
1052 |
|
1053 } |
|
1054 |
|
1055 |
|
1056 // ----------------------------------------------------------------------------- |
|
1057 // QGraphicsItem::~QGraphicsItem |
|
1058 // ----------------------------------------------------------------------------- |
|
1059 // |
|
1060 QGraphicsItem::~QGraphicsItem( ) |
|
1061 { |
|
1062 |
|
1063 } |
|
1064 |
|
1065 |
|
1066 // ----------------------------------------------------------------------------- |
|
1067 // QGraphicsItem::scene |
|
1068 // ----------------------------------------------------------------------------- |
|
1069 // |
|
1070 QGraphicsScene * QGraphicsItem::scene( ) const |
|
1071 { |
|
1072 SMC_MOCK_METHOD0( QGraphicsScene * ) |
|
1073 } |
|
1074 |
|
1075 |
|
1076 // ----------------------------------------------------------------------------- |
|
1077 // QGraphicsItem::parentItem |
|
1078 // ----------------------------------------------------------------------------- |
|
1079 // |
|
1080 QGraphicsItem * QGraphicsItem::parentItem( ) const |
|
1081 { |
|
1082 SMC_MOCK_METHOD0( QGraphicsItem * ) |
|
1083 } |
|
1084 |
|
1085 |
|
1086 // ----------------------------------------------------------------------------- |
|
1087 // QGraphicsItem::topLevelItem |
|
1088 // ----------------------------------------------------------------------------- |
|
1089 // |
|
1090 QGraphicsItem * QGraphicsItem::topLevelItem( ) const |
|
1091 { |
|
1092 SMC_MOCK_METHOD0( QGraphicsItem * ) |
|
1093 } |
|
1094 |
|
1095 |
|
1096 // ----------------------------------------------------------------------------- |
|
1097 // QGraphicsItem::parentObject |
|
1098 // ----------------------------------------------------------------------------- |
|
1099 // |
|
1100 QGraphicsObject * QGraphicsItem::parentObject( ) const |
|
1101 { |
|
1102 SMC_MOCK_METHOD0( QGraphicsObject * ) |
|
1103 } |
|
1104 |
|
1105 |
|
1106 // ----------------------------------------------------------------------------- |
|
1107 // QGraphicsItem::parentWidget |
|
1108 // ----------------------------------------------------------------------------- |
|
1109 // |
|
1110 QGraphicsWidget * QGraphicsItem::parentWidget( ) const |
|
1111 { |
|
1112 SMC_MOCK_METHOD0( QGraphicsWidget * ) |
|
1113 } |
|
1114 |
|
1115 |
|
1116 // ----------------------------------------------------------------------------- |
|
1117 // QGraphicsItem::topLevelWidget |
|
1118 // ----------------------------------------------------------------------------- |
|
1119 // |
|
1120 QGraphicsWidget * QGraphicsItem::topLevelWidget( ) const |
|
1121 { |
|
1122 SMC_MOCK_METHOD0( QGraphicsWidget * ) |
|
1123 } |
|
1124 |
|
1125 |
|
1126 // ----------------------------------------------------------------------------- |
|
1127 // QGraphicsItem::window |
|
1128 // ----------------------------------------------------------------------------- |
|
1129 // |
|
1130 QGraphicsWidget * QGraphicsItem::window( ) const |
|
1131 { |
|
1132 SMC_MOCK_METHOD0( QGraphicsWidget * ) |
|
1133 } |
|
1134 |
|
1135 |
|
1136 // ----------------------------------------------------------------------------- |
|
1137 // QGraphicsItem::panel |
|
1138 // ----------------------------------------------------------------------------- |
|
1139 // |
|
1140 QGraphicsItem * QGraphicsItem::panel( ) const |
|
1141 { |
|
1142 SMC_MOCK_METHOD0( QGraphicsItem * ) |
|
1143 } |
|
1144 |
|
1145 |
|
1146 // ----------------------------------------------------------------------------- |
|
1147 // QGraphicsItem::setParentItem |
|
1148 // ----------------------------------------------------------------------------- |
|
1149 // |
|
1150 void QGraphicsItem::setParentItem( |
|
1151 QGraphicsItem * parent ) |
|
1152 { |
|
1153 SMC_MOCK_METHOD1( void, QGraphicsItem *, parent ) |
|
1154 } |
|
1155 |
|
1156 |
|
1157 // ----------------------------------------------------------------------------- |
|
1158 // QGraphicsItem::children |
|
1159 // ----------------------------------------------------------------------------- |
|
1160 // |
|
1161 QList <QGraphicsItem * > QGraphicsItem::children( ) const |
|
1162 { |
|
1163 SMC_MOCK_METHOD0( QList <QGraphicsItem * > ) |
|
1164 } |
|
1165 |
|
1166 |
|
1167 // ----------------------------------------------------------------------------- |
|
1168 // QGraphicsItem::childItems |
|
1169 // ----------------------------------------------------------------------------- |
|
1170 // |
|
1171 QList <QGraphicsItem * > QGraphicsItem::childItems( ) const |
|
1172 { |
|
1173 SMC_MOCK_METHOD0( QList <QGraphicsItem * > ) |
|
1174 } |
|
1175 |
|
1176 |
|
1177 // ----------------------------------------------------------------------------- |
|
1178 // QGraphicsItem::isWidget |
|
1179 // ----------------------------------------------------------------------------- |
|
1180 // |
|
1181 bool QGraphicsItem::isWidget( ) const |
|
1182 { |
|
1183 SMC_MOCK_METHOD0( bool ) |
|
1184 } |
|
1185 |
|
1186 |
|
1187 // ----------------------------------------------------------------------------- |
|
1188 // QGraphicsItem::isWindow |
|
1189 // ----------------------------------------------------------------------------- |
|
1190 // |
|
1191 bool QGraphicsItem::isWindow( ) const |
|
1192 { |
|
1193 SMC_MOCK_METHOD0( bool ) |
|
1194 } |
|
1195 |
|
1196 |
|
1197 // ----------------------------------------------------------------------------- |
|
1198 // QGraphicsItem::isPanel |
|
1199 // ----------------------------------------------------------------------------- |
|
1200 // |
|
1201 bool QGraphicsItem::isPanel( ) const |
|
1202 { |
|
1203 SMC_MOCK_METHOD0( bool ) |
|
1204 } |
|
1205 |
|
1206 |
|
1207 // ----------------------------------------------------------------------------- |
|
1208 // QGraphicsItem::toGraphicsObject |
|
1209 // ----------------------------------------------------------------------------- |
|
1210 // |
|
1211 QGraphicsObject * QGraphicsItem::toGraphicsObject( ) |
|
1212 { |
|
1213 SMC_MOCK_METHOD0( QGraphicsObject * ) |
|
1214 } |
|
1215 |
|
1216 |
|
1217 // ----------------------------------------------------------------------------- |
|
1218 // QGraphicsItem::toGraphicsObject |
|
1219 // ----------------------------------------------------------------------------- |
|
1220 // |
|
1221 const QGraphicsObject * QGraphicsItem::toGraphicsObject( ) const |
|
1222 { |
|
1223 SMC_MOCK_METHOD0( const QGraphicsObject * ) |
|
1224 } |
|
1225 |
|
1226 |
|
1227 // ----------------------------------------------------------------------------- |
|
1228 // QGraphicsItem::group |
|
1229 // ----------------------------------------------------------------------------- |
|
1230 // |
|
1231 QGraphicsItemGroup * QGraphicsItem::group( ) const |
|
1232 { |
|
1233 SMC_MOCK_METHOD0( QGraphicsItemGroup * ) |
|
1234 } |
|
1235 |
|
1236 |
|
1237 // ----------------------------------------------------------------------------- |
|
1238 // QGraphicsItem::setGroup |
|
1239 // ----------------------------------------------------------------------------- |
|
1240 // |
|
1241 void QGraphicsItem::setGroup( |
|
1242 QGraphicsItemGroup * group ) |
|
1243 { |
|
1244 SMC_MOCK_METHOD1( void, QGraphicsItemGroup *, group ) |
|
1245 } |
|
1246 |
|
1247 |
|
1248 // ----------------------------------------------------------------------------- |
|
1249 // QGraphicsItem::flags |
|
1250 // ----------------------------------------------------------------------------- |
|
1251 // |
|
1252 QGraphicsItem::GraphicsItemFlags QGraphicsItem::flags( ) const |
|
1253 { |
|
1254 //SMC_MOCK_METHOD0( QGraphicsItem::GraphicsItemFlags ) |
|
1255 } |
|
1256 |
|
1257 |
|
1258 // ----------------------------------------------------------------------------- |
|
1259 // QGraphicsItem::setFlag |
|
1260 // ----------------------------------------------------------------------------- |
|
1261 // |
|
1262 void QGraphicsItem::setFlag( |
|
1263 GraphicsItemFlag flag, |
|
1264 bool enabled ) |
|
1265 { |
|
1266 SMC_MOCK_METHOD2( void, GraphicsItemFlag, flag, |
|
1267 bool, enabled ) |
|
1268 } |
|
1269 |
|
1270 |
|
1271 // ----------------------------------------------------------------------------- |
|
1272 // QGraphicsItem::setFlags |
|
1273 // ----------------------------------------------------------------------------- |
|
1274 // |
|
1275 void QGraphicsItem::setFlags( |
|
1276 QGraphicsItem::GraphicsItemFlags flags ) |
|
1277 { |
|
1278 //SMC_MOCK_METHOD1( void, GraphicsItemFlags, flags ) |
|
1279 } |
|
1280 |
|
1281 |
|
1282 // ----------------------------------------------------------------------------- |
|
1283 // QGraphicsItem::cacheMode |
|
1284 // ----------------------------------------------------------------------------- |
|
1285 // |
|
1286 QGraphicsItem::CacheMode QGraphicsItem::cacheMode( ) const |
|
1287 { |
|
1288 SMC_MOCK_METHOD0( QGraphicsItem::CacheMode ) |
|
1289 } |
|
1290 |
|
1291 |
|
1292 // ----------------------------------------------------------------------------- |
|
1293 // QGraphicsItem::setCacheMode |
|
1294 // ----------------------------------------------------------------------------- |
|
1295 // |
|
1296 void QGraphicsItem::setCacheMode( |
|
1297 QGraphicsItem::CacheMode mode, |
|
1298 const QSize & cacheSize ) |
|
1299 { |
|
1300 SMC_MOCK_METHOD2( void, QGraphicsItem::CacheMode, mode, |
|
1301 const QSize &, cacheSize ) |
|
1302 } |
|
1303 |
|
1304 |
|
1305 // ----------------------------------------------------------------------------- |
|
1306 // QGraphicsItem::panelModality |
|
1307 // ----------------------------------------------------------------------------- |
|
1308 // |
|
1309 QGraphicsItem::PanelModality QGraphicsItem::panelModality( ) const |
|
1310 { |
|
1311 SMC_MOCK_METHOD0( QGraphicsItem::PanelModality ) |
|
1312 } |
|
1313 |
|
1314 |
|
1315 // ----------------------------------------------------------------------------- |
|
1316 // QGraphicsItem::setPanelModality |
|
1317 // ----------------------------------------------------------------------------- |
|
1318 // |
|
1319 void QGraphicsItem::setPanelModality( |
|
1320 QGraphicsItem::PanelModality panelModality ) |
|
1321 { |
|
1322 SMC_MOCK_METHOD1( void, QGraphicsItem::PanelModality, panelModality ) |
|
1323 } |
|
1324 |
|
1325 |
|
1326 // ----------------------------------------------------------------------------- |
|
1327 // QGraphicsItem::isBlockedByModalPanel |
|
1328 // ----------------------------------------------------------------------------- |
|
1329 // |
|
1330 bool QGraphicsItem::isBlockedByModalPanel( |
|
1331 QGraphicsItem * * blockingPanel ) const |
|
1332 { |
|
1333 SMC_MOCK_METHOD1( bool, QGraphicsItem * *, blockingPanel ) |
|
1334 } |
|
1335 |
|
1336 |
|
1337 // ----------------------------------------------------------------------------- |
|
1338 // QGraphicsItem::toolTip |
|
1339 // ----------------------------------------------------------------------------- |
|
1340 // |
|
1341 QString QGraphicsItem::toolTip( ) const |
|
1342 { |
|
1343 SMC_MOCK_METHOD0( QString ) |
|
1344 } |
|
1345 |
|
1346 |
|
1347 // ----------------------------------------------------------------------------- |
|
1348 // QGraphicsItem::setToolTip |
|
1349 // ----------------------------------------------------------------------------- |
|
1350 // |
|
1351 void QGraphicsItem::setToolTip( |
|
1352 const QString & toolTip ) |
|
1353 { |
|
1354 SMC_MOCK_METHOD1( void, const QString &, toolTip ) |
|
1355 } |
|
1356 |
|
1357 |
|
1358 // ----------------------------------------------------------------------------- |
|
1359 // QGraphicsItem::cursor |
|
1360 // ----------------------------------------------------------------------------- |
|
1361 // |
|
1362 QCursor QGraphicsItem::cursor( ) const |
|
1363 { |
|
1364 SMC_MOCK_METHOD0( QCursor ) |
|
1365 } |
|
1366 |
|
1367 |
|
1368 // ----------------------------------------------------------------------------- |
|
1369 // QGraphicsItem::setCursor |
|
1370 // ----------------------------------------------------------------------------- |
|
1371 // |
|
1372 void QGraphicsItem::setCursor( |
|
1373 const QCursor & cursor ) |
|
1374 { |
|
1375 SMC_MOCK_METHOD1( void, const QCursor &, cursor ) |
|
1376 } |
|
1377 |
|
1378 |
|
1379 // ----------------------------------------------------------------------------- |
|
1380 // QGraphicsItem::hasCursor |
|
1381 // ----------------------------------------------------------------------------- |
|
1382 // |
|
1383 bool QGraphicsItem::hasCursor( ) const |
|
1384 { |
|
1385 SMC_MOCK_METHOD0( bool ) |
|
1386 } |
|
1387 |
|
1388 |
|
1389 // ----------------------------------------------------------------------------- |
|
1390 // QGraphicsItem::unsetCursor |
|
1391 // ----------------------------------------------------------------------------- |
|
1392 // |
|
1393 void QGraphicsItem::unsetCursor( ) |
|
1394 { |
|
1395 SMC_MOCK_METHOD0( void ) |
|
1396 } |
|
1397 |
|
1398 |
|
1399 // ----------------------------------------------------------------------------- |
|
1400 // QGraphicsItem::isVisible |
|
1401 // ----------------------------------------------------------------------------- |
|
1402 // |
|
1403 bool QGraphicsItem::isVisible( ) const |
|
1404 { |
|
1405 SMC_MOCK_METHOD0( bool ) |
|
1406 } |
|
1407 |
|
1408 |
|
1409 // ----------------------------------------------------------------------------- |
|
1410 // QGraphicsItem::isVisibleTo |
|
1411 // ----------------------------------------------------------------------------- |
|
1412 // |
|
1413 bool QGraphicsItem::isVisibleTo( |
|
1414 const QGraphicsItem * parent ) const |
|
1415 { |
|
1416 SMC_MOCK_METHOD1( bool, const QGraphicsItem *, parent ) |
|
1417 } |
|
1418 |
|
1419 |
|
1420 // ----------------------------------------------------------------------------- |
|
1421 // QGraphicsItem::setVisible |
|
1422 // ----------------------------------------------------------------------------- |
|
1423 // |
|
1424 void QGraphicsItem::setVisible( |
|
1425 bool visible ) |
|
1426 { |
|
1427 SMC_MOCK_METHOD1( void, bool, visible ) |
|
1428 } |
|
1429 |
|
1430 |
|
1431 // ----------------------------------------------------------------------------- |
|
1432 // QGraphicsItem::isEnabled |
|
1433 // ----------------------------------------------------------------------------- |
|
1434 // |
|
1435 bool QGraphicsItem::isEnabled( ) const |
|
1436 { |
|
1437 SMC_MOCK_METHOD0( bool ) |
|
1438 } |
|
1439 |
|
1440 |
|
1441 // ----------------------------------------------------------------------------- |
|
1442 // QGraphicsItem::setEnabled |
|
1443 // ----------------------------------------------------------------------------- |
|
1444 // |
|
1445 void QGraphicsItem::setEnabled( |
|
1446 bool enabled ) |
|
1447 { |
|
1448 SMC_MOCK_METHOD1( void, bool, enabled ) |
|
1449 } |
|
1450 |
|
1451 |
|
1452 // ----------------------------------------------------------------------------- |
|
1453 // QGraphicsItem::isSelected |
|
1454 // ----------------------------------------------------------------------------- |
|
1455 // |
|
1456 bool QGraphicsItem::isSelected( ) const |
|
1457 { |
|
1458 SMC_MOCK_METHOD0( bool ) |
|
1459 } |
|
1460 |
|
1461 |
|
1462 // ----------------------------------------------------------------------------- |
|
1463 // QGraphicsItem::setSelected |
|
1464 // ----------------------------------------------------------------------------- |
|
1465 // |
|
1466 void QGraphicsItem::setSelected( |
|
1467 bool selected ) |
|
1468 { |
|
1469 SMC_MOCK_METHOD1( void, bool, selected ) |
|
1470 } |
|
1471 |
|
1472 |
|
1473 // ----------------------------------------------------------------------------- |
|
1474 // QGraphicsItem::acceptDrops |
|
1475 // ----------------------------------------------------------------------------- |
|
1476 // |
|
1477 bool QGraphicsItem::acceptDrops( ) const |
|
1478 { |
|
1479 SMC_MOCK_METHOD0( bool ) |
|
1480 } |
|
1481 |
|
1482 |
|
1483 // ----------------------------------------------------------------------------- |
|
1484 // QGraphicsItem::setAcceptDrops |
|
1485 // ----------------------------------------------------------------------------- |
|
1486 // |
|
1487 void QGraphicsItem::setAcceptDrops( |
|
1488 bool on ) |
|
1489 { |
|
1490 SMC_MOCK_METHOD1( void, bool, on ) |
|
1491 } |
|
1492 |
|
1493 |
|
1494 // ----------------------------------------------------------------------------- |
|
1495 // QGraphicsItem::opacity |
|
1496 // ----------------------------------------------------------------------------- |
|
1497 // |
|
1498 qreal QGraphicsItem::opacity( ) const |
|
1499 { |
|
1500 SMC_MOCK_METHOD0( qreal ) |
|
1501 } |
|
1502 |
|
1503 |
|
1504 // ----------------------------------------------------------------------------- |
|
1505 // QGraphicsItem::effectiveOpacity |
|
1506 // ----------------------------------------------------------------------------- |
|
1507 // |
|
1508 qreal QGraphicsItem::effectiveOpacity( ) const |
|
1509 { |
|
1510 SMC_MOCK_METHOD0( qreal ) |
|
1511 } |
|
1512 |
|
1513 |
|
1514 // ----------------------------------------------------------------------------- |
|
1515 // QGraphicsItem::setOpacity |
|
1516 // ----------------------------------------------------------------------------- |
|
1517 // |
|
1518 void QGraphicsItem::setOpacity( |
|
1519 qreal opacity ) |
|
1520 { |
|
1521 SMC_MOCK_METHOD1( void, qreal, opacity ) |
|
1522 } |
|
1523 |
|
1524 |
|
1525 // ----------------------------------------------------------------------------- |
|
1526 // QGraphicsItem::graphicsEffect |
|
1527 // ----------------------------------------------------------------------------- |
|
1528 // |
|
1529 QGraphicsEffect * QGraphicsItem::graphicsEffect( ) const |
|
1530 { |
|
1531 SMC_MOCK_METHOD0( QGraphicsEffect * ) |
|
1532 } |
|
1533 |
|
1534 |
|
1535 // ----------------------------------------------------------------------------- |
|
1536 // QGraphicsItem::setGraphicsEffect |
|
1537 // ----------------------------------------------------------------------------- |
|
1538 // |
|
1539 void QGraphicsItem::setGraphicsEffect( |
|
1540 QGraphicsEffect * effect ) |
|
1541 { |
|
1542 SMC_MOCK_METHOD1( void, QGraphicsEffect *, effect ) |
|
1543 } |
|
1544 |
|
1545 |
|
1546 // ----------------------------------------------------------------------------- |
|
1547 // QGraphicsItem::acceptedMouseButtons |
|
1548 // ----------------------------------------------------------------------------- |
|
1549 // |
|
1550 Qt::MouseButtons QGraphicsItem::acceptedMouseButtons( ) const |
|
1551 { |
|
1552 //SMC_MOCK_METHOD0( Qt::MouseButtons ) |
|
1553 } |
|
1554 |
|
1555 |
|
1556 // ----------------------------------------------------------------------------- |
|
1557 // QGraphicsItem::setAcceptedMouseButtons |
|
1558 // ----------------------------------------------------------------------------- |
|
1559 // |
|
1560 void QGraphicsItem::setAcceptedMouseButtons( |
|
1561 Qt::MouseButtons buttons ) |
|
1562 { |
|
1563 //SMC_MOCK_METHOD1( void, Qt::MouseButtons, buttons ) |
|
1564 } |
|
1565 |
|
1566 |
|
1567 // ----------------------------------------------------------------------------- |
|
1568 // QGraphicsItem::acceptsHoverEvents |
|
1569 // ----------------------------------------------------------------------------- |
|
1570 // |
|
1571 bool QGraphicsItem::acceptsHoverEvents( ) const |
|
1572 { |
|
1573 SMC_MOCK_METHOD0( bool ) |
|
1574 } |
|
1575 |
|
1576 |
|
1577 // ----------------------------------------------------------------------------- |
|
1578 // QGraphicsItem::setAcceptsHoverEvents |
|
1579 // ----------------------------------------------------------------------------- |
|
1580 // |
|
1581 void QGraphicsItem::setAcceptsHoverEvents( |
|
1582 bool enabled ) |
|
1583 { |
|
1584 SMC_MOCK_METHOD1( void, bool, enabled ) |
|
1585 } |
|
1586 |
|
1587 |
|
1588 // ----------------------------------------------------------------------------- |
|
1589 // QGraphicsItem::acceptHoverEvents |
|
1590 // ----------------------------------------------------------------------------- |
|
1591 // |
|
1592 bool QGraphicsItem::acceptHoverEvents( ) const |
|
1593 { |
|
1594 SMC_MOCK_METHOD0( bool ) |
|
1595 } |
|
1596 |
|
1597 |
|
1598 // ----------------------------------------------------------------------------- |
|
1599 // QGraphicsItem::setAcceptHoverEvents |
|
1600 // ----------------------------------------------------------------------------- |
|
1601 // |
|
1602 void QGraphicsItem::setAcceptHoverEvents( |
|
1603 bool enabled ) |
|
1604 { |
|
1605 SMC_MOCK_METHOD1( void, bool, enabled ) |
|
1606 } |
|
1607 |
|
1608 |
|
1609 // ----------------------------------------------------------------------------- |
|
1610 // QGraphicsItem::acceptTouchEvents |
|
1611 // ----------------------------------------------------------------------------- |
|
1612 // |
|
1613 bool QGraphicsItem::acceptTouchEvents( ) const |
|
1614 { |
|
1615 SMC_MOCK_METHOD0( bool ) |
|
1616 } |
|
1617 |
|
1618 |
|
1619 // ----------------------------------------------------------------------------- |
|
1620 // QGraphicsItem::setAcceptTouchEvents |
|
1621 // ----------------------------------------------------------------------------- |
|
1622 // |
|
1623 void QGraphicsItem::setAcceptTouchEvents( |
|
1624 bool enabled ) |
|
1625 { |
|
1626 SMC_MOCK_METHOD1( void, bool, enabled ) |
|
1627 } |
|
1628 |
|
1629 |
|
1630 // ----------------------------------------------------------------------------- |
|
1631 // QGraphicsItem::filtersChildEvents |
|
1632 // ----------------------------------------------------------------------------- |
|
1633 // |
|
1634 bool QGraphicsItem::filtersChildEvents( ) const |
|
1635 { |
|
1636 SMC_MOCK_METHOD0( bool ) |
|
1637 } |
|
1638 |
|
1639 |
|
1640 // ----------------------------------------------------------------------------- |
|
1641 // QGraphicsItem::setFiltersChildEvents |
|
1642 // ----------------------------------------------------------------------------- |
|
1643 // |
|
1644 void QGraphicsItem::setFiltersChildEvents( |
|
1645 bool enabled ) |
|
1646 { |
|
1647 SMC_MOCK_METHOD1( void, bool, enabled ) |
|
1648 } |
|
1649 |
|
1650 |
|
1651 // ----------------------------------------------------------------------------- |
|
1652 // QGraphicsItem::handlesChildEvents |
|
1653 // ----------------------------------------------------------------------------- |
|
1654 // |
|
1655 bool QGraphicsItem::handlesChildEvents( ) const |
|
1656 { |
|
1657 SMC_MOCK_METHOD0( bool ) |
|
1658 } |
|
1659 |
|
1660 |
|
1661 // ----------------------------------------------------------------------------- |
|
1662 // QGraphicsItem::setHandlesChildEvents |
|
1663 // ----------------------------------------------------------------------------- |
|
1664 // |
|
1665 void QGraphicsItem::setHandlesChildEvents( |
|
1666 bool enabled ) |
|
1667 { |
|
1668 SMC_MOCK_METHOD1( void, bool, enabled ) |
|
1669 } |
|
1670 |
|
1671 |
|
1672 // ----------------------------------------------------------------------------- |
|
1673 // QGraphicsItem::isActive |
|
1674 // ----------------------------------------------------------------------------- |
|
1675 // |
|
1676 bool QGraphicsItem::isActive( ) const |
|
1677 { |
|
1678 SMC_MOCK_METHOD0( bool ) |
|
1679 } |
|
1680 |
|
1681 |
|
1682 // ----------------------------------------------------------------------------- |
|
1683 // QGraphicsItem::setActive |
|
1684 // ----------------------------------------------------------------------------- |
|
1685 // |
|
1686 void QGraphicsItem::setActive( |
|
1687 bool active ) |
|
1688 { |
|
1689 SMC_MOCK_METHOD1( void, bool, active ) |
|
1690 } |
|
1691 |
|
1692 |
|
1693 // ----------------------------------------------------------------------------- |
|
1694 // QGraphicsItem::hasFocus |
|
1695 // ----------------------------------------------------------------------------- |
|
1696 // |
|
1697 bool QGraphicsItem::hasFocus( ) const |
|
1698 { |
|
1699 SMC_MOCK_METHOD0( bool ) |
|
1700 } |
|
1701 |
|
1702 |
|
1703 // ----------------------------------------------------------------------------- |
|
1704 // QGraphicsItem::setFocus |
|
1705 // ----------------------------------------------------------------------------- |
|
1706 // |
|
1707 void QGraphicsItem::setFocus( |
|
1708 Qt::FocusReason focusReason ) |
|
1709 { |
|
1710 SMC_MOCK_METHOD1( void, Qt::FocusReason, focusReason ) |
|
1711 } |
|
1712 |
|
1713 |
|
1714 // ----------------------------------------------------------------------------- |
|
1715 // QGraphicsItem::clearFocus |
|
1716 // ----------------------------------------------------------------------------- |
|
1717 // |
|
1718 void QGraphicsItem::clearFocus( ) |
|
1719 { |
|
1720 SMC_MOCK_METHOD0( void ) |
|
1721 } |
|
1722 |
|
1723 |
|
1724 // ----------------------------------------------------------------------------- |
|
1725 // QGraphicsItem::focusProxy |
|
1726 // ----------------------------------------------------------------------------- |
|
1727 // |
|
1728 QGraphicsItem * QGraphicsItem::focusProxy( ) const |
|
1729 { |
|
1730 SMC_MOCK_METHOD0( QGraphicsItem * ) |
|
1731 } |
|
1732 |
|
1733 |
|
1734 // ----------------------------------------------------------------------------- |
|
1735 // QGraphicsItem::setFocusProxy |
|
1736 // ----------------------------------------------------------------------------- |
|
1737 // |
|
1738 void QGraphicsItem::setFocusProxy( |
|
1739 QGraphicsItem * item ) |
|
1740 { |
|
1741 SMC_MOCK_METHOD1( void, QGraphicsItem *, item ) |
|
1742 } |
|
1743 |
|
1744 |
|
1745 // ----------------------------------------------------------------------------- |
|
1746 // QGraphicsItem::focusItem |
|
1747 // ----------------------------------------------------------------------------- |
|
1748 // |
|
1749 QGraphicsItem * QGraphicsItem::focusItem( ) const |
|
1750 { |
|
1751 SMC_MOCK_METHOD0( QGraphicsItem * ) |
|
1752 } |
|
1753 |
|
1754 |
|
1755 // ----------------------------------------------------------------------------- |
|
1756 // QGraphicsItem::focusScopeItem |
|
1757 // ----------------------------------------------------------------------------- |
|
1758 // |
|
1759 QGraphicsItem * QGraphicsItem::focusScopeItem( ) const |
|
1760 { |
|
1761 SMC_MOCK_METHOD0( QGraphicsItem * ) |
|
1762 } |
|
1763 |
|
1764 |
|
1765 // ----------------------------------------------------------------------------- |
|
1766 // QGraphicsItem::grabMouse |
|
1767 // ----------------------------------------------------------------------------- |
|
1768 // |
|
1769 void QGraphicsItem::grabMouse( ) |
|
1770 { |
|
1771 SMC_MOCK_METHOD0( void ) |
|
1772 } |
|
1773 |
|
1774 |
|
1775 // ----------------------------------------------------------------------------- |
|
1776 // QGraphicsItem::ungrabMouse |
|
1777 // ----------------------------------------------------------------------------- |
|
1778 // |
|
1779 void QGraphicsItem::ungrabMouse( ) |
|
1780 { |
|
1781 SMC_MOCK_METHOD0( void ) |
|
1782 } |
|
1783 |
|
1784 |
|
1785 // ----------------------------------------------------------------------------- |
|
1786 // QGraphicsItem::grabKeyboard |
|
1787 // ----------------------------------------------------------------------------- |
|
1788 // |
|
1789 void QGraphicsItem::grabKeyboard( ) |
|
1790 { |
|
1791 SMC_MOCK_METHOD0( void ) |
|
1792 } |
|
1793 |
|
1794 |
|
1795 // ----------------------------------------------------------------------------- |
|
1796 // QGraphicsItem::ungrabKeyboard |
|
1797 // ----------------------------------------------------------------------------- |
|
1798 // |
|
1799 void QGraphicsItem::ungrabKeyboard( ) |
|
1800 { |
|
1801 SMC_MOCK_METHOD0( void ) |
|
1802 } |
|
1803 |
|
1804 |
|
1805 // ----------------------------------------------------------------------------- |
|
1806 // QGraphicsItem::pos |
|
1807 // ----------------------------------------------------------------------------- |
|
1808 // |
|
1809 QPointF QGraphicsItem::pos( ) const |
|
1810 { |
|
1811 SMC_MOCK_METHOD0( QPointF ) |
|
1812 } |
|
1813 |
|
1814 |
|
1815 // ----------------------------------------------------------------------------- |
|
1816 // QGraphicsItem::setX |
|
1817 // ----------------------------------------------------------------------------- |
|
1818 // |
|
1819 void QGraphicsItem::setX( |
|
1820 qreal x ) |
|
1821 { |
|
1822 SMC_MOCK_METHOD1( void, qreal, x ) |
|
1823 } |
|
1824 |
|
1825 |
|
1826 // ----------------------------------------------------------------------------- |
|
1827 // QGraphicsItem::setY |
|
1828 // ----------------------------------------------------------------------------- |
|
1829 // |
|
1830 void QGraphicsItem::setY( |
|
1831 qreal y ) |
|
1832 { |
|
1833 SMC_MOCK_METHOD1( void, qreal, y ) |
|
1834 } |
|
1835 |
|
1836 |
|
1837 // ----------------------------------------------------------------------------- |
|
1838 // QGraphicsItem::scenePos |
|
1839 // ----------------------------------------------------------------------------- |
|
1840 // |
|
1841 QPointF QGraphicsItem::scenePos( ) const |
|
1842 { |
|
1843 SMC_MOCK_METHOD0( QPointF ) |
|
1844 } |
|
1845 |
|
1846 |
|
1847 // ----------------------------------------------------------------------------- |
|
1848 // QGraphicsItem::setPos |
|
1849 // ----------------------------------------------------------------------------- |
|
1850 // |
|
1851 void QGraphicsItem::setPos( |
|
1852 const QPointF & pos ) |
|
1853 { |
|
1854 SMC_MOCK_METHOD1( void, const QPointF &, pos ) |
|
1855 } |
|
1856 |
|
1857 |
|
1858 // ----------------------------------------------------------------------------- |
|
1859 // QGraphicsItem::ensureVisible |
|
1860 // ----------------------------------------------------------------------------- |
|
1861 // |
|
1862 void QGraphicsItem::ensureVisible( |
|
1863 const QRectF & rect, |
|
1864 int xmargin, |
|
1865 int ymargin ) |
|
1866 { |
|
1867 SMC_MOCK_METHOD3( void, const QRectF &, rect, |
|
1868 int, xmargin, |
|
1869 int, ymargin ) |
|
1870 } |
|
1871 |
|
1872 |
|
1873 // ----------------------------------------------------------------------------- |
|
1874 // QGraphicsItem::matrix |
|
1875 // ----------------------------------------------------------------------------- |
|
1876 // |
|
1877 QMatrix QGraphicsItem::matrix( ) const |
|
1878 { |
|
1879 SMC_MOCK_METHOD0( QMatrix ) |
|
1880 } |
|
1881 |
|
1882 |
|
1883 // ----------------------------------------------------------------------------- |
|
1884 // QGraphicsItem::sceneMatrix |
|
1885 // ----------------------------------------------------------------------------- |
|
1886 // |
|
1887 QMatrix QGraphicsItem::sceneMatrix( ) const |
|
1888 { |
|
1889 SMC_MOCK_METHOD0( QMatrix ) |
|
1890 } |
|
1891 |
|
1892 |
|
1893 // ----------------------------------------------------------------------------- |
|
1894 // QGraphicsItem::setMatrix |
|
1895 // ----------------------------------------------------------------------------- |
|
1896 // |
|
1897 void QGraphicsItem::setMatrix( |
|
1898 const QMatrix & matrix, |
|
1899 bool combine ) |
|
1900 { |
|
1901 SMC_MOCK_METHOD2( void, const QMatrix &, matrix, |
|
1902 bool, combine ) |
|
1903 } |
|
1904 |
|
1905 |
|
1906 // ----------------------------------------------------------------------------- |
|
1907 // QGraphicsItem::resetMatrix |
|
1908 // ----------------------------------------------------------------------------- |
|
1909 // |
|
1910 void QGraphicsItem::resetMatrix( ) |
|
1911 { |
|
1912 SMC_MOCK_METHOD0( void ) |
|
1913 } |
|
1914 |
|
1915 |
|
1916 // ----------------------------------------------------------------------------- |
|
1917 // QGraphicsItem::transform |
|
1918 // ----------------------------------------------------------------------------- |
|
1919 // |
|
1920 QTransform QGraphicsItem::transform( ) const |
|
1921 { |
|
1922 SMC_MOCK_METHOD0( QTransform ) |
|
1923 } |
|
1924 |
|
1925 |
|
1926 // ----------------------------------------------------------------------------- |
|
1927 // QGraphicsItem::sceneTransform |
|
1928 // ----------------------------------------------------------------------------- |
|
1929 // |
|
1930 QTransform QGraphicsItem::sceneTransform( ) const |
|
1931 { |
|
1932 SMC_MOCK_METHOD0( QTransform ) |
|
1933 } |
|
1934 |
|
1935 |
|
1936 // ----------------------------------------------------------------------------- |
|
1937 // QGraphicsItem::deviceTransform |
|
1938 // ----------------------------------------------------------------------------- |
|
1939 // |
|
1940 QTransform QGraphicsItem::deviceTransform( |
|
1941 const QTransform & viewportTransform ) const |
|
1942 { |
|
1943 SMC_MOCK_METHOD1( QTransform, const QTransform &, viewportTransform ) |
|
1944 } |
|
1945 |
|
1946 |
|
1947 // ----------------------------------------------------------------------------- |
|
1948 // QGraphicsItem::itemTransform |
|
1949 // ----------------------------------------------------------------------------- |
|
1950 // |
|
1951 QTransform QGraphicsItem::itemTransform( |
|
1952 const QGraphicsItem * other, |
|
1953 bool * ok ) const |
|
1954 { |
|
1955 SMC_MOCK_METHOD2( QTransform, const QGraphicsItem *, other, |
|
1956 bool *, ok ) |
|
1957 } |
|
1958 |
|
1959 |
|
1960 // ----------------------------------------------------------------------------- |
|
1961 // QGraphicsItem::setTransform |
|
1962 // ----------------------------------------------------------------------------- |
|
1963 // |
|
1964 void QGraphicsItem::setTransform( |
|
1965 const QTransform & matrix, |
|
1966 bool combine ) |
|
1967 { |
|
1968 SMC_MOCK_METHOD2( void, const QTransform &, matrix, |
|
1969 bool, combine ) |
|
1970 } |
|
1971 |
|
1972 |
|
1973 // ----------------------------------------------------------------------------- |
|
1974 // QGraphicsItem::resetTransform |
|
1975 // ----------------------------------------------------------------------------- |
|
1976 // |
|
1977 void QGraphicsItem::resetTransform( ) |
|
1978 { |
|
1979 SMC_MOCK_METHOD0( void ) |
|
1980 } |
|
1981 |
|
1982 |
|
1983 // ----------------------------------------------------------------------------- |
|
1984 // QGraphicsItem::rotate |
|
1985 // ----------------------------------------------------------------------------- |
|
1986 // |
|
1987 void QGraphicsItem::rotate( |
|
1988 qreal angle ) |
|
1989 { |
|
1990 SMC_MOCK_METHOD1( void, qreal, angle ) |
|
1991 } |
|
1992 |
|
1993 |
|
1994 // ----------------------------------------------------------------------------- |
|
1995 // QGraphicsItem::scale |
|
1996 // ----------------------------------------------------------------------------- |
|
1997 // |
|
1998 void QGraphicsItem::scale( |
|
1999 qreal sx, |
|
2000 qreal sy ) |
|
2001 { |
|
2002 SMC_MOCK_METHOD2( void, qreal, sx, |
|
2003 qreal, sy ) |
|
2004 } |
|
2005 |
|
2006 |
|
2007 // ----------------------------------------------------------------------------- |
|
2008 // QGraphicsItem::shear |
|
2009 // ----------------------------------------------------------------------------- |
|
2010 // |
|
2011 void QGraphicsItem::shear( |
|
2012 qreal sh, |
|
2013 qreal sv ) |
|
2014 { |
|
2015 SMC_MOCK_METHOD2( void, qreal, sh, |
|
2016 qreal, sv ) |
|
2017 } |
|
2018 |
|
2019 |
|
2020 // ----------------------------------------------------------------------------- |
|
2021 // QGraphicsItem::translate |
|
2022 // ----------------------------------------------------------------------------- |
|
2023 // |
|
2024 void QGraphicsItem::translate( |
|
2025 qreal dx, |
|
2026 qreal dy ) |
|
2027 { |
|
2028 SMC_MOCK_METHOD2( void, qreal, dx, |
|
2029 qreal, dy ) |
|
2030 } |
|
2031 |
|
2032 |
|
2033 // ----------------------------------------------------------------------------- |
|
2034 // QGraphicsItem::setRotation |
|
2035 // ----------------------------------------------------------------------------- |
|
2036 // |
|
2037 void QGraphicsItem::setRotation( |
|
2038 qreal angle ) |
|
2039 { |
|
2040 SMC_MOCK_METHOD1( void, qreal, angle ) |
|
2041 } |
|
2042 |
|
2043 |
|
2044 // ----------------------------------------------------------------------------- |
|
2045 // QGraphicsItem::rotation |
|
2046 // ----------------------------------------------------------------------------- |
|
2047 // |
|
2048 qreal QGraphicsItem::rotation( ) const |
|
2049 { |
|
2050 SMC_MOCK_METHOD0( qreal ) |
|
2051 } |
|
2052 |
|
2053 |
|
2054 // ----------------------------------------------------------------------------- |
|
2055 // QGraphicsItem::setScale |
|
2056 // ----------------------------------------------------------------------------- |
|
2057 // |
|
2058 void QGraphicsItem::setScale( |
|
2059 qreal scale ) |
|
2060 { |
|
2061 SMC_MOCK_METHOD1( void, qreal, scale ) |
|
2062 } |
|
2063 |
|
2064 |
|
2065 // ----------------------------------------------------------------------------- |
|
2066 // QGraphicsItem::scale |
|
2067 // ----------------------------------------------------------------------------- |
|
2068 // |
|
2069 qreal QGraphicsItem::scale( ) const |
|
2070 { |
|
2071 SMC_MOCK_METHOD0( qreal ) |
|
2072 } |
|
2073 |
|
2074 |
|
2075 // ----------------------------------------------------------------------------- |
|
2076 // QGraphicsItem::transformations |
|
2077 // ----------------------------------------------------------------------------- |
|
2078 // |
|
2079 QList <QGraphicsTransform * > QGraphicsItem::transformations( ) const |
|
2080 { |
|
2081 SMC_MOCK_METHOD0( QList <QGraphicsTransform * > ) |
|
2082 } |
|
2083 |
|
2084 |
|
2085 // ----------------------------------------------------------------------------- |
|
2086 // QGraphicsItem::setTransformations |
|
2087 // ----------------------------------------------------------------------------- |
|
2088 // |
|
2089 void QGraphicsItem::setTransformations( |
|
2090 const QList<QGraphicsTransform *> & transformations ) |
|
2091 { |
|
2092 SMC_MOCK_METHOD1( void, const QList<QGraphicsTransform *> &, transformations ) |
|
2093 } |
|
2094 |
|
2095 |
|
2096 // ----------------------------------------------------------------------------- |
|
2097 // QGraphicsItem::transformOriginPoint |
|
2098 // ----------------------------------------------------------------------------- |
|
2099 // |
|
2100 QPointF QGraphicsItem::transformOriginPoint( ) const |
|
2101 { |
|
2102 SMC_MOCK_METHOD0( QPointF ) |
|
2103 } |
|
2104 |
|
2105 |
|
2106 // ----------------------------------------------------------------------------- |
|
2107 // QGraphicsItem::setTransformOriginPoint |
|
2108 // ----------------------------------------------------------------------------- |
|
2109 // |
|
2110 void QGraphicsItem::setTransformOriginPoint( |
|
2111 const QPointF & origin ) |
|
2112 { |
|
2113 SMC_MOCK_METHOD1( void, const QPointF &, origin ) |
|
2114 } |
|
2115 |
|
2116 |
|
2117 // ----------------------------------------------------------------------------- |
|
2118 // QGraphicsItem::advance |
|
2119 // ----------------------------------------------------------------------------- |
|
2120 // |
|
2121 void QGraphicsItem::advance( |
|
2122 int phase ) |
|
2123 { |
|
2124 SMC_MOCK_METHOD1( void, int, phase ) |
|
2125 } |
|
2126 |
|
2127 |
|
2128 // ----------------------------------------------------------------------------- |
|
2129 // QGraphicsItem::zValue |
|
2130 // ----------------------------------------------------------------------------- |
|
2131 // |
|
2132 qreal QGraphicsItem::zValue( ) const |
|
2133 { |
|
2134 SMC_MOCK_METHOD0( qreal ) |
|
2135 } |
|
2136 |
|
2137 |
|
2138 // ----------------------------------------------------------------------------- |
|
2139 // QGraphicsItem::setZValue |
|
2140 // ----------------------------------------------------------------------------- |
|
2141 // |
|
2142 void QGraphicsItem::setZValue( |
|
2143 qreal z ) |
|
2144 { |
|
2145 SMC_MOCK_METHOD1( void, qreal, z ) |
|
2146 } |
|
2147 |
|
2148 |
|
2149 // ----------------------------------------------------------------------------- |
|
2150 // QGraphicsItem::stackBefore |
|
2151 // ----------------------------------------------------------------------------- |
|
2152 // |
|
2153 void QGraphicsItem::stackBefore( |
|
2154 const QGraphicsItem * sibling ) |
|
2155 { |
|
2156 SMC_MOCK_METHOD1( void, const QGraphicsItem *, sibling ) |
|
2157 } |
|
2158 |
|
2159 |
|
2160 // ----------------------------------------------------------------------------- |
|
2161 // QGraphicsItem::boundingRect |
|
2162 // ----------------------------------------------------------------------------- |
|
2163 // |
|
2164 QRectF QGraphicsItem::boundingRect( ) const |
|
2165 { |
|
2166 SMC_MOCK_METHOD0( QRectF ) |
|
2167 } |
|
2168 |
|
2169 |
|
2170 // ----------------------------------------------------------------------------- |
|
2171 // QGraphicsItem::childrenBoundingRect |
|
2172 // ----------------------------------------------------------------------------- |
|
2173 // |
|
2174 QRectF QGraphicsItem::childrenBoundingRect( ) const |
|
2175 { |
|
2176 SMC_MOCK_METHOD0( QRectF ) |
|
2177 } |
|
2178 |
|
2179 |
|
2180 // ----------------------------------------------------------------------------- |
|
2181 // QGraphicsItem::sceneBoundingRect |
|
2182 // ----------------------------------------------------------------------------- |
|
2183 // |
|
2184 QRectF QGraphicsItem::sceneBoundingRect( ) const |
|
2185 { |
|
2186 SMC_MOCK_METHOD0( QRectF ) |
|
2187 } |
|
2188 |
|
2189 |
|
2190 // ----------------------------------------------------------------------------- |
|
2191 // QGraphicsItem::shape |
|
2192 // ----------------------------------------------------------------------------- |
|
2193 // |
|
2194 QPainterPath QGraphicsItem::shape( ) const |
|
2195 { |
|
2196 SMC_MOCK_METHOD0( QPainterPath ) |
|
2197 } |
|
2198 |
|
2199 |
|
2200 // ----------------------------------------------------------------------------- |
|
2201 // QGraphicsItem::isClipped |
|
2202 // ----------------------------------------------------------------------------- |
|
2203 // |
|
2204 bool QGraphicsItem::isClipped( ) const |
|
2205 { |
|
2206 SMC_MOCK_METHOD0( bool ) |
|
2207 } |
|
2208 |
|
2209 |
|
2210 // ----------------------------------------------------------------------------- |
|
2211 // QGraphicsItem::clipPath |
|
2212 // ----------------------------------------------------------------------------- |
|
2213 // |
|
2214 QPainterPath QGraphicsItem::clipPath( ) const |
|
2215 { |
|
2216 SMC_MOCK_METHOD0( QPainterPath ) |
|
2217 } |
|
2218 |
|
2219 |
|
2220 // ----------------------------------------------------------------------------- |
|
2221 // QGraphicsItem::contains |
|
2222 // ----------------------------------------------------------------------------- |
|
2223 // |
|
2224 bool QGraphicsItem::contains( |
|
2225 const QPointF & point ) const |
|
2226 { |
|
2227 SMC_MOCK_METHOD1( bool, const QPointF &, point ) |
|
2228 } |
|
2229 |
|
2230 |
|
2231 // ----------------------------------------------------------------------------- |
|
2232 // QGraphicsItem::collidesWithItem |
|
2233 // ----------------------------------------------------------------------------- |
|
2234 // |
|
2235 bool QGraphicsItem::collidesWithItem( |
|
2236 const QGraphicsItem * other, |
|
2237 Qt::ItemSelectionMode mode ) const |
|
2238 { |
|
2239 SMC_MOCK_METHOD2( bool, const QGraphicsItem *, other, |
|
2240 Qt::ItemSelectionMode, mode ) |
|
2241 } |
|
2242 |
|
2243 |
|
2244 // ----------------------------------------------------------------------------- |
|
2245 // QGraphicsItem::collidesWithPath |
|
2246 // ----------------------------------------------------------------------------- |
|
2247 // |
|
2248 bool QGraphicsItem::collidesWithPath( |
|
2249 const QPainterPath & path, |
|
2250 Qt::ItemSelectionMode mode ) const |
|
2251 { |
|
2252 SMC_MOCK_METHOD2( bool, const QPainterPath &, path, |
|
2253 Qt::ItemSelectionMode, mode ) |
|
2254 } |
|
2255 |
|
2256 |
|
2257 // ----------------------------------------------------------------------------- |
|
2258 // QGraphicsItem::collidingItems |
|
2259 // ----------------------------------------------------------------------------- |
|
2260 // |
|
2261 QList <QGraphicsItem * > QGraphicsItem::collidingItems( |
|
2262 Qt::ItemSelectionMode mode ) const |
|
2263 { |
|
2264 SMC_MOCK_METHOD1( QList <QGraphicsItem * >, Qt::ItemSelectionMode, mode ) |
|
2265 } |
|
2266 |
|
2267 |
|
2268 // ----------------------------------------------------------------------------- |
|
2269 // QGraphicsItem::isObscured |
|
2270 // ----------------------------------------------------------------------------- |
|
2271 // |
|
2272 bool QGraphicsItem::isObscured( ) const |
|
2273 { |
|
2274 SMC_MOCK_METHOD0( bool ) |
|
2275 } |
|
2276 |
|
2277 |
|
2278 // ----------------------------------------------------------------------------- |
|
2279 // QGraphicsItem::isObscured |
|
2280 // ----------------------------------------------------------------------------- |
|
2281 // |
|
2282 bool QGraphicsItem::isObscured( |
|
2283 const QRectF & rect ) const |
|
2284 { |
|
2285 SMC_MOCK_METHOD1( bool, const QRectF &, rect ) |
|
2286 } |
|
2287 |
|
2288 |
|
2289 // ----------------------------------------------------------------------------- |
|
2290 // QGraphicsItem::isObscuredBy |
|
2291 // ----------------------------------------------------------------------------- |
|
2292 // |
|
2293 bool QGraphicsItem::isObscuredBy( |
|
2294 const QGraphicsItem * item ) const |
|
2295 { |
|
2296 SMC_MOCK_METHOD1( bool, const QGraphicsItem *, item ) |
|
2297 } |
|
2298 |
|
2299 |
|
2300 // ----------------------------------------------------------------------------- |
|
2301 // QGraphicsItem::opaqueArea |
|
2302 // ----------------------------------------------------------------------------- |
|
2303 // |
|
2304 QPainterPath QGraphicsItem::opaqueArea( ) const |
|
2305 { |
|
2306 SMC_MOCK_METHOD0( QPainterPath ) |
|
2307 } |
|
2308 |
|
2309 |
|
2310 // ----------------------------------------------------------------------------- |
|
2311 // QGraphicsItem::boundingRegion |
|
2312 // ----------------------------------------------------------------------------- |
|
2313 // |
|
2314 QRegion QGraphicsItem::boundingRegion( |
|
2315 const QTransform & itemToDeviceTransform ) const |
|
2316 { |
|
2317 SMC_MOCK_METHOD1( QRegion, const QTransform &, itemToDeviceTransform ) |
|
2318 } |
|
2319 |
|
2320 |
|
2321 // ----------------------------------------------------------------------------- |
|
2322 // QGraphicsItem::boundingRegionGranularity |
|
2323 // ----------------------------------------------------------------------------- |
|
2324 // |
|
2325 qreal QGraphicsItem::boundingRegionGranularity( ) const |
|
2326 { |
|
2327 SMC_MOCK_METHOD0( qreal ) |
|
2328 } |
|
2329 |
|
2330 |
|
2331 // ----------------------------------------------------------------------------- |
|
2332 // QGraphicsItem::setBoundingRegionGranularity |
|
2333 // ----------------------------------------------------------------------------- |
|
2334 // |
|
2335 void QGraphicsItem::setBoundingRegionGranularity( |
|
2336 qreal granularity ) |
|
2337 { |
|
2338 SMC_MOCK_METHOD1( void, qreal, granularity ) |
|
2339 } |
|
2340 |
|
2341 |
|
2342 // ----------------------------------------------------------------------------- |
|
2343 // QGraphicsItem::paint |
|
2344 // ----------------------------------------------------------------------------- |
|
2345 // |
|
2346 void QGraphicsItem::paint( |
|
2347 QPainter * painter, |
|
2348 const QStyleOptionGraphicsItem * option, |
|
2349 QWidget * widget ) |
|
2350 { |
|
2351 SMC_MOCK_METHOD3( void, QPainter *, painter, |
|
2352 const QStyleOptionGraphicsItem *, option, |
|
2353 QWidget *, widget ) |
|
2354 } |
|
2355 |
|
2356 |
|
2357 // ----------------------------------------------------------------------------- |
|
2358 // QGraphicsItem::update |
|
2359 // ----------------------------------------------------------------------------- |
|
2360 // |
|
2361 void QGraphicsItem::update( |
|
2362 const QRectF & rect ) |
|
2363 { |
|
2364 SMC_MOCK_METHOD1( void, const QRectF &, rect ) |
|
2365 } |
|
2366 |
|
2367 |
|
2368 // ----------------------------------------------------------------------------- |
|
2369 // QGraphicsItem::scroll |
|
2370 // ----------------------------------------------------------------------------- |
|
2371 // |
|
2372 void QGraphicsItem::scroll( |
|
2373 qreal dx, |
|
2374 qreal dy, |
|
2375 const QRectF & rect ) |
|
2376 { |
|
2377 SMC_MOCK_METHOD3( void, qreal, dx, |
|
2378 qreal, dy, |
|
2379 const QRectF &, rect ) |
|
2380 } |
|
2381 |
|
2382 |
|
2383 // ----------------------------------------------------------------------------- |
|
2384 // QGraphicsItem::mapToItem |
|
2385 // ----------------------------------------------------------------------------- |
|
2386 // |
|
2387 QPointF QGraphicsItem::mapToItem( |
|
2388 const QGraphicsItem * item, |
|
2389 const QPointF & point ) const |
|
2390 { |
|
2391 SMC_MOCK_METHOD2( QPointF, const QGraphicsItem *, item, |
|
2392 const QPointF &, point ) |
|
2393 } |
|
2394 |
|
2395 |
|
2396 // ----------------------------------------------------------------------------- |
|
2397 // QGraphicsItem::mapToParent |
|
2398 // ----------------------------------------------------------------------------- |
|
2399 // |
|
2400 QPointF QGraphicsItem::mapToParent( |
|
2401 const QPointF & point ) const |
|
2402 { |
|
2403 SMC_MOCK_METHOD1( QPointF, const QPointF &, point ) |
|
2404 } |
|
2405 |
|
2406 |
|
2407 // ----------------------------------------------------------------------------- |
|
2408 // QGraphicsItem::mapToScene |
|
2409 // ----------------------------------------------------------------------------- |
|
2410 // |
|
2411 QPointF QGraphicsItem::mapToScene( |
|
2412 const QPointF & point ) const |
|
2413 { |
|
2414 SMC_MOCK_METHOD1( QPointF, const QPointF &, point ) |
|
2415 } |
|
2416 |
|
2417 |
|
2418 // ----------------------------------------------------------------------------- |
|
2419 // QGraphicsItem::mapToItem |
|
2420 // ----------------------------------------------------------------------------- |
|
2421 // |
|
2422 QPolygonF QGraphicsItem::mapToItem( |
|
2423 const QGraphicsItem * item, |
|
2424 const QRectF & rect ) const |
|
2425 { |
|
2426 SMC_MOCK_METHOD2( QPolygonF, const QGraphicsItem *, item, |
|
2427 const QRectF &, rect ) |
|
2428 } |
|
2429 |
|
2430 |
|
2431 // ----------------------------------------------------------------------------- |
|
2432 // QGraphicsItem::mapToParent |
|
2433 // ----------------------------------------------------------------------------- |
|
2434 // |
|
2435 QPolygonF QGraphicsItem::mapToParent( |
|
2436 const QRectF & rect ) const |
|
2437 { |
|
2438 SMC_MOCK_METHOD1( QPolygonF, const QRectF &, rect ) |
|
2439 } |
|
2440 |
|
2441 |
|
2442 // ----------------------------------------------------------------------------- |
|
2443 // QGraphicsItem::mapToScene |
|
2444 // ----------------------------------------------------------------------------- |
|
2445 // |
|
2446 QPolygonF QGraphicsItem::mapToScene( |
|
2447 const QRectF & rect ) const |
|
2448 { |
|
2449 SMC_MOCK_METHOD1( QPolygonF, const QRectF &, rect ) |
|
2450 } |
|
2451 |
|
2452 |
|
2453 // ----------------------------------------------------------------------------- |
|
2454 // QGraphicsItem::mapRectToItem |
|
2455 // ----------------------------------------------------------------------------- |
|
2456 // |
|
2457 QRectF QGraphicsItem::mapRectToItem( |
|
2458 const QGraphicsItem * item, |
|
2459 const QRectF & rect ) const |
|
2460 { |
|
2461 SMC_MOCK_METHOD2( QRectF, const QGraphicsItem *, item, |
|
2462 const QRectF &, rect ) |
|
2463 } |
|
2464 |
|
2465 |
|
2466 // ----------------------------------------------------------------------------- |
|
2467 // QGraphicsItem::mapRectToParent |
|
2468 // ----------------------------------------------------------------------------- |
|
2469 // |
|
2470 QRectF QGraphicsItem::mapRectToParent( |
|
2471 const QRectF & rect ) const |
|
2472 { |
|
2473 SMC_MOCK_METHOD1( QRectF, const QRectF &, rect ) |
|
2474 } |
|
2475 |
|
2476 |
|
2477 // ----------------------------------------------------------------------------- |
|
2478 // QGraphicsItem::mapRectToScene |
|
2479 // ----------------------------------------------------------------------------- |
|
2480 // |
|
2481 QRectF QGraphicsItem::mapRectToScene( |
|
2482 const QRectF & rect ) const |
|
2483 { |
|
2484 SMC_MOCK_METHOD1( QRectF, const QRectF &, rect ) |
|
2485 } |
|
2486 |
|
2487 |
|
2488 // ----------------------------------------------------------------------------- |
|
2489 // QGraphicsItem::mapToItem |
|
2490 // ----------------------------------------------------------------------------- |
|
2491 // |
|
2492 QPolygonF QGraphicsItem::mapToItem( |
|
2493 const QGraphicsItem * item, |
|
2494 const QPolygonF & polygon ) const |
|
2495 { |
|
2496 SMC_MOCK_METHOD2( QPolygonF, const QGraphicsItem *, item, |
|
2497 const QPolygonF &, polygon ) |
|
2498 } |
|
2499 |
|
2500 |
|
2501 // ----------------------------------------------------------------------------- |
|
2502 // QGraphicsItem::mapToParent |
|
2503 // ----------------------------------------------------------------------------- |
|
2504 // |
|
2505 QPolygonF QGraphicsItem::mapToParent( |
|
2506 const QPolygonF & polygon ) const |
|
2507 { |
|
2508 SMC_MOCK_METHOD1( QPolygonF, const QPolygonF &, polygon ) |
|
2509 } |
|
2510 |
|
2511 |
|
2512 // ----------------------------------------------------------------------------- |
|
2513 // QGraphicsItem::mapToScene |
|
2514 // ----------------------------------------------------------------------------- |
|
2515 // |
|
2516 QPolygonF QGraphicsItem::mapToScene( |
|
2517 const QPolygonF & polygon ) const |
|
2518 { |
|
2519 SMC_MOCK_METHOD1( QPolygonF, const QPolygonF &, polygon ) |
|
2520 } |
|
2521 |
|
2522 |
|
2523 // ----------------------------------------------------------------------------- |
|
2524 // QGraphicsItem::mapToItem |
|
2525 // ----------------------------------------------------------------------------- |
|
2526 // |
|
2527 QPainterPath QGraphicsItem::mapToItem( |
|
2528 const QGraphicsItem * item, |
|
2529 const QPainterPath & path ) const |
|
2530 { |
|
2531 SMC_MOCK_METHOD2( QPainterPath, const QGraphicsItem *, item, |
|
2532 const QPainterPath &, path ) |
|
2533 } |
|
2534 |
|
2535 |
|
2536 // ----------------------------------------------------------------------------- |
|
2537 // QGraphicsItem::mapToParent |
|
2538 // ----------------------------------------------------------------------------- |
|
2539 // |
|
2540 QPainterPath QGraphicsItem::mapToParent( |
|
2541 const QPainterPath & path ) const |
|
2542 { |
|
2543 SMC_MOCK_METHOD1( QPainterPath, const QPainterPath &, path ) |
|
2544 } |
|
2545 |
|
2546 |
|
2547 // ----------------------------------------------------------------------------- |
|
2548 // QGraphicsItem::mapToScene |
|
2549 // ----------------------------------------------------------------------------- |
|
2550 // |
|
2551 QPainterPath QGraphicsItem::mapToScene( |
|
2552 const QPainterPath & path ) const |
|
2553 { |
|
2554 SMC_MOCK_METHOD1( QPainterPath, const QPainterPath &, path ) |
|
2555 } |
|
2556 |
|
2557 |
|
2558 // ----------------------------------------------------------------------------- |
|
2559 // QGraphicsItem::mapFromItem |
|
2560 // ----------------------------------------------------------------------------- |
|
2561 // |
|
2562 QPointF QGraphicsItem::mapFromItem( |
|
2563 const QGraphicsItem * item, |
|
2564 const QPointF & point ) const |
|
2565 { |
|
2566 SMC_MOCK_METHOD2( QPointF, const QGraphicsItem *, item, |
|
2567 const QPointF &, point ) |
|
2568 } |
|
2569 |
|
2570 |
|
2571 // ----------------------------------------------------------------------------- |
|
2572 // QGraphicsItem::mapFromParent |
|
2573 // ----------------------------------------------------------------------------- |
|
2574 // |
|
2575 QPointF QGraphicsItem::mapFromParent( |
|
2576 const QPointF & point ) const |
|
2577 { |
|
2578 SMC_MOCK_METHOD1( QPointF, const QPointF &, point ) |
|
2579 } |
|
2580 |
|
2581 |
|
2582 // ----------------------------------------------------------------------------- |
|
2583 // QGraphicsItem::mapFromScene |
|
2584 // ----------------------------------------------------------------------------- |
|
2585 // |
|
2586 QPointF QGraphicsItem::mapFromScene( |
|
2587 const QPointF & point ) const |
|
2588 { |
|
2589 SMC_MOCK_METHOD1( QPointF, const QPointF &, point ) |
|
2590 } |
|
2591 |
|
2592 |
|
2593 // ----------------------------------------------------------------------------- |
|
2594 // QGraphicsItem::mapFromItem |
|
2595 // ----------------------------------------------------------------------------- |
|
2596 // |
|
2597 QPolygonF QGraphicsItem::mapFromItem( |
|
2598 const QGraphicsItem * item, |
|
2599 const QRectF & rect ) const |
|
2600 { |
|
2601 SMC_MOCK_METHOD2( QPolygonF, const QGraphicsItem *, item, |
|
2602 const QRectF &, rect ) |
|
2603 } |
|
2604 |
|
2605 |
|
2606 // ----------------------------------------------------------------------------- |
|
2607 // QGraphicsItem::mapFromParent |
|
2608 // ----------------------------------------------------------------------------- |
|
2609 // |
|
2610 QPolygonF QGraphicsItem::mapFromParent( |
|
2611 const QRectF & rect ) const |
|
2612 { |
|
2613 SMC_MOCK_METHOD1( QPolygonF, const QRectF &, rect ) |
|
2614 } |
|
2615 |
|
2616 |
|
2617 // ----------------------------------------------------------------------------- |
|
2618 // QGraphicsItem::mapFromScene |
|
2619 // ----------------------------------------------------------------------------- |
|
2620 // |
|
2621 QPolygonF QGraphicsItem::mapFromScene( |
|
2622 const QRectF & rect ) const |
|
2623 { |
|
2624 SMC_MOCK_METHOD1( QPolygonF, const QRectF &, rect ) |
|
2625 } |
|
2626 |
|
2627 |
|
2628 // ----------------------------------------------------------------------------- |
|
2629 // QGraphicsItem::mapRectFromItem |
|
2630 // ----------------------------------------------------------------------------- |
|
2631 // |
|
2632 QRectF QGraphicsItem::mapRectFromItem( |
|
2633 const QGraphicsItem * item, |
|
2634 const QRectF & rect ) const |
|
2635 { |
|
2636 SMC_MOCK_METHOD2( QRectF, const QGraphicsItem *, item, |
|
2637 const QRectF &, rect ) |
|
2638 } |
|
2639 |
|
2640 |
|
2641 // ----------------------------------------------------------------------------- |
|
2642 // QGraphicsItem::mapRectFromParent |
|
2643 // ----------------------------------------------------------------------------- |
|
2644 // |
|
2645 QRectF QGraphicsItem::mapRectFromParent( |
|
2646 const QRectF & rect ) const |
|
2647 { |
|
2648 SMC_MOCK_METHOD1( QRectF, const QRectF &, rect ) |
|
2649 } |
|
2650 |
|
2651 |
|
2652 // ----------------------------------------------------------------------------- |
|
2653 // QGraphicsItem::mapRectFromScene |
|
2654 // ----------------------------------------------------------------------------- |
|
2655 // |
|
2656 QRectF QGraphicsItem::mapRectFromScene( |
|
2657 const QRectF & rect ) const |
|
2658 { |
|
2659 SMC_MOCK_METHOD1( QRectF, const QRectF &, rect ) |
|
2660 } |
|
2661 |
|
2662 |
|
2663 // ----------------------------------------------------------------------------- |
|
2664 // QGraphicsItem::mapFromItem |
|
2665 // ----------------------------------------------------------------------------- |
|
2666 // |
|
2667 QPolygonF QGraphicsItem::mapFromItem( |
|
2668 const QGraphicsItem * item, |
|
2669 const QPolygonF & polygon ) const |
|
2670 { |
|
2671 SMC_MOCK_METHOD2( QPolygonF, const QGraphicsItem *, item, |
|
2672 const QPolygonF &, polygon ) |
|
2673 } |
|
2674 |
|
2675 |
|
2676 // ----------------------------------------------------------------------------- |
|
2677 // QGraphicsItem::mapFromParent |
|
2678 // ----------------------------------------------------------------------------- |
|
2679 // |
|
2680 QPolygonF QGraphicsItem::mapFromParent( |
|
2681 const QPolygonF & polygon ) const |
|
2682 { |
|
2683 SMC_MOCK_METHOD1( QPolygonF, const QPolygonF &, polygon ) |
|
2684 } |
|
2685 |
|
2686 |
|
2687 // ----------------------------------------------------------------------------- |
|
2688 // QGraphicsItem::mapFromScene |
|
2689 // ----------------------------------------------------------------------------- |
|
2690 // |
|
2691 QPolygonF QGraphicsItem::mapFromScene( |
|
2692 const QPolygonF & polygon ) const |
|
2693 { |
|
2694 SMC_MOCK_METHOD1( QPolygonF, const QPolygonF &, polygon ) |
|
2695 } |
|
2696 |
|
2697 |
|
2698 // ----------------------------------------------------------------------------- |
|
2699 // QGraphicsItem::mapFromItem |
|
2700 // ----------------------------------------------------------------------------- |
|
2701 // |
|
2702 QPainterPath QGraphicsItem::mapFromItem( |
|
2703 const QGraphicsItem * item, |
|
2704 const QPainterPath & path ) const |
|
2705 { |
|
2706 SMC_MOCK_METHOD2( QPainterPath, const QGraphicsItem *, item, |
|
2707 const QPainterPath &, path ) |
|
2708 } |
|
2709 |
|
2710 |
|
2711 // ----------------------------------------------------------------------------- |
|
2712 // QGraphicsItem::mapFromParent |
|
2713 // ----------------------------------------------------------------------------- |
|
2714 // |
|
2715 QPainterPath QGraphicsItem::mapFromParent( |
|
2716 const QPainterPath & path ) const |
|
2717 { |
|
2718 SMC_MOCK_METHOD1( QPainterPath, const QPainterPath &, path ) |
|
2719 } |
|
2720 |
|
2721 |
|
2722 // ----------------------------------------------------------------------------- |
|
2723 // QGraphicsItem::mapFromScene |
|
2724 // ----------------------------------------------------------------------------- |
|
2725 // |
|
2726 QPainterPath QGraphicsItem::mapFromScene( |
|
2727 const QPainterPath & path ) const |
|
2728 { |
|
2729 SMC_MOCK_METHOD1( QPainterPath, const QPainterPath &, path ) |
|
2730 } |
|
2731 |
|
2732 |
|
2733 // ----------------------------------------------------------------------------- |
|
2734 // QGraphicsItem::isAncestorOf |
|
2735 // ----------------------------------------------------------------------------- |
|
2736 // |
|
2737 bool QGraphicsItem::isAncestorOf( |
|
2738 const QGraphicsItem * child ) const |
|
2739 { |
|
2740 SMC_MOCK_METHOD1( bool, const QGraphicsItem *, child ) |
|
2741 } |
|
2742 |
|
2743 |
|
2744 // ----------------------------------------------------------------------------- |
|
2745 // QGraphicsItem::commonAncestorItem |
|
2746 // ----------------------------------------------------------------------------- |
|
2747 // |
|
2748 QGraphicsItem * QGraphicsItem::commonAncestorItem( |
|
2749 const QGraphicsItem * other ) const |
|
2750 { |
|
2751 SMC_MOCK_METHOD1( QGraphicsItem *, const QGraphicsItem *, other ) |
|
2752 } |
|
2753 |
|
2754 |
|
2755 // ----------------------------------------------------------------------------- |
|
2756 // QGraphicsItem::isUnderMouse |
|
2757 // ----------------------------------------------------------------------------- |
|
2758 // |
|
2759 bool QGraphicsItem::isUnderMouse( ) const |
|
2760 { |
|
2761 SMC_MOCK_METHOD0( bool ) |
|
2762 } |
|
2763 |
|
2764 |
|
2765 // ----------------------------------------------------------------------------- |
|
2766 // QGraphicsItem::data |
|
2767 // ----------------------------------------------------------------------------- |
|
2768 // |
|
2769 QVariant QGraphicsItem::data( |
|
2770 int key ) const |
|
2771 { |
|
2772 SMC_MOCK_METHOD1( QVariant, int, key ) |
|
2773 } |
|
2774 |
|
2775 |
|
2776 // ----------------------------------------------------------------------------- |
|
2777 // QGraphicsItem::setData |
|
2778 // ----------------------------------------------------------------------------- |
|
2779 // |
|
2780 void QGraphicsItem::setData( |
|
2781 int key, |
|
2782 const QVariant & value ) |
|
2783 { |
|
2784 SMC_MOCK_METHOD2( void, int, key, |
|
2785 const QVariant &, value ) |
|
2786 } |
|
2787 |
|
2788 |
|
2789 // ----------------------------------------------------------------------------- |
|
2790 // QGraphicsItem::inputMethodHints |
|
2791 // ----------------------------------------------------------------------------- |
|
2792 // |
|
2793 Qt::InputMethodHints QGraphicsItem::inputMethodHints( ) const |
|
2794 { |
|
2795 //SMC_MOCK_METHOD0( Qt::InputMethodHints ) |
|
2796 } |
|
2797 |
|
2798 |
|
2799 // ----------------------------------------------------------------------------- |
|
2800 // QGraphicsItem::setInputMethodHints |
|
2801 // ----------------------------------------------------------------------------- |
|
2802 // |
|
2803 void QGraphicsItem::setInputMethodHints( |
|
2804 Qt::InputMethodHints hints ) |
|
2805 { |
|
2806 //SMC_MOCK_METHOD1( void, Qt::InputMethodHints, hints ) |
|
2807 } |
|
2808 |
|
2809 |
|
2810 // ----------------------------------------------------------------------------- |
|
2811 // QGraphicsItem::type |
|
2812 // ----------------------------------------------------------------------------- |
|
2813 // |
|
2814 int QGraphicsItem::type( ) const |
|
2815 { |
|
2816 SMC_MOCK_METHOD0( int ) |
|
2817 } |
|
2818 |
|
2819 |
|
2820 // ----------------------------------------------------------------------------- |
|
2821 // QGraphicsItem::installSceneEventFilter |
|
2822 // ----------------------------------------------------------------------------- |
|
2823 // |
|
2824 void QGraphicsItem::installSceneEventFilter( |
|
2825 QGraphicsItem * filterItem ) |
|
2826 { |
|
2827 SMC_MOCK_METHOD1( void, QGraphicsItem *, filterItem ) |
|
2828 } |
|
2829 |
|
2830 |
|
2831 // ----------------------------------------------------------------------------- |
|
2832 // QGraphicsItem::removeSceneEventFilter |
|
2833 // ----------------------------------------------------------------------------- |
|
2834 // |
|
2835 void QGraphicsItem::removeSceneEventFilter( |
|
2836 QGraphicsItem * filterItem ) |
|
2837 { |
|
2838 SMC_MOCK_METHOD1( void, QGraphicsItem *, filterItem ) |
|
2839 } |
|
2840 |
|
2841 |
|
2842 // ----------------------------------------------------------------------------- |
|
2843 // QGraphicsItem::updateMicroFocus |
|
2844 // ----------------------------------------------------------------------------- |
|
2845 // |
|
2846 void QGraphicsItem::updateMicroFocus( ) |
|
2847 { |
|
2848 SMC_MOCK_METHOD0( void ) |
|
2849 } |
|
2850 |
|
2851 |
|
2852 // ----------------------------------------------------------------------------- |
|
2853 // QGraphicsItem::sceneEventFilter |
|
2854 // ----------------------------------------------------------------------------- |
|
2855 // |
|
2856 bool QGraphicsItem::sceneEventFilter( |
|
2857 QGraphicsItem * watched, |
|
2858 QEvent * event ) |
|
2859 { |
|
2860 SMC_MOCK_METHOD2( bool, QGraphicsItem *, watched, |
|
2861 QEvent *, event ) |
|
2862 } |
|
2863 |
|
2864 |
|
2865 // ----------------------------------------------------------------------------- |
|
2866 // QGraphicsItem::sceneEvent |
|
2867 // ----------------------------------------------------------------------------- |
|
2868 // |
|
2869 bool QGraphicsItem::sceneEvent( |
|
2870 QEvent * event ) |
|
2871 { |
|
2872 SMC_MOCK_METHOD1( bool, QEvent *, event ) |
|
2873 } |
|
2874 |
|
2875 |
|
2876 // ----------------------------------------------------------------------------- |
|
2877 // QGraphicsItem::contextMenuEvent |
|
2878 // ----------------------------------------------------------------------------- |
|
2879 // |
|
2880 void QGraphicsItem::contextMenuEvent( |
|
2881 QGraphicsSceneContextMenuEvent * event ) |
|
2882 { |
|
2883 SMC_MOCK_METHOD1( void, QGraphicsSceneContextMenuEvent *, event ) |
|
2884 } |
|
2885 |
|
2886 |
|
2887 // ----------------------------------------------------------------------------- |
|
2888 // QGraphicsItem::dragEnterEvent |
|
2889 // ----------------------------------------------------------------------------- |
|
2890 // |
|
2891 void QGraphicsItem::dragEnterEvent( |
|
2892 QGraphicsSceneDragDropEvent * event ) |
|
2893 { |
|
2894 SMC_MOCK_METHOD1( void, QGraphicsSceneDragDropEvent *, event ) |
|
2895 } |
|
2896 |
|
2897 |
|
2898 // ----------------------------------------------------------------------------- |
|
2899 // QGraphicsItem::dragLeaveEvent |
|
2900 // ----------------------------------------------------------------------------- |
|
2901 // |
|
2902 void QGraphicsItem::dragLeaveEvent( |
|
2903 QGraphicsSceneDragDropEvent * event ) |
|
2904 { |
|
2905 SMC_MOCK_METHOD1( void, QGraphicsSceneDragDropEvent *, event ) |
|
2906 } |
|
2907 |
|
2908 |
|
2909 // ----------------------------------------------------------------------------- |
|
2910 // QGraphicsItem::dragMoveEvent |
|
2911 // ----------------------------------------------------------------------------- |
|
2912 // |
|
2913 void QGraphicsItem::dragMoveEvent( |
|
2914 QGraphicsSceneDragDropEvent * event ) |
|
2915 { |
|
2916 SMC_MOCK_METHOD1( void, QGraphicsSceneDragDropEvent *, event ) |
|
2917 } |
|
2918 |
|
2919 |
|
2920 // ----------------------------------------------------------------------------- |
|
2921 // QGraphicsItem::dropEvent |
|
2922 // ----------------------------------------------------------------------------- |
|
2923 // |
|
2924 void QGraphicsItem::dropEvent( |
|
2925 QGraphicsSceneDragDropEvent * event ) |
|
2926 { |
|
2927 SMC_MOCK_METHOD1( void, QGraphicsSceneDragDropEvent *, event ) |
|
2928 } |
|
2929 |
|
2930 |
|
2931 // ----------------------------------------------------------------------------- |
|
2932 // QGraphicsItem::focusInEvent |
|
2933 // ----------------------------------------------------------------------------- |
|
2934 // |
|
2935 void QGraphicsItem::focusInEvent( |
|
2936 QFocusEvent * event ) |
|
2937 { |
|
2938 SMC_MOCK_METHOD1( void, QFocusEvent *, event ) |
|
2939 } |
|
2940 |
|
2941 |
|
2942 // ----------------------------------------------------------------------------- |
|
2943 // QGraphicsItem::focusOutEvent |
|
2944 // ----------------------------------------------------------------------------- |
|
2945 // |
|
2946 void QGraphicsItem::focusOutEvent( |
|
2947 QFocusEvent * event ) |
|
2948 { |
|
2949 SMC_MOCK_METHOD1( void, QFocusEvent *, event ) |
|
2950 } |
|
2951 |
|
2952 |
|
2953 // ----------------------------------------------------------------------------- |
|
2954 // QGraphicsItem::hoverEnterEvent |
|
2955 // ----------------------------------------------------------------------------- |
|
2956 // |
|
2957 void QGraphicsItem::hoverEnterEvent( |
|
2958 QGraphicsSceneHoverEvent * event ) |
|
2959 { |
|
2960 SMC_MOCK_METHOD1( void, QGraphicsSceneHoverEvent *, event ) |
|
2961 } |
|
2962 |
|
2963 |
|
2964 // ----------------------------------------------------------------------------- |
|
2965 // QGraphicsItem::hoverMoveEvent |
|
2966 // ----------------------------------------------------------------------------- |
|
2967 // |
|
2968 void QGraphicsItem::hoverMoveEvent( |
|
2969 QGraphicsSceneHoverEvent * event ) |
|
2970 { |
|
2971 SMC_MOCK_METHOD1( void, QGraphicsSceneHoverEvent *, event ) |
|
2972 } |
|
2973 |
|
2974 |
|
2975 // ----------------------------------------------------------------------------- |
|
2976 // QGraphicsItem::hoverLeaveEvent |
|
2977 // ----------------------------------------------------------------------------- |
|
2978 // |
|
2979 void QGraphicsItem::hoverLeaveEvent( |
|
2980 QGraphicsSceneHoverEvent * event ) |
|
2981 { |
|
2982 SMC_MOCK_METHOD1( void, QGraphicsSceneHoverEvent *, event ) |
|
2983 } |
|
2984 |
|
2985 |
|
2986 // ----------------------------------------------------------------------------- |
|
2987 // QGraphicsItem::keyPressEvent |
|
2988 // ----------------------------------------------------------------------------- |
|
2989 // |
|
2990 void QGraphicsItem::keyPressEvent( |
|
2991 QKeyEvent * event ) |
|
2992 { |
|
2993 SMC_MOCK_METHOD1( void, QKeyEvent *, event ) |
|
2994 } |
|
2995 |
|
2996 |
|
2997 // ----------------------------------------------------------------------------- |
|
2998 // QGraphicsItem::keyReleaseEvent |
|
2999 // ----------------------------------------------------------------------------- |
|
3000 // |
|
3001 void QGraphicsItem::keyReleaseEvent( |
|
3002 QKeyEvent * event ) |
|
3003 { |
|
3004 SMC_MOCK_METHOD1( void, QKeyEvent *, event ) |
|
3005 } |
|
3006 |
|
3007 |
|
3008 // ----------------------------------------------------------------------------- |
|
3009 // QGraphicsItem::mousePressEvent |
|
3010 // ----------------------------------------------------------------------------- |
|
3011 // |
|
3012 void QGraphicsItem::mousePressEvent( |
|
3013 QGraphicsSceneMouseEvent * event ) |
|
3014 { |
|
3015 SMC_MOCK_METHOD1( void, QGraphicsSceneMouseEvent *, event ) |
|
3016 } |
|
3017 |
|
3018 |
|
3019 // ----------------------------------------------------------------------------- |
|
3020 // QGraphicsItem::mouseMoveEvent |
|
3021 // ----------------------------------------------------------------------------- |
|
3022 // |
|
3023 void QGraphicsItem::mouseMoveEvent( |
|
3024 QGraphicsSceneMouseEvent * event ) |
|
3025 { |
|
3026 SMC_MOCK_METHOD1( void, QGraphicsSceneMouseEvent *, event ) |
|
3027 } |
|
3028 |
|
3029 |
|
3030 // ----------------------------------------------------------------------------- |
|
3031 // QGraphicsItem::mouseReleaseEvent |
|
3032 // ----------------------------------------------------------------------------- |
|
3033 // |
|
3034 void QGraphicsItem::mouseReleaseEvent( |
|
3035 QGraphicsSceneMouseEvent * event ) |
|
3036 { |
|
3037 SMC_MOCK_METHOD1( void, QGraphicsSceneMouseEvent *, event ) |
|
3038 } |
|
3039 |
|
3040 |
|
3041 // ----------------------------------------------------------------------------- |
|
3042 // QGraphicsItem::mouseDoubleClickEvent |
|
3043 // ----------------------------------------------------------------------------- |
|
3044 // |
|
3045 void QGraphicsItem::mouseDoubleClickEvent( |
|
3046 QGraphicsSceneMouseEvent * event ) |
|
3047 { |
|
3048 SMC_MOCK_METHOD1( void, QGraphicsSceneMouseEvent *, event ) |
|
3049 } |
|
3050 |
|
3051 |
|
3052 // ----------------------------------------------------------------------------- |
|
3053 // QGraphicsItem::wheelEvent |
|
3054 // ----------------------------------------------------------------------------- |
|
3055 // |
|
3056 void QGraphicsItem::wheelEvent( |
|
3057 QGraphicsSceneWheelEvent * event ) |
|
3058 { |
|
3059 SMC_MOCK_METHOD1( void, QGraphicsSceneWheelEvent *, event ) |
|
3060 } |
|
3061 |
|
3062 |
|
3063 // ----------------------------------------------------------------------------- |
|
3064 // QGraphicsItem::inputMethodEvent |
|
3065 // ----------------------------------------------------------------------------- |
|
3066 // |
|
3067 void QGraphicsItem::inputMethodEvent( |
|
3068 QInputMethodEvent * event ) |
|
3069 { |
|
3070 SMC_MOCK_METHOD1( void, QInputMethodEvent *, event ) |
|
3071 } |
|
3072 |
|
3073 |
|
3074 // ----------------------------------------------------------------------------- |
|
3075 // QGraphicsItem::inputMethodQuery |
|
3076 // ----------------------------------------------------------------------------- |
|
3077 // |
|
3078 QVariant QGraphicsItem::inputMethodQuery( |
|
3079 Qt::InputMethodQuery query ) const |
|
3080 { |
|
3081 SMC_MOCK_METHOD1( QVariant, Qt::InputMethodQuery, query ) |
|
3082 } |
|
3083 |
|
3084 |
|
3085 // ----------------------------------------------------------------------------- |
|
3086 // QGraphicsItem::itemChange |
|
3087 // ----------------------------------------------------------------------------- |
|
3088 // |
|
3089 QVariant QGraphicsItem::itemChange( |
|
3090 GraphicsItemChange change, |
|
3091 const QVariant & value ) |
|
3092 { |
|
3093 SMC_MOCK_METHOD2( QVariant, GraphicsItemChange, change, |
|
3094 const QVariant &, value ) |
|
3095 } |
|
3096 |
|
3097 |
|
3098 // ----------------------------------------------------------------------------- |
|
3099 // QGraphicsItem::supportsExtension |
|
3100 // ----------------------------------------------------------------------------- |
|
3101 // |
|
3102 bool QGraphicsItem::supportsExtension( |
|
3103 Extension extension ) const |
|
3104 { |
|
3105 SMC_MOCK_METHOD1( bool, Extension, extension ) |
|
3106 } |
|
3107 |
|
3108 |
|
3109 // ----------------------------------------------------------------------------- |
|
3110 // QGraphicsItem::setExtension |
|
3111 // ----------------------------------------------------------------------------- |
|
3112 // |
|
3113 void QGraphicsItem::setExtension( |
|
3114 Extension extension, |
|
3115 const QVariant & variant ) |
|
3116 { |
|
3117 SMC_MOCK_METHOD2( void, Extension, extension, |
|
3118 const QVariant &, variant ) |
|
3119 } |
|
3120 |
|
3121 |
|
3122 // ----------------------------------------------------------------------------- |
|
3123 // QGraphicsItem::extension |
|
3124 // ----------------------------------------------------------------------------- |
|
3125 // |
|
3126 QVariant QGraphicsItem::extension( |
|
3127 const QVariant & variant ) const |
|
3128 { |
|
3129 SMC_MOCK_METHOD1( QVariant, const QVariant &, variant ) |
|
3130 } |
|
3131 |
|
3132 |
|
3133 // ----------------------------------------------------------------------------- |
|
3134 // QGraphicsItem::QGraphicsItem |
|
3135 // ----------------------------------------------------------------------------- |
|
3136 // |
|
3137 QGraphicsItem::QGraphicsItem( |
|
3138 QGraphicsItemPrivate & dd, |
|
3139 QGraphicsItem * /*parent*/, |
|
3140 QGraphicsScene * /*scene*/ ) |
|
3141 { |
|
3142 |
|
3143 } |
|
3144 |
|
3145 |
|
3146 // ----------------------------------------------------------------------------- |
|
3147 // QGraphicsItem::addToIndex |
|
3148 // ----------------------------------------------------------------------------- |
|
3149 // |
|
3150 void QGraphicsItem::addToIndex( ) |
|
3151 { |
|
3152 SMC_MOCK_METHOD0( void ) |
|
3153 } |
|
3154 |
|
3155 |
|
3156 // ----------------------------------------------------------------------------- |
|
3157 // QGraphicsItem::removeFromIndex |
|
3158 // ----------------------------------------------------------------------------- |
|
3159 // |
|
3160 void QGraphicsItem::removeFromIndex( ) |
|
3161 { |
|
3162 SMC_MOCK_METHOD0( void ) |
|
3163 } |
|
3164 |
|
3165 |
|
3166 // ----------------------------------------------------------------------------- |
|
3167 // QGraphicsItem::prepareGeometryChange |
|
3168 // ----------------------------------------------------------------------------- |
|
3169 // |
|
3170 void QGraphicsItem::prepareGeometryChange( ) |
|
3171 { |
|
3172 SMC_MOCK_METHOD0( void ) |
|
3173 } |
|
3174 |
|
3175 |
|
3176 // ----------------------------------------------------------------------------- |
|
3177 // QGraphicsEllipseItem::QGraphicsEllipseItem |
|
3178 // ----------------------------------------------------------------------------- |
|
3179 // |
|
3180 QGraphicsEllipseItem::QGraphicsEllipseItem( |
|
3181 QGraphicsItem * /*parent*/, |
|
3182 QGraphicsScene * /*scene*/ ) |
|
3183 //: |
|
3184 //QAbstractGraphicsShapeItem( /*parent, scene*/ ) |
|
3185 { |
|
3186 |
|
3187 } |
|
3188 |
|
3189 |
|
3190 // ----------------------------------------------------------------------------- |
|
3191 // QGraphicsEllipseItem::QGraphicsEllipseItem |
|
3192 // ----------------------------------------------------------------------------- |
|
3193 // |
|
3194 QGraphicsEllipseItem::QGraphicsEllipseItem( |
|
3195 const QRectF & rect, |
|
3196 QGraphicsItem * /*parent*/, |
|
3197 QGraphicsScene * /*scene*/ ) |
|
3198 //: |
|
3199 //QAbstractGraphicsShapeItem( /*rect, parent, scene*/ ) |
|
3200 { |
|
3201 |
|
3202 } |
|
3203 |
|
3204 |
|
3205 // ----------------------------------------------------------------------------- |
|
3206 // QGraphicsEllipseItem::QGraphicsEllipseItem |
|
3207 // ----------------------------------------------------------------------------- |
|
3208 // |
|
3209 QGraphicsEllipseItem::QGraphicsEllipseItem( |
|
3210 qreal x, |
|
3211 qreal y, |
|
3212 qreal w, |
|
3213 qreal h, |
|
3214 QGraphicsItem * /*parent*/, |
|
3215 QGraphicsScene * /*scene*/ ) |
|
3216 //: |
|
3217 //QAbstractGraphicsShapeItem( /*x, y, w, h, parent, scene*/ ) |
|
3218 { |
|
3219 |
|
3220 } |
|
3221 |
|
3222 |
|
3223 // ----------------------------------------------------------------------------- |
|
3224 // QGraphicsEllipseItem::~QGraphicsEllipseItem |
|
3225 // ----------------------------------------------------------------------------- |
|
3226 // |
|
3227 QGraphicsEllipseItem::~QGraphicsEllipseItem( ) |
|
3228 { |
|
3229 |
|
3230 } |
|
3231 |
|
3232 |
|
3233 // ----------------------------------------------------------------------------- |
|
3234 // QGraphicsEllipseItem::rect |
|
3235 // ----------------------------------------------------------------------------- |
|
3236 // |
|
3237 QRectF QGraphicsEllipseItem::rect( ) const |
|
3238 { |
|
3239 SMC_MOCK_METHOD0( QRectF ) |
|
3240 } |
|
3241 |
|
3242 |
|
3243 // ----------------------------------------------------------------------------- |
|
3244 // QGraphicsEllipseItem::setRect |
|
3245 // ----------------------------------------------------------------------------- |
|
3246 // |
|
3247 void QGraphicsEllipseItem::setRect( |
|
3248 const QRectF & rect ) |
|
3249 { |
|
3250 SMC_MOCK_METHOD1( void, const QRectF &, rect ) |
|
3251 } |
|
3252 |
|
3253 |
|
3254 // ----------------------------------------------------------------------------- |
|
3255 // QGraphicsEllipseItem::startAngle |
|
3256 // ----------------------------------------------------------------------------- |
|
3257 // |
|
3258 int QGraphicsEllipseItem::startAngle( ) const |
|
3259 { |
|
3260 SMC_MOCK_METHOD0( int ) |
|
3261 } |
|
3262 |
|
3263 |
|
3264 // ----------------------------------------------------------------------------- |
|
3265 // QGraphicsEllipseItem::setStartAngle |
|
3266 // ----------------------------------------------------------------------------- |
|
3267 // |
|
3268 void QGraphicsEllipseItem::setStartAngle( |
|
3269 int angle ) |
|
3270 { |
|
3271 SMC_MOCK_METHOD1( void, int, angle ) |
|
3272 } |
|
3273 |
|
3274 |
|
3275 // ----------------------------------------------------------------------------- |
|
3276 // QGraphicsEllipseItem::spanAngle |
|
3277 // ----------------------------------------------------------------------------- |
|
3278 // |
|
3279 int QGraphicsEllipseItem::spanAngle( ) const |
|
3280 { |
|
3281 SMC_MOCK_METHOD0( int ) |
|
3282 } |
|
3283 |
|
3284 |
|
3285 // ----------------------------------------------------------------------------- |
|
3286 // QGraphicsEllipseItem::setSpanAngle |
|
3287 // ----------------------------------------------------------------------------- |
|
3288 // |
|
3289 void QGraphicsEllipseItem::setSpanAngle( |
|
3290 int angle ) |
|
3291 { |
|
3292 SMC_MOCK_METHOD1( void, int, angle ) |
|
3293 } |
|
3294 |
|
3295 |
|
3296 // ----------------------------------------------------------------------------- |
|
3297 // QGraphicsEllipseItem::boundingRect |
|
3298 // ----------------------------------------------------------------------------- |
|
3299 // |
|
3300 QRectF QGraphicsEllipseItem::boundingRect( ) const |
|
3301 { |
|
3302 SMC_MOCK_METHOD0( QRectF ) |
|
3303 } |
|
3304 |
|
3305 |
|
3306 // ----------------------------------------------------------------------------- |
|
3307 // QGraphicsEllipseItem::shape |
|
3308 // ----------------------------------------------------------------------------- |
|
3309 // |
|
3310 QPainterPath QGraphicsEllipseItem::shape( ) const |
|
3311 { |
|
3312 SMC_MOCK_METHOD0( QPainterPath ) |
|
3313 } |
|
3314 |
|
3315 |
|
3316 // ----------------------------------------------------------------------------- |
|
3317 // QGraphicsEllipseItem::contains |
|
3318 // ----------------------------------------------------------------------------- |
|
3319 // |
|
3320 bool QGraphicsEllipseItem::contains( |
|
3321 const QPointF & point ) const |
|
3322 { |
|
3323 SMC_MOCK_METHOD1( bool, const QPointF &, point ) |
|
3324 } |
|
3325 |
|
3326 |
|
3327 // ----------------------------------------------------------------------------- |
|
3328 // QGraphicsEllipseItem::paint |
|
3329 // ----------------------------------------------------------------------------- |
|
3330 // |
|
3331 void QGraphicsEllipseItem::paint( |
|
3332 QPainter * painter, |
|
3333 const QStyleOptionGraphicsItem * option, |
|
3334 QWidget * widget ) |
|
3335 { |
|
3336 SMC_MOCK_METHOD3( void, QPainter *, painter, |
|
3337 const QStyleOptionGraphicsItem *, option, |
|
3338 QWidget *, widget ) |
|
3339 } |
|
3340 |
|
3341 |
|
3342 // ----------------------------------------------------------------------------- |
|
3343 // QGraphicsEllipseItem::isObscuredBy |
|
3344 // ----------------------------------------------------------------------------- |
|
3345 // |
|
3346 bool QGraphicsEllipseItem::isObscuredBy( |
|
3347 const QGraphicsItem * item ) const |
|
3348 { |
|
3349 SMC_MOCK_METHOD1( bool, const QGraphicsItem *, item ) |
|
3350 } |
|
3351 |
|
3352 |
|
3353 // ----------------------------------------------------------------------------- |
|
3354 // QGraphicsEllipseItem::opaqueArea |
|
3355 // ----------------------------------------------------------------------------- |
|
3356 // |
|
3357 QPainterPath QGraphicsEllipseItem::opaqueArea( ) const |
|
3358 { |
|
3359 SMC_MOCK_METHOD0( QPainterPath ) |
|
3360 } |
|
3361 |
|
3362 |
|
3363 // ----------------------------------------------------------------------------- |
|
3364 // QGraphicsEllipseItem::type |
|
3365 // ----------------------------------------------------------------------------- |
|
3366 // |
|
3367 int QGraphicsEllipseItem::type( ) const |
|
3368 { |
|
3369 SMC_MOCK_METHOD0( int ) |
|
3370 } |
|
3371 |
|
3372 |
|
3373 // ----------------------------------------------------------------------------- |
|
3374 // QGraphicsEllipseItem::supportsExtension |
|
3375 // ----------------------------------------------------------------------------- |
|
3376 // |
|
3377 bool QGraphicsEllipseItem::supportsExtension( |
|
3378 Extension extension ) const |
|
3379 { |
|
3380 SMC_MOCK_METHOD1( bool, Extension, extension ) |
|
3381 } |
|
3382 |
|
3383 |
|
3384 // ----------------------------------------------------------------------------- |
|
3385 // QGraphicsEllipseItem::setExtension |
|
3386 // ----------------------------------------------------------------------------- |
|
3387 // |
|
3388 void QGraphicsEllipseItem::setExtension( |
|
3389 Extension extension, |
|
3390 const QVariant & variant ) |
|
3391 { |
|
3392 SMC_MOCK_METHOD2( void, Extension, extension, |
|
3393 const QVariant &, variant ) |
|
3394 } |
|
3395 |
|
3396 |
|
3397 // ----------------------------------------------------------------------------- |
|
3398 // QGraphicsEllipseItem::extension |
|
3399 // ----------------------------------------------------------------------------- |
|
3400 // |
|
3401 QVariant QGraphicsEllipseItem::extension( |
|
3402 const QVariant & variant ) const |
|
3403 { |
|
3404 SMC_MOCK_METHOD1( QVariant, const QVariant &, variant ) |
|
3405 } |
|
3406 |
|
3407 |
|
3408 // ----------------------------------------------------------------------------- |
|
3409 // QGraphicsPixmapItem::QGraphicsPixmapItem |
|
3410 // ----------------------------------------------------------------------------- |
|
3411 // |
|
3412 QGraphicsPixmapItem::QGraphicsPixmapItem( |
|
3413 QGraphicsItem * /*parent*/, |
|
3414 QGraphicsScene * /*scene*/ ) |
|
3415 //: |
|
3416 //QGraphicsItem( /*parent, scene*/ ) |
|
3417 { |
|
3418 |
|
3419 } |
|
3420 |
|
3421 |
|
3422 // ----------------------------------------------------------------------------- |
|
3423 // QGraphicsPixmapItem::QGraphicsPixmapItem |
|
3424 // ----------------------------------------------------------------------------- |
|
3425 // |
|
3426 QGraphicsPixmapItem::QGraphicsPixmapItem( |
|
3427 const QPixmap & /*pixmap*/, |
|
3428 QGraphicsItem * /*parent*/, |
|
3429 QGraphicsScene * /*scene*/ ) |
|
3430 //: |
|
3431 //QGraphicsItem( /*pixmap, parent, scene*/ ) |
|
3432 { |
|
3433 |
|
3434 } |
|
3435 |
|
3436 |
|
3437 // ----------------------------------------------------------------------------- |
|
3438 // QGraphicsPixmapItem::~QGraphicsPixmapItem |
|
3439 // ----------------------------------------------------------------------------- |
|
3440 // |
|
3441 QGraphicsPixmapItem::~QGraphicsPixmapItem( ) |
|
3442 { |
|
3443 |
|
3444 } |
|
3445 |
|
3446 |
|
3447 // ----------------------------------------------------------------------------- |
|
3448 // QGraphicsPixmapItem::pixmap |
|
3449 // ----------------------------------------------------------------------------- |
|
3450 // |
|
3451 QPixmap QGraphicsPixmapItem::pixmap( ) const |
|
3452 { |
|
3453 SMC_MOCK_METHOD0( QPixmap ) |
|
3454 } |
|
3455 |
|
3456 |
|
3457 // ----------------------------------------------------------------------------- |
|
3458 // QGraphicsPixmapItem::setPixmap |
|
3459 // ----------------------------------------------------------------------------- |
|
3460 // |
|
3461 void QGraphicsPixmapItem::setPixmap( |
|
3462 const QPixmap & pixmap ) |
|
3463 { |
|
3464 SMC_MOCK_METHOD1( void, const QPixmap &, pixmap ) |
|
3465 } |
|
3466 |
|
3467 |
|
3468 // ----------------------------------------------------------------------------- |
|
3469 // QGraphicsPixmapItem::transformationMode |
|
3470 // ----------------------------------------------------------------------------- |
|
3471 // |
|
3472 Qt::TransformationMode QGraphicsPixmapItem::transformationMode( ) const |
|
3473 { |
|
3474 SMC_MOCK_METHOD0( Qt::TransformationMode ) |
|
3475 } |
|
3476 |
|
3477 |
|
3478 // ----------------------------------------------------------------------------- |
|
3479 // QGraphicsPixmapItem::setTransformationMode |
|
3480 // ----------------------------------------------------------------------------- |
|
3481 // |
|
3482 void QGraphicsPixmapItem::setTransformationMode( |
|
3483 Qt::TransformationMode mode ) |
|
3484 { |
|
3485 SMC_MOCK_METHOD1( void, Qt::TransformationMode, mode ) |
|
3486 } |
|
3487 |
|
3488 |
|
3489 // ----------------------------------------------------------------------------- |
|
3490 // QGraphicsPixmapItem::offset |
|
3491 // ----------------------------------------------------------------------------- |
|
3492 // |
|
3493 QPointF QGraphicsPixmapItem::offset( ) const |
|
3494 { |
|
3495 SMC_MOCK_METHOD0( QPointF ) |
|
3496 } |
|
3497 |
|
3498 |
|
3499 // ----------------------------------------------------------------------------- |
|
3500 // QGraphicsPixmapItem::setOffset |
|
3501 // ----------------------------------------------------------------------------- |
|
3502 // |
|
3503 void QGraphicsPixmapItem::setOffset( |
|
3504 const QPointF & offset ) |
|
3505 { |
|
3506 SMC_MOCK_METHOD1( void, const QPointF &, offset ) |
|
3507 } |
|
3508 |
|
3509 |
|
3510 // ----------------------------------------------------------------------------- |
|
3511 // QGraphicsPixmapItem::boundingRect |
|
3512 // ----------------------------------------------------------------------------- |
|
3513 // |
|
3514 QRectF QGraphicsPixmapItem::boundingRect( ) const |
|
3515 { |
|
3516 SMC_MOCK_METHOD0( QRectF ) |
|
3517 } |
|
3518 |
|
3519 |
|
3520 // ----------------------------------------------------------------------------- |
|
3521 // QGraphicsPixmapItem::shape |
|
3522 // ----------------------------------------------------------------------------- |
|
3523 // |
|
3524 QPainterPath QGraphicsPixmapItem::shape( ) const |
|
3525 { |
|
3526 SMC_MOCK_METHOD0( QPainterPath ) |
|
3527 } |
|
3528 |
|
3529 |
|
3530 // ----------------------------------------------------------------------------- |
|
3531 // QGraphicsPixmapItem::contains |
|
3532 // ----------------------------------------------------------------------------- |
|
3533 // |
|
3534 bool QGraphicsPixmapItem::contains( |
|
3535 const QPointF & point ) const |
|
3536 { |
|
3537 SMC_MOCK_METHOD1( bool, const QPointF &, point ) |
|
3538 } |
|
3539 |
|
3540 |
|
3541 // ----------------------------------------------------------------------------- |
|
3542 // QGraphicsPixmapItem::paint |
|
3543 // ----------------------------------------------------------------------------- |
|
3544 // |
|
3545 void QGraphicsPixmapItem::paint( |
|
3546 QPainter * painter, |
|
3547 const QStyleOptionGraphicsItem * option, |
|
3548 QWidget * widget ) |
|
3549 { |
|
3550 SMC_MOCK_METHOD3( void, QPainter *, painter, |
|
3551 const QStyleOptionGraphicsItem *, option, |
|
3552 QWidget *, widget ) |
|
3553 } |
|
3554 |
|
3555 |
|
3556 // ----------------------------------------------------------------------------- |
|
3557 // QGraphicsPixmapItem::isObscuredBy |
|
3558 // ----------------------------------------------------------------------------- |
|
3559 // |
|
3560 bool QGraphicsPixmapItem::isObscuredBy( |
|
3561 const QGraphicsItem * item ) const |
|
3562 { |
|
3563 SMC_MOCK_METHOD1( bool, const QGraphicsItem *, item ) |
|
3564 } |
|
3565 |
|
3566 |
|
3567 // ----------------------------------------------------------------------------- |
|
3568 // QGraphicsPixmapItem::opaqueArea |
|
3569 // ----------------------------------------------------------------------------- |
|
3570 // |
|
3571 QPainterPath QGraphicsPixmapItem::opaqueArea( ) const |
|
3572 { |
|
3573 SMC_MOCK_METHOD0( QPainterPath ) |
|
3574 } |
|
3575 |
|
3576 |
|
3577 // ----------------------------------------------------------------------------- |
|
3578 // QGraphicsPixmapItem::type |
|
3579 // ----------------------------------------------------------------------------- |
|
3580 // |
|
3581 int QGraphicsPixmapItem::type( ) const |
|
3582 { |
|
3583 SMC_MOCK_METHOD0( int ) |
|
3584 } |
|
3585 |
|
3586 |
|
3587 // ----------------------------------------------------------------------------- |
|
3588 // QGraphicsPixmapItem::shapeMode |
|
3589 // ----------------------------------------------------------------------------- |
|
3590 // |
|
3591 QGraphicsPixmapItem::ShapeMode QGraphicsPixmapItem::shapeMode( ) const |
|
3592 { |
|
3593 SMC_MOCK_METHOD0( QGraphicsPixmapItem::ShapeMode ) |
|
3594 } |
|
3595 |
|
3596 |
|
3597 // ----------------------------------------------------------------------------- |
|
3598 // QGraphicsPixmapItem::setShapeMode |
|
3599 // ----------------------------------------------------------------------------- |
|
3600 // |
|
3601 void QGraphicsPixmapItem::setShapeMode( |
|
3602 QGraphicsPixmapItem::ShapeMode mode ) |
|
3603 { |
|
3604 SMC_MOCK_METHOD1( void, QGraphicsPixmapItem::ShapeMode, mode ) |
|
3605 } |
|
3606 |
|
3607 |
|
3608 // ----------------------------------------------------------------------------- |
|
3609 // QGraphicsPixmapItem::supportsExtension |
|
3610 // ----------------------------------------------------------------------------- |
|
3611 // |
|
3612 bool QGraphicsPixmapItem::supportsExtension( |
|
3613 QGraphicsItem::Extension extension ) const |
|
3614 { |
|
3615 SMC_MOCK_METHOD1( bool, QGraphicsItem::Extension, extension ) |
|
3616 } |
|
3617 |
|
3618 |
|
3619 // ----------------------------------------------------------------------------- |
|
3620 // QGraphicsPixmapItem::setExtension |
|
3621 // ----------------------------------------------------------------------------- |
|
3622 // |
|
3623 void QGraphicsPixmapItem::setExtension( |
|
3624 QGraphicsItem::Extension extension, |
|
3625 const QVariant & variant ) |
|
3626 { |
|
3627 SMC_MOCK_METHOD2( void, QGraphicsItem::Extension, extension, |
|
3628 const QVariant &, variant ) |
|
3629 } |
|
3630 |
|
3631 |
|
3632 // ----------------------------------------------------------------------------- |
|
3633 // QGraphicsPixmapItem::extension |
|
3634 // ----------------------------------------------------------------------------- |
|
3635 // |
|
3636 QVariant QGraphicsPixmapItem::extension( |
|
3637 const QVariant & variant ) const |
|
3638 { |
|
3639 SMC_MOCK_METHOD1( QVariant, const QVariant &, variant ) |
|
3640 } |
|
3641 |
|
3642 |
|
3643 // ----------------------------------------------------------------------------- |
|
3644 // QGraphicsRectItem::QGraphicsRectItem |
|
3645 // ----------------------------------------------------------------------------- |
|
3646 // |
|
3647 QGraphicsRectItem::QGraphicsRectItem( |
|
3648 QGraphicsItem * /*parent*/, |
|
3649 QGraphicsScene * /*scene*/ ) |
|
3650 //: |
|
3651 //QAbstractGraphicsShapeItem( /*parent, scene*/ ) |
|
3652 { |
|
3653 |
|
3654 } |
|
3655 |
|
3656 |
|
3657 // ----------------------------------------------------------------------------- |
|
3658 // QGraphicsRectItem::QGraphicsRectItem |
|
3659 // ----------------------------------------------------------------------------- |
|
3660 // |
|
3661 QGraphicsRectItem::QGraphicsRectItem( |
|
3662 const QRectF & /*rect*/, |
|
3663 QGraphicsItem * /*parent*/, |
|
3664 QGraphicsScene * /*scene*/ ) |
|
3665 //: |
|
3666 //QAbstractGraphicsShapeItem( /*rect, parent, scene*/ ) |
|
3667 { |
|
3668 |
|
3669 } |
|
3670 |
|
3671 |
|
3672 // ----------------------------------------------------------------------------- |
|
3673 // QGraphicsRectItem::QGraphicsRectItem |
|
3674 // ----------------------------------------------------------------------------- |
|
3675 // |
|
3676 QGraphicsRectItem::QGraphicsRectItem( |
|
3677 qreal /*x*/, |
|
3678 qreal /*y*/, |
|
3679 qreal /*w*/, |
|
3680 qreal /*h*/, |
|
3681 QGraphicsItem * /*parent*/, |
|
3682 QGraphicsScene * /*scene*/ ) |
|
3683 //: |
|
3684 //QAbstractGraphicsShapeItem( /*x, y, w, h, parent, scene*/ ) |
|
3685 { |
|
3686 |
|
3687 } |
|
3688 |
|
3689 |
|
3690 // ----------------------------------------------------------------------------- |
|
3691 // QGraphicsRectItem::~QGraphicsRectItem |
|
3692 // ----------------------------------------------------------------------------- |
|
3693 // |
|
3694 QGraphicsRectItem::~QGraphicsRectItem( ) |
|
3695 { |
|
3696 |
|
3697 } |
|
3698 |
|
3699 |
|
3700 // ----------------------------------------------------------------------------- |
|
3701 // QGraphicsRectItem::rect |
|
3702 // ----------------------------------------------------------------------------- |
|
3703 // |
|
3704 QRectF QGraphicsRectItem::rect( ) const |
|
3705 { |
|
3706 SMC_MOCK_METHOD0( QRectF ) |
|
3707 } |
|
3708 |
|
3709 |
|
3710 // ----------------------------------------------------------------------------- |
|
3711 // QGraphicsRectItem::setRect |
|
3712 // ----------------------------------------------------------------------------- |
|
3713 // |
|
3714 void QGraphicsRectItem::setRect( |
|
3715 const QRectF & rect ) |
|
3716 { |
|
3717 SMC_MOCK_METHOD1( void, const QRectF &, rect ) |
|
3718 } |
|
3719 |
|
3720 |
|
3721 // ----------------------------------------------------------------------------- |
|
3722 // QGraphicsRectItem::boundingRect |
|
3723 // ----------------------------------------------------------------------------- |
|
3724 // |
|
3725 QRectF QGraphicsRectItem::boundingRect( ) const |
|
3726 { |
|
3727 SMC_MOCK_METHOD0( QRectF ) |
|
3728 } |
|
3729 |
|
3730 |
|
3731 // ----------------------------------------------------------------------------- |
|
3732 // QGraphicsRectItem::shape |
|
3733 // ----------------------------------------------------------------------------- |
|
3734 // |
|
3735 QPainterPath QGraphicsRectItem::shape( ) const |
|
3736 { |
|
3737 SMC_MOCK_METHOD0( QPainterPath ) |
|
3738 } |
|
3739 |
|
3740 |
|
3741 // ----------------------------------------------------------------------------- |
|
3742 // QGraphicsRectItem::contains |
|
3743 // ----------------------------------------------------------------------------- |
|
3744 // |
|
3745 bool QGraphicsRectItem::contains( |
|
3746 const QPointF & point ) const |
|
3747 { |
|
3748 SMC_MOCK_METHOD1( bool, const QPointF &, point ) |
|
3749 } |
|
3750 |
|
3751 |
|
3752 // ----------------------------------------------------------------------------- |
|
3753 // QGraphicsRectItem::paint |
|
3754 // ----------------------------------------------------------------------------- |
|
3755 // |
|
3756 void QGraphicsRectItem::paint( |
|
3757 QPainter * painter, |
|
3758 const QStyleOptionGraphicsItem * option, |
|
3759 QWidget * widget ) |
|
3760 { |
|
3761 SMC_MOCK_METHOD3( void, QPainter *, painter, |
|
3762 const QStyleOptionGraphicsItem *, option, |
|
3763 QWidget *, widget ) |
|
3764 } |
|
3765 |
|
3766 |
|
3767 // ----------------------------------------------------------------------------- |
|
3768 // QGraphicsRectItem::isObscuredBy |
|
3769 // ----------------------------------------------------------------------------- |
|
3770 // |
|
3771 bool QGraphicsRectItem::isObscuredBy( |
|
3772 const QGraphicsItem * item ) const |
|
3773 { |
|
3774 SMC_MOCK_METHOD1( bool, const QGraphicsItem *, item ) |
|
3775 } |
|
3776 |
|
3777 |
|
3778 // ----------------------------------------------------------------------------- |
|
3779 // QGraphicsRectItem::opaqueArea |
|
3780 // ----------------------------------------------------------------------------- |
|
3781 // |
|
3782 QPainterPath QGraphicsRectItem::opaqueArea( ) const |
|
3783 { |
|
3784 SMC_MOCK_METHOD0( QPainterPath ) |
|
3785 } |
|
3786 |
|
3787 |
|
3788 // ----------------------------------------------------------------------------- |
|
3789 // QGraphicsRectItem::type |
|
3790 // ----------------------------------------------------------------------------- |
|
3791 // |
|
3792 int QGraphicsRectItem::type( ) const |
|
3793 { |
|
3794 SMC_MOCK_METHOD0( int ) |
|
3795 } |
|
3796 |
|
3797 |
|
3798 // ----------------------------------------------------------------------------- |
|
3799 // QGraphicsRectItem::supportsExtension |
|
3800 // ----------------------------------------------------------------------------- |
|
3801 // |
|
3802 bool QGraphicsRectItem::supportsExtension( |
|
3803 Extension extension ) const |
|
3804 { |
|
3805 SMC_MOCK_METHOD1( bool, Extension, extension ) |
|
3806 } |
|
3807 |
|
3808 |
|
3809 // ----------------------------------------------------------------------------- |
|
3810 // QGraphicsRectItem::setExtension |
|
3811 // ----------------------------------------------------------------------------- |
|
3812 // |
|
3813 void QGraphicsRectItem::setExtension( |
|
3814 Extension extension, |
|
3815 const QVariant & variant ) |
|
3816 { |
|
3817 SMC_MOCK_METHOD2( void, Extension, extension, |
|
3818 const QVariant &, variant ) |
|
3819 } |
|
3820 |
|
3821 |
|
3822 // ----------------------------------------------------------------------------- |
|
3823 // QGraphicsRectItem::extension |
|
3824 // ----------------------------------------------------------------------------- |
|
3825 // |
|
3826 QVariant QGraphicsRectItem::extension( |
|
3827 const QVariant & variant ) const |
|
3828 { |
|
3829 SMC_MOCK_METHOD1( QVariant, const QVariant &, variant ) |
|
3830 } |
|
3831 |
|
3832 // ----------------------------------------------------------------------------- |
|
3833 // QGraphicsObject::QGraphicsObject |
|
3834 // ----------------------------------------------------------------------------- |
|
3835 // |
|
3836 /*QGraphicsObject::QGraphicsObject(QGraphicsItem *parent) |
|
3837 : QGraphicsItem(parent) |
|
3838 { |
|
3839 } |
|
3840 */ |
|
3841 |
|
3842 // ----------------------------------------------------------------------------- |
|
3843 // QGraphicsObject::QGraphicsObject |
|
3844 // ----------------------------------------------------------------------------- |
|
3845 // |
|
3846 QGraphicsObject::QGraphicsObject( |
|
3847 QGraphicsItemPrivate & /*dd*/, |
|
3848 QGraphicsItem * parent, |
|
3849 QGraphicsScene * s ) |
|
3850 : QObject( s ), QGraphicsItem(parent) |
|
3851 { |
|
3852 |
|
3853 } |
|
3854 |
|
3855 |
|
3856 // ----------------------------------------------------------------------------- |
|
3857 // QGraphicsObject::children |
|
3858 // ----------------------------------------------------------------------------- |
|
3859 // |
|
3860 /*const QObjectList & QGraphicsObject::children( ) const |
|
3861 { |
|
3862 SMC_MOCK_METHOD0( const QObjectList & ) |
|
3863 }*/ |
|
3864 |
|
3865 |
|
3866 // ----------------------------------------------------------------------------- |
|
3867 // QGraphicsObject::grabGesture |
|
3868 // ----------------------------------------------------------------------------- |
|
3869 // |
|
3870 void QGraphicsObject::grabGesture( |
|
3871 Qt::GestureType type, |
|
3872 Qt::GestureFlags flags ) |
|
3873 { |
|
3874 /*SMC_MOCK_METHOD2( void, Qt::GestureType, type, |
|
3875 QFlags<Qt::GestureFlag>, theFlags )*/ |
|
3876 } |
|
3877 |
|
3878 |
|
3879 // ----------------------------------------------------------------------------- |
|
3880 // QGraphicsObject::ungrabGesture |
|
3881 // ----------------------------------------------------------------------------- |
|
3882 // |
|
3883 void QGraphicsObject::ungrabGesture( |
|
3884 Qt::GestureType type ) |
|
3885 { |
|
3886 SMC_MOCK_METHOD1( void, Qt::GestureType, type ) |
|
3887 } |
|
3888 |
|
3889 |
|
3890 // ----------------------------------------------------------------------------- |
|
3891 // QGraphicsObject::updateMicroFocus |
|
3892 // ----------------------------------------------------------------------------- |
|
3893 // |
|
3894 void QGraphicsObject::updateMicroFocus( ) |
|
3895 { |
|
3896 SMC_MOCK_METHOD0( void ) |
|
3897 } |
|
3898 |
|
3899 |
|
3900 // ----------------------------------------------------------------------------- |
|
3901 // QGraphicsObject::parentChanged |
|
3902 // ----------------------------------------------------------------------------- |
|
3903 // |
|
3904 /*void QGraphicsObject::parentChanged( ) |
|
3905 { |
|
3906 SMC_MOCK_METHOD0( void ) |
|
3907 } |
|
3908 |
|
3909 |
|
3910 // ----------------------------------------------------------------------------- |
|
3911 // QGraphicsObject::opacityChanged |
|
3912 // ----------------------------------------------------------------------------- |
|
3913 // |
|
3914 void QGraphicsObject::opacityChanged( ) |
|
3915 { |
|
3916 SMC_MOCK_METHOD0( void ) |
|
3917 } |
|
3918 |
|
3919 |
|
3920 // ----------------------------------------------------------------------------- |
|
3921 // QGraphicsObject::visibleChanged |
|
3922 // ----------------------------------------------------------------------------- |
|
3923 // |
|
3924 void QGraphicsObject::visibleChanged( ) |
|
3925 { |
|
3926 SMC_MOCK_METHOD0( void ) |
|
3927 } |
|
3928 |
|
3929 |
|
3930 // ----------------------------------------------------------------------------- |
|
3931 // QGraphicsObject::enabledChanged |
|
3932 // ----------------------------------------------------------------------------- |
|
3933 // |
|
3934 void QGraphicsObject::enabledChanged( ) |
|
3935 { |
|
3936 SMC_MOCK_METHOD0( void ) |
|
3937 } |
|
3938 |
|
3939 |
|
3940 // ----------------------------------------------------------------------------- |
|
3941 // QGraphicsObject::xChanged |
|
3942 // ----------------------------------------------------------------------------- |
|
3943 // |
|
3944 void QGraphicsObject::xChanged( ) |
|
3945 { |
|
3946 SMC_MOCK_METHOD0( void ) |
|
3947 } |
|
3948 |
|
3949 |
|
3950 // ----------------------------------------------------------------------------- |
|
3951 // QGraphicsObject::yChanged |
|
3952 // ----------------------------------------------------------------------------- |
|
3953 // |
|
3954 void QGraphicsObject::yChanged( ) |
|
3955 { |
|
3956 SMC_MOCK_METHOD0( void ) |
|
3957 } |
|
3958 |
|
3959 |
|
3960 // ----------------------------------------------------------------------------- |
|
3961 // QGraphicsObject::zChanged |
|
3962 // ----------------------------------------------------------------------------- |
|
3963 // |
|
3964 void QGraphicsObject::zChanged( ) |
|
3965 { |
|
3966 SMC_MOCK_METHOD0( void ) |
|
3967 } |
|
3968 |
|
3969 |
|
3970 // ----------------------------------------------------------------------------- |
|
3971 // QGraphicsObject::rotationChanged |
|
3972 // ----------------------------------------------------------------------------- |
|
3973 // |
|
3974 void QGraphicsObject::rotationChanged( ) |
|
3975 { |
|
3976 SMC_MOCK_METHOD0( void ) |
|
3977 } |
|
3978 |
|
3979 |
|
3980 // ----------------------------------------------------------------------------- |
|
3981 // QGraphicsObject::scaleChanged |
|
3982 // ----------------------------------------------------------------------------- |
|
3983 // |
|
3984 void QGraphicsObject::scaleChanged( ) |
|
3985 { |
|
3986 SMC_MOCK_METHOD0( void ) |
|
3987 } |
|
3988 |
|
3989 |
|
3990 // ----------------------------------------------------------------------------- |
|
3991 // QGraphicsObject::childrenChanged |
|
3992 // ----------------------------------------------------------------------------- |
|
3993 // |
|
3994 void QGraphicsObject::childrenChanged( ) |
|
3995 { |
|
3996 SMC_MOCK_METHOD0( void ) |
|
3997 } |
|
3998 |
|
3999 |
|
4000 // ----------------------------------------------------------------------------- |
|
4001 // QGraphicsObject::widthChanged |
|
4002 // ----------------------------------------------------------------------------- |
|
4003 // |
|
4004 void QGraphicsObject::widthChanged( ) |
|
4005 { |
|
4006 SMC_MOCK_METHOD0( void ) |
|
4007 } |
|
4008 |
|
4009 |
|
4010 // ----------------------------------------------------------------------------- |
|
4011 // QGraphicsObject::heightChanged |
|
4012 // ----------------------------------------------------------------------------- |
|
4013 // |
|
4014 void QGraphicsObject::heightChanged( ) |
|
4015 { |
|
4016 SMC_MOCK_METHOD0( void ) |
|
4017 }*/ |
|
4018 |
|
4019 |
|
4020 // ----------------------------------------------------------------------------- |
|
4021 // QGraphicsPolygonItem::QGraphicsPolygonItem |
|
4022 // ----------------------------------------------------------------------------- |
|
4023 // |
|
4024 QGraphicsPolygonItem::QGraphicsPolygonItem( |
|
4025 QGraphicsItem * /*parent*/, |
|
4026 QGraphicsScene * /*scene*/ ) |
|
4027 //: |
|
4028 //QAbstractGraphicsShapeItem( /*parent, scene*/ ) |
|
4029 { |
|
4030 |
|
4031 } |
|
4032 |
|
4033 |
|
4034 // ----------------------------------------------------------------------------- |
|
4035 // QGraphicsPolygonItem::QGraphicsPolygonItem |
|
4036 // ----------------------------------------------------------------------------- |
|
4037 // |
|
4038 QGraphicsPolygonItem::QGraphicsPolygonItem( |
|
4039 const QPolygonF & /*polygon*/, |
|
4040 QGraphicsItem * /*parent*/, |
|
4041 QGraphicsScene * /*scene*/ ) |
|
4042 //: |
|
4043 //QAbstractGraphicsShapeItem( /*polygon, parent, scene*/ ) |
|
4044 { |
|
4045 |
|
4046 } |
|
4047 |
|
4048 |
|
4049 // ----------------------------------------------------------------------------- |
|
4050 // QGraphicsPolygonItem::~QGraphicsPolygonItem |
|
4051 // ----------------------------------------------------------------------------- |
|
4052 // |
|
4053 QGraphicsPolygonItem::~QGraphicsPolygonItem( ) |
|
4054 { |
|
4055 |
|
4056 } |
|
4057 |
|
4058 |
|
4059 // ----------------------------------------------------------------------------- |
|
4060 // QGraphicsPolygonItem::polygon |
|
4061 // ----------------------------------------------------------------------------- |
|
4062 // |
|
4063 QPolygonF QGraphicsPolygonItem::polygon( ) const |
|
4064 { |
|
4065 SMC_MOCK_METHOD0( QPolygonF ) |
|
4066 } |
|
4067 |
|
4068 |
|
4069 // ----------------------------------------------------------------------------- |
|
4070 // QGraphicsPolygonItem::setPolygon |
|
4071 // ----------------------------------------------------------------------------- |
|
4072 // |
|
4073 void QGraphicsPolygonItem::setPolygon( |
|
4074 const QPolygonF & polygon ) |
|
4075 { |
|
4076 SMC_MOCK_METHOD1( void, const QPolygonF &, polygon ) |
|
4077 } |
|
4078 |
|
4079 |
|
4080 // ----------------------------------------------------------------------------- |
|
4081 // QGraphicsPolygonItem::fillRule |
|
4082 // ----------------------------------------------------------------------------- |
|
4083 // |
|
4084 Qt::FillRule QGraphicsPolygonItem::fillRule( ) const |
|
4085 { |
|
4086 SMC_MOCK_METHOD0( Qt::FillRule ) |
|
4087 } |
|
4088 |
|
4089 |
|
4090 // ----------------------------------------------------------------------------- |
|
4091 // QGraphicsPolygonItem::setFillRule |
|
4092 // ----------------------------------------------------------------------------- |
|
4093 // |
|
4094 void QGraphicsPolygonItem::setFillRule( |
|
4095 Qt::FillRule rule ) |
|
4096 { |
|
4097 SMC_MOCK_METHOD1( void, Qt::FillRule, rule ) |
|
4098 } |
|
4099 |
|
4100 |
|
4101 // ----------------------------------------------------------------------------- |
|
4102 // QGraphicsPolygonItem::boundingRect |
|
4103 // ----------------------------------------------------------------------------- |
|
4104 // |
|
4105 QRectF QGraphicsPolygonItem::boundingRect( ) const |
|
4106 { |
|
4107 SMC_MOCK_METHOD0( QRectF ) |
|
4108 } |
|
4109 |
|
4110 |
|
4111 // ----------------------------------------------------------------------------- |
|
4112 // QGraphicsPolygonItem::shape |
|
4113 // ----------------------------------------------------------------------------- |
|
4114 // |
|
4115 QPainterPath QGraphicsPolygonItem::shape( ) const |
|
4116 { |
|
4117 SMC_MOCK_METHOD0( QPainterPath ) |
|
4118 } |
|
4119 |
|
4120 |
|
4121 // ----------------------------------------------------------------------------- |
|
4122 // QGraphicsPolygonItem::contains |
|
4123 // ----------------------------------------------------------------------------- |
|
4124 // |
|
4125 bool QGraphicsPolygonItem::contains( |
|
4126 const QPointF & point ) const |
|
4127 { |
|
4128 SMC_MOCK_METHOD1( bool, const QPointF &, point ) |
|
4129 } |
|
4130 |
|
4131 |
|
4132 // ----------------------------------------------------------------------------- |
|
4133 // QGraphicsPolygonItem::paint |
|
4134 // ----------------------------------------------------------------------------- |
|
4135 // |
|
4136 void QGraphicsPolygonItem::paint( |
|
4137 QPainter * painter, |
|
4138 const QStyleOptionGraphicsItem * option, |
|
4139 QWidget * widget ) |
|
4140 { |
|
4141 SMC_MOCK_METHOD3( void, QPainter *, painter, |
|
4142 const QStyleOptionGraphicsItem *, option, |
|
4143 QWidget *, widget ) |
|
4144 } |
|
4145 |
|
4146 |
|
4147 // ----------------------------------------------------------------------------- |
|
4148 // QGraphicsPolygonItem::isObscuredBy |
|
4149 // ----------------------------------------------------------------------------- |
|
4150 // |
|
4151 bool QGraphicsPolygonItem::isObscuredBy( |
|
4152 const QGraphicsItem * item ) const |
|
4153 { |
|
4154 SMC_MOCK_METHOD1( bool, const QGraphicsItem *, item ) |
|
4155 } |
|
4156 |
|
4157 |
|
4158 // ----------------------------------------------------------------------------- |
|
4159 // QGraphicsPolygonItem::opaqueArea |
|
4160 // ----------------------------------------------------------------------------- |
|
4161 // |
|
4162 QPainterPath QGraphicsPolygonItem::opaqueArea( ) const |
|
4163 { |
|
4164 SMC_MOCK_METHOD0( QPainterPath ) |
|
4165 } |
|
4166 |
|
4167 |
|
4168 // ----------------------------------------------------------------------------- |
|
4169 // QGraphicsPolygonItem::type |
|
4170 // ----------------------------------------------------------------------------- |
|
4171 // |
|
4172 int QGraphicsPolygonItem::type( ) const |
|
4173 { |
|
4174 SMC_MOCK_METHOD0( int ) |
|
4175 } |
|
4176 |
|
4177 |
|
4178 // ----------------------------------------------------------------------------- |
|
4179 // QGraphicsPolygonItem::supportsExtension |
|
4180 // ----------------------------------------------------------------------------- |
|
4181 // |
|
4182 bool QGraphicsPolygonItem::supportsExtension( |
|
4183 Extension extension ) const |
|
4184 { |
|
4185 SMC_MOCK_METHOD1( bool, Extension, extension ) |
|
4186 } |
|
4187 |
|
4188 |
|
4189 // ----------------------------------------------------------------------------- |
|
4190 // QGraphicsPolygonItem::setExtension |
|
4191 // ----------------------------------------------------------------------------- |
|
4192 // |
|
4193 void QGraphicsPolygonItem::setExtension( |
|
4194 Extension extension, |
|
4195 const QVariant & variant ) |
|
4196 { |
|
4197 SMC_MOCK_METHOD2( void, Extension, extension, |
|
4198 const QVariant &, variant ) |
|
4199 } |
|
4200 |
|
4201 |
|
4202 // ----------------------------------------------------------------------------- |
|
4203 // QGraphicsPolygonItem::extension |
|
4204 // ----------------------------------------------------------------------------- |
|
4205 // |
|
4206 QVariant QGraphicsPolygonItem::extension( |
|
4207 const QVariant & variant ) const |
|
4208 { |
|
4209 SMC_MOCK_METHOD1( QVariant, const QVariant &, variant ) |
|
4210 } |
|
4211 |
|
4212 |
|
4213 // ----------------------------------------------------------------------------- |
|
4214 // QGraphicsPathItem::QGraphicsPathItem |
|
4215 // ----------------------------------------------------------------------------- |
|
4216 // |
|
4217 QGraphicsPathItem::QGraphicsPathItem( |
|
4218 QGraphicsItem * /*parent*/, |
|
4219 QGraphicsScene * /*scene*/ ) |
|
4220 //: |
|
4221 //QAbstractGraphicsShapeItem( /*parent, scene*/ ) |
|
4222 { |
|
4223 |
|
4224 } |
|
4225 |
|
4226 |
|
4227 // ----------------------------------------------------------------------------- |
|
4228 // QGraphicsPathItem::QGraphicsPathItem |
|
4229 // ----------------------------------------------------------------------------- |
|
4230 // |
|
4231 QGraphicsPathItem::QGraphicsPathItem( |
|
4232 const QPainterPath & /*path*/, |
|
4233 QGraphicsItem * /*parent*/, |
|
4234 QGraphicsScene * /*scene*/ ) |
|
4235 //: |
|
4236 //QAbstractGraphicsShapeItem( /*path, parent, scene*/ ) |
|
4237 { |
|
4238 |
|
4239 } |
|
4240 |
|
4241 |
|
4242 // ----------------------------------------------------------------------------- |
|
4243 // QGraphicsPathItem::~QGraphicsPathItem |
|
4244 // ----------------------------------------------------------------------------- |
|
4245 // |
|
4246 QGraphicsPathItem::~QGraphicsPathItem( ) |
|
4247 { |
|
4248 |
|
4249 } |
|
4250 |
|
4251 |
|
4252 // ----------------------------------------------------------------------------- |
|
4253 // QGraphicsPathItem::path |
|
4254 // ----------------------------------------------------------------------------- |
|
4255 // |
|
4256 QPainterPath QGraphicsPathItem::path( ) const |
|
4257 { |
|
4258 SMC_MOCK_METHOD0( QPainterPath ) |
|
4259 } |
|
4260 |
|
4261 |
|
4262 // ----------------------------------------------------------------------------- |
|
4263 // QGraphicsPathItem::setPath |
|
4264 // ----------------------------------------------------------------------------- |
|
4265 // |
|
4266 void QGraphicsPathItem::setPath( |
|
4267 const QPainterPath & path ) |
|
4268 { |
|
4269 SMC_MOCK_METHOD1( void, const QPainterPath &, path ) |
|
4270 } |
|
4271 |
|
4272 |
|
4273 // ----------------------------------------------------------------------------- |
|
4274 // QGraphicsPathItem::boundingRect |
|
4275 // ----------------------------------------------------------------------------- |
|
4276 // |
|
4277 QRectF QGraphicsPathItem::boundingRect( ) const |
|
4278 { |
|
4279 SMC_MOCK_METHOD0( QRectF ) |
|
4280 } |
|
4281 |
|
4282 |
|
4283 // ----------------------------------------------------------------------------- |
|
4284 // QGraphicsPathItem::shape |
|
4285 // ----------------------------------------------------------------------------- |
|
4286 // |
|
4287 QPainterPath QGraphicsPathItem::shape( ) const |
|
4288 { |
|
4289 SMC_MOCK_METHOD0( QPainterPath ) |
|
4290 } |
|
4291 |
|
4292 |
|
4293 // ----------------------------------------------------------------------------- |
|
4294 // QGraphicsPathItem::contains |
|
4295 // ----------------------------------------------------------------------------- |
|
4296 // |
|
4297 bool QGraphicsPathItem::contains( |
|
4298 const QPointF & point ) const |
|
4299 { |
|
4300 SMC_MOCK_METHOD1( bool, const QPointF &, point ) |
|
4301 } |
|
4302 |
|
4303 |
|
4304 // ----------------------------------------------------------------------------- |
|
4305 // QGraphicsPathItem::paint |
|
4306 // ----------------------------------------------------------------------------- |
|
4307 // |
|
4308 void QGraphicsPathItem::paint( |
|
4309 QPainter * painter, |
|
4310 const QStyleOptionGraphicsItem * option, |
|
4311 QWidget * widget ) |
|
4312 { |
|
4313 SMC_MOCK_METHOD3( void, QPainter *, painter, |
|
4314 const QStyleOptionGraphicsItem *, option, |
|
4315 QWidget *, widget ) |
|
4316 } |
|
4317 |
|
4318 |
|
4319 // ----------------------------------------------------------------------------- |
|
4320 // QGraphicsPathItem::isObscuredBy |
|
4321 // ----------------------------------------------------------------------------- |
|
4322 // |
|
4323 bool QGraphicsPathItem::isObscuredBy( |
|
4324 const QGraphicsItem * item ) const |
|
4325 { |
|
4326 SMC_MOCK_METHOD1( bool, const QGraphicsItem *, item ) |
|
4327 } |
|
4328 |
|
4329 |
|
4330 // ----------------------------------------------------------------------------- |
|
4331 // QGraphicsPathItem::opaqueArea |
|
4332 // ----------------------------------------------------------------------------- |
|
4333 // |
|
4334 QPainterPath QGraphicsPathItem::opaqueArea( ) const |
|
4335 { |
|
4336 SMC_MOCK_METHOD0( QPainterPath ) |
|
4337 } |
|
4338 |
|
4339 |
|
4340 // ----------------------------------------------------------------------------- |
|
4341 // QGraphicsPathItem::type |
|
4342 // ----------------------------------------------------------------------------- |
|
4343 // |
|
4344 int QGraphicsPathItem::type( ) const |
|
4345 { |
|
4346 SMC_MOCK_METHOD0( int ) |
|
4347 } |
|
4348 |
|
4349 |
|
4350 // ----------------------------------------------------------------------------- |
|
4351 // QGraphicsPathItem::supportsExtension |
|
4352 // ----------------------------------------------------------------------------- |
|
4353 // |
|
4354 bool QGraphicsPathItem::supportsExtension( |
|
4355 Extension extension ) const |
|
4356 { |
|
4357 SMC_MOCK_METHOD1( bool, Extension, extension ) |
|
4358 } |
|
4359 |
|
4360 |
|
4361 // ----------------------------------------------------------------------------- |
|
4362 // QGraphicsPathItem::setExtension |
|
4363 // ----------------------------------------------------------------------------- |
|
4364 // |
|
4365 void QGraphicsPathItem::setExtension( |
|
4366 Extension extension, |
|
4367 const QVariant & variant ) |
|
4368 { |
|
4369 SMC_MOCK_METHOD2( void, Extension, extension, |
|
4370 const QVariant &, variant ) |
|
4371 } |
|
4372 |
|
4373 |
|
4374 // ----------------------------------------------------------------------------- |
|
4375 // QGraphicsPathItem::extension |
|
4376 // ----------------------------------------------------------------------------- |
|
4377 // |
|
4378 QVariant QGraphicsPathItem::extension( |
|
4379 const QVariant & variant ) const |
|
4380 { |
|
4381 SMC_MOCK_METHOD1( QVariant, const QVariant &, variant ) |
|
4382 } |
|
4383 |
|
4384 |
|
4385 // ----------------------------------------------------------------------------- |
|
4386 // QGraphicsSimpleTextItem::QGraphicsSimpleTextItem |
|
4387 // ----------------------------------------------------------------------------- |
|
4388 // |
|
4389 QGraphicsSimpleTextItem::QGraphicsSimpleTextItem( |
|
4390 QGraphicsItem * /*parent*/, |
|
4391 QGraphicsScene * /*scene*/ ) |
|
4392 //: |
|
4393 //QAbstractGraphicsShapeItem( /*parent, scene*/ ) |
|
4394 { |
|
4395 |
|
4396 } |
|
4397 |
|
4398 |
|
4399 // ----------------------------------------------------------------------------- |
|
4400 // QGraphicsSimpleTextItem::QGraphicsSimpleTextItem |
|
4401 // ----------------------------------------------------------------------------- |
|
4402 // |
|
4403 QGraphicsSimpleTextItem::QGraphicsSimpleTextItem( |
|
4404 const QString & /*text*/, |
|
4405 QGraphicsItem * /*parent*/, |
|
4406 QGraphicsScene * /*scene*/ ) |
|
4407 //: |
|
4408 //QAbstractGraphicsShapeItem( /*text, parent, scene*/ ) |
|
4409 { |
|
4410 |
|
4411 } |
|
4412 |
|
4413 |
|
4414 // ----------------------------------------------------------------------------- |
|
4415 // QGraphicsSimpleTextItem::~QGraphicsSimpleTextItem |
|
4416 // ----------------------------------------------------------------------------- |
|
4417 // |
|
4418 QGraphicsSimpleTextItem::~QGraphicsSimpleTextItem( ) |
|
4419 { |
|
4420 |
|
4421 } |
|
4422 |
|
4423 |
|
4424 // ----------------------------------------------------------------------------- |
|
4425 // QGraphicsSimpleTextItem::setText |
|
4426 // ----------------------------------------------------------------------------- |
|
4427 // |
|
4428 void QGraphicsSimpleTextItem::setText( |
|
4429 const QString & text ) |
|
4430 { |
|
4431 SMC_MOCK_METHOD1( void, const QString &, text ) |
|
4432 } |
|
4433 |
|
4434 |
|
4435 // ----------------------------------------------------------------------------- |
|
4436 // QGraphicsSimpleTextItem::text |
|
4437 // ----------------------------------------------------------------------------- |
|
4438 // |
|
4439 QString QGraphicsSimpleTextItem::text( ) const |
|
4440 { |
|
4441 SMC_MOCK_METHOD0( QString ) |
|
4442 } |
|
4443 |
|
4444 |
|
4445 // ----------------------------------------------------------------------------- |
|
4446 // QGraphicsSimpleTextItem::setFont |
|
4447 // ----------------------------------------------------------------------------- |
|
4448 // |
|
4449 void QGraphicsSimpleTextItem::setFont( |
|
4450 const QFont & font ) |
|
4451 { |
|
4452 SMC_MOCK_METHOD1( void, const QFont &, font ) |
|
4453 } |
|
4454 |
|
4455 |
|
4456 // ----------------------------------------------------------------------------- |
|
4457 // QGraphicsSimpleTextItem::font |
|
4458 // ----------------------------------------------------------------------------- |
|
4459 // |
|
4460 QFont QGraphicsSimpleTextItem::font( ) const |
|
4461 { |
|
4462 SMC_MOCK_METHOD0( QFont ) |
|
4463 } |
|
4464 |
|
4465 |
|
4466 // ----------------------------------------------------------------------------- |
|
4467 // QGraphicsSimpleTextItem::boundingRect |
|
4468 // ----------------------------------------------------------------------------- |
|
4469 // |
|
4470 QRectF QGraphicsSimpleTextItem::boundingRect( ) const |
|
4471 { |
|
4472 SMC_MOCK_METHOD0( QRectF ) |
|
4473 } |
|
4474 |
|
4475 |
|
4476 // ----------------------------------------------------------------------------- |
|
4477 // QGraphicsSimpleTextItem::shape |
|
4478 // ----------------------------------------------------------------------------- |
|
4479 // |
|
4480 QPainterPath QGraphicsSimpleTextItem::shape( ) const |
|
4481 { |
|
4482 SMC_MOCK_METHOD0( QPainterPath ) |
|
4483 } |
|
4484 |
|
4485 |
|
4486 // ----------------------------------------------------------------------------- |
|
4487 // QGraphicsSimpleTextItem::contains |
|
4488 // ----------------------------------------------------------------------------- |
|
4489 // |
|
4490 bool QGraphicsSimpleTextItem::contains( |
|
4491 const QPointF & point ) const |
|
4492 { |
|
4493 SMC_MOCK_METHOD1( bool, const QPointF &, point ) |
|
4494 } |
|
4495 |
|
4496 |
|
4497 // ----------------------------------------------------------------------------- |
|
4498 // QGraphicsSimpleTextItem::paint |
|
4499 // ----------------------------------------------------------------------------- |
|
4500 // |
|
4501 void QGraphicsSimpleTextItem::paint( |
|
4502 QPainter * painter, |
|
4503 const QStyleOptionGraphicsItem * option, |
|
4504 QWidget * widget ) |
|
4505 { |
|
4506 SMC_MOCK_METHOD3( void, QPainter *, painter, |
|
4507 const QStyleOptionGraphicsItem *, option, |
|
4508 QWidget *, widget ) |
|
4509 } |
|
4510 |
|
4511 |
|
4512 // ----------------------------------------------------------------------------- |
|
4513 // QGraphicsSimpleTextItem::isObscuredBy |
|
4514 // ----------------------------------------------------------------------------- |
|
4515 // |
|
4516 bool QGraphicsSimpleTextItem::isObscuredBy( |
|
4517 const QGraphicsItem * item ) const |
|
4518 { |
|
4519 SMC_MOCK_METHOD1( bool, const QGraphicsItem *, item ) |
|
4520 } |
|
4521 |
|
4522 |
|
4523 // ----------------------------------------------------------------------------- |
|
4524 // QGraphicsSimpleTextItem::opaqueArea |
|
4525 // ----------------------------------------------------------------------------- |
|
4526 // |
|
4527 QPainterPath QGraphicsSimpleTextItem::opaqueArea( ) const |
|
4528 { |
|
4529 SMC_MOCK_METHOD0( QPainterPath ) |
|
4530 } |
|
4531 |
|
4532 |
|
4533 // ----------------------------------------------------------------------------- |
|
4534 // QGraphicsSimpleTextItem::type |
|
4535 // ----------------------------------------------------------------------------- |
|
4536 // |
|
4537 int QGraphicsSimpleTextItem::type( ) const |
|
4538 { |
|
4539 SMC_MOCK_METHOD0( int ) |
|
4540 } |
|
4541 |
|
4542 |
|
4543 // ----------------------------------------------------------------------------- |
|
4544 // QGraphicsSimpleTextItem::supportsExtension |
|
4545 // ----------------------------------------------------------------------------- |
|
4546 // |
|
4547 bool QGraphicsSimpleTextItem::supportsExtension( |
|
4548 Extension extension ) const |
|
4549 { |
|
4550 SMC_MOCK_METHOD1( bool, Extension, extension ) |
|
4551 } |
|
4552 |
|
4553 |
|
4554 // ----------------------------------------------------------------------------- |
|
4555 // QGraphicsSimpleTextItem::setExtension |
|
4556 // ----------------------------------------------------------------------------- |
|
4557 // |
|
4558 void QGraphicsSimpleTextItem::setExtension( |
|
4559 Extension extension, |
|
4560 const QVariant & variant ) |
|
4561 { |
|
4562 SMC_MOCK_METHOD2( void, Extension, extension, |
|
4563 const QVariant &, variant ) |
|
4564 } |
|
4565 |
|
4566 |
|
4567 // ----------------------------------------------------------------------------- |
|
4568 // QGraphicsSimpleTextItem::extension |
|
4569 // ----------------------------------------------------------------------------- |
|
4570 // |
|
4571 QVariant QGraphicsSimpleTextItem::extension( |
|
4572 const QVariant & variant ) const |
|
4573 { |
|
4574 SMC_MOCK_METHOD1( QVariant, const QVariant &, variant ) |
|
4575 } |
|
4576 |
|
4577 |