tsrc/mocks/qtgui/mock_qgraphicsview.cpp
changeset 78 baacf668fe89
equal deleted inserted replaced
76:cfea66083b62 78:baacf668fe89
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 #include <QDebug>
       
    18 #include <QVariant>
       
    19 #include <smcmockclassincludes.h>
       
    20 #include <qgraphicsview.h>
       
    21 
       
    22 // ============================ MEMBER FUNCTIONS ===============================
       
    23 QWidget::QWidget(QWidget* parent, Qt::WindowFlags f)
       
    24     : QObject(parent)
       
    25 {
       
    26 }
       
    27 
       
    28 QWidget::~QWidget()
       
    29 {
       
    30 }
       
    31 
       
    32 QFrame::QFrame(QWidget* parent, Qt::WindowFlags f)
       
    33     : QWidget(parent)
       
    34 {
       
    35 }
       
    36 
       
    37 QFrame::~QFrame()
       
    38 {
       
    39 }
       
    40 
       
    41 QAbstractScrollArea::QAbstractScrollArea(QWidget *parent)
       
    42     :QFrame(parent)
       
    43 {
       
    44 }
       
    45 
       
    46 QAbstractScrollArea::~QAbstractScrollArea()
       
    47 {
       
    48 }
       
    49 
       
    50 // -----------------------------------------------------------------------------
       
    51 // QGraphicsView::QGraphicsView
       
    52 // -----------------------------------------------------------------------------
       
    53 //
       
    54 QGraphicsView::QGraphicsView( 
       
    55         QWidget * parent )
       
    56     : QAbstractScrollArea( parent )
       
    57     {
       
    58     
       
    59     }
       
    60 
       
    61 
       
    62 // -----------------------------------------------------------------------------
       
    63 // QGraphicsView::QGraphicsView
       
    64 // -----------------------------------------------------------------------------
       
    65 //
       
    66 QGraphicsView::QGraphicsView( 
       
    67         QGraphicsScene * scene,
       
    68         QWidget * parent )
       
    69     //:
       
    70     //QAbstractScrollArea( /*scene, parent*/ )
       
    71     {
       
    72     
       
    73     }
       
    74 
       
    75 
       
    76 // -----------------------------------------------------------------------------
       
    77 // QGraphicsView::~QGraphicsView
       
    78 // -----------------------------------------------------------------------------
       
    79 //
       
    80 QGraphicsView::~QGraphicsView(  )
       
    81     {
       
    82     
       
    83     }
       
    84 
       
    85 
       
    86 // -----------------------------------------------------------------------------
       
    87 // QGraphicsView::sizeHint
       
    88 // -----------------------------------------------------------------------------
       
    89 //
       
    90 QSize QGraphicsView::sizeHint(  ) const
       
    91     {
       
    92     SMC_MOCK_METHOD0( QSize )
       
    93     }
       
    94 
       
    95 
       
    96 // -----------------------------------------------------------------------------
       
    97 // QGraphicsView::renderHints
       
    98 // -----------------------------------------------------------------------------
       
    99 //
       
   100 QPainter::RenderHints QGraphicsView::renderHints(  ) const
       
   101     {
       
   102     SMC_MOCK_METHOD0( QPainter::RenderHints )
       
   103     }
       
   104 
       
   105 
       
   106 // -----------------------------------------------------------------------------
       
   107 // QGraphicsView::setRenderHint
       
   108 // -----------------------------------------------------------------------------
       
   109 //
       
   110 void QGraphicsView::setRenderHint( 
       
   111         QPainter::RenderHint hint,
       
   112         bool enabled )
       
   113     {
       
   114     //SMC_MOCK_METHOD2( void, QPainter::RenderHint, hint, 
       
   115     //    bool, enabled )
       
   116     }
       
   117 
       
   118 
       
   119 // -----------------------------------------------------------------------------
       
   120 // QGraphicsView::setRenderHints
       
   121 // -----------------------------------------------------------------------------
       
   122 //
       
   123 void QGraphicsView::setRenderHints( 
       
   124         QPainter::RenderHints hints )
       
   125     {
       
   126     //SMC_MOCK_METHOD1( void, QPainter::RenderHints, hints )
       
   127     }
       
   128 
       
   129 
       
   130 // -----------------------------------------------------------------------------
       
   131 // QGraphicsView::alignment
       
   132 // -----------------------------------------------------------------------------
       
   133 //
       
   134 Qt::Alignment QGraphicsView::alignment(  ) const
       
   135     {
       
   136     SMC_MOCK_METHOD0( Qt::Alignment )
       
   137     }
       
   138 
       
   139 
       
   140 // -----------------------------------------------------------------------------
       
   141 // QGraphicsView::setAlignment
       
   142 // -----------------------------------------------------------------------------
       
   143 //
       
   144 void QGraphicsView::setAlignment( 
       
   145         Qt::Alignment alignment )
       
   146     {
       
   147     //SMC_MOCK_METHOD1( void, Qt::Alignment, alignment )
       
   148     }
       
   149 
       
   150 
       
   151 // -----------------------------------------------------------------------------
       
   152 // QGraphicsView::transformationAnchor
       
   153 // -----------------------------------------------------------------------------
       
   154 //
       
   155 QGraphicsView::ViewportAnchor QGraphicsView::transformationAnchor(  ) const
       
   156     {
       
   157     SMC_MOCK_METHOD0( ViewportAnchor )
       
   158     }
       
   159 
       
   160 
       
   161 // -----------------------------------------------------------------------------
       
   162 // QGraphicsView::setTransformationAnchor
       
   163 // -----------------------------------------------------------------------------
       
   164 //
       
   165 void QGraphicsView::setTransformationAnchor( 
       
   166         ViewportAnchor anchor )
       
   167     {
       
   168     //SMC_MOCK_METHOD1( void, ViewportAnchor, anchor )
       
   169     }
       
   170 
       
   171 
       
   172 // -----------------------------------------------------------------------------
       
   173 // QGraphicsView::resizeAnchor
       
   174 // -----------------------------------------------------------------------------
       
   175 //
       
   176 /*
       
   177 ViewportAnchor QGraphicsView::resizeAnchor(  ) const
       
   178     {
       
   179     SMC_MOCK_METHOD0( ViewportAnchor )
       
   180     }
       
   181 */
       
   182 
       
   183 // -----------------------------------------------------------------------------
       
   184 // QGraphicsView::setResizeAnchor
       
   185 // -----------------------------------------------------------------------------
       
   186 //
       
   187 void QGraphicsView::setResizeAnchor( 
       
   188         QGraphicsView::ViewportAnchor anchor )
       
   189     {
       
   190     //SMC_MOCK_METHOD1( void, ViewportAnchor, anchor )
       
   191     }
       
   192 
       
   193 
       
   194 // -----------------------------------------------------------------------------
       
   195 // QGraphicsView::viewportUpdateMode
       
   196 // -----------------------------------------------------------------------------
       
   197 //
       
   198 QGraphicsView::ViewportUpdateMode QGraphicsView::viewportUpdateMode(  ) const
       
   199     {
       
   200     SMC_MOCK_METHOD0( ViewportUpdateMode )
       
   201     }
       
   202 
       
   203 
       
   204 // -----------------------------------------------------------------------------
       
   205 // QGraphicsView::setViewportUpdateMode
       
   206 // -----------------------------------------------------------------------------
       
   207 //
       
   208 void QGraphicsView::setViewportUpdateMode( 
       
   209         QGraphicsView::ViewportUpdateMode mode )
       
   210     {
       
   211     //SMC_MOCK_METHOD1( void, ViewportUpdateMode, mode )
       
   212     }
       
   213 
       
   214 
       
   215 // -----------------------------------------------------------------------------
       
   216 // QGraphicsView::optimizationFlags
       
   217 // -----------------------------------------------------------------------------
       
   218 //
       
   219 QGraphicsView::OptimizationFlags QGraphicsView::optimizationFlags(  ) const
       
   220     {
       
   221     SMC_MOCK_METHOD0( OptimizationFlags )
       
   222     }
       
   223 
       
   224 
       
   225 // -----------------------------------------------------------------------------
       
   226 // QGraphicsView::setOptimizationFlag
       
   227 // -----------------------------------------------------------------------------
       
   228 //
       
   229 void QGraphicsView::setOptimizationFlag( 
       
   230         QGraphicsView::OptimizationFlag flag,
       
   231         bool enabled )
       
   232     {
       
   233     SMC_MOCK_METHOD2( void, OptimizationFlag, flag, 
       
   234         bool, enabled )
       
   235     }
       
   236 
       
   237 
       
   238 // -----------------------------------------------------------------------------
       
   239 // QGraphicsView::setOptimizationFlags
       
   240 // -----------------------------------------------------------------------------
       
   241 //
       
   242 void QGraphicsView::setOptimizationFlags( 
       
   243         OptimizationFlags flags )
       
   244     {
       
   245     //SMC_MOCK_METHOD1( void, OptimizationFlags, flags )
       
   246     }
       
   247 
       
   248 
       
   249 // -----------------------------------------------------------------------------
       
   250 // QGraphicsView::dragMode
       
   251 // -----------------------------------------------------------------------------
       
   252 //
       
   253 QGraphicsView::DragMode QGraphicsView::dragMode(  ) const
       
   254     {
       
   255     SMC_MOCK_METHOD0( DragMode )
       
   256     }
       
   257 
       
   258 
       
   259 // -----------------------------------------------------------------------------
       
   260 // QGraphicsView::setDragMode
       
   261 // -----------------------------------------------------------------------------
       
   262 //
       
   263 void QGraphicsView::setDragMode( 
       
   264         DragMode mode )
       
   265     {
       
   266     //SMC_MOCK_METHOD1( void, DragMode, mode )
       
   267     }
       
   268 
       
   269 
       
   270 // -----------------------------------------------------------------------------
       
   271 // QGraphicsView::rubberBandSelectionMode
       
   272 // -----------------------------------------------------------------------------
       
   273 //
       
   274 Qt::ItemSelectionMode QGraphicsView::rubberBandSelectionMode(  ) const
       
   275     {
       
   276     SMC_MOCK_METHOD0( Qt::ItemSelectionMode )
       
   277     }
       
   278 
       
   279 
       
   280 // -----------------------------------------------------------------------------
       
   281 // QGraphicsView::setRubberBandSelectionMode
       
   282 // -----------------------------------------------------------------------------
       
   283 //
       
   284 void QGraphicsView::setRubberBandSelectionMode( 
       
   285         Qt::ItemSelectionMode mode )
       
   286     {
       
   287     //SMC_MOCK_METHOD1( void, Qt::ItemSelectionMode, mode )
       
   288     }
       
   289 
       
   290 
       
   291 // -----------------------------------------------------------------------------
       
   292 // QGraphicsView::cacheMode
       
   293 // -----------------------------------------------------------------------------
       
   294 //
       
   295 QGraphicsView::CacheMode QGraphicsView::cacheMode(  ) const
       
   296     {
       
   297     SMC_MOCK_METHOD0( CacheMode )
       
   298     }
       
   299 
       
   300 
       
   301 // -----------------------------------------------------------------------------
       
   302 // QGraphicsView::setCacheMode
       
   303 // -----------------------------------------------------------------------------
       
   304 //
       
   305 void QGraphicsView::setCacheMode( 
       
   306         CacheMode mode )
       
   307     {
       
   308     //SMC_MOCK_METHOD1( void, CacheMode, mode )
       
   309     }
       
   310 
       
   311 
       
   312 // -----------------------------------------------------------------------------
       
   313 // QGraphicsView::resetCachedContent
       
   314 // -----------------------------------------------------------------------------
       
   315 //
       
   316 void QGraphicsView::resetCachedContent(  )
       
   317     {
       
   318     SMC_MOCK_METHOD0( void )
       
   319     }
       
   320 
       
   321 
       
   322 // -----------------------------------------------------------------------------
       
   323 // QGraphicsView::isInteractive
       
   324 // -----------------------------------------------------------------------------
       
   325 //
       
   326 bool QGraphicsView::isInteractive(  ) const
       
   327     {
       
   328     SMC_MOCK_METHOD0( bool )
       
   329     }
       
   330 
       
   331 
       
   332 // -----------------------------------------------------------------------------
       
   333 // QGraphicsView::setInteractive
       
   334 // -----------------------------------------------------------------------------
       
   335 //
       
   336 void QGraphicsView::setInteractive( 
       
   337         bool allowed )
       
   338     {
       
   339     SMC_MOCK_METHOD1( void, bool, allowed )
       
   340     }
       
   341 
       
   342 
       
   343 // -----------------------------------------------------------------------------
       
   344 // QGraphicsView::scene
       
   345 // -----------------------------------------------------------------------------
       
   346 //
       
   347 QGraphicsScene * QGraphicsView::scene(  ) const
       
   348     {
       
   349     SMC_MOCK_METHOD0( QGraphicsScene * )
       
   350     }
       
   351 
       
   352 
       
   353 // -----------------------------------------------------------------------------
       
   354 // QGraphicsView::setScene
       
   355 // -----------------------------------------------------------------------------
       
   356 //
       
   357 void QGraphicsView::setScene( 
       
   358         QGraphicsScene * scene )
       
   359     {
       
   360     //SMC_MOCK_METHOD1( void, QGraphicsScene *, scene )
       
   361     }
       
   362 
       
   363 
       
   364 // -----------------------------------------------------------------------------
       
   365 // QGraphicsView::sceneRect
       
   366 // -----------------------------------------------------------------------------
       
   367 //
       
   368 QRectF QGraphicsView::sceneRect(  ) const
       
   369     {
       
   370     SMC_MOCK_METHOD0( QRectF )
       
   371     }
       
   372 
       
   373 
       
   374 // -----------------------------------------------------------------------------
       
   375 // QGraphicsView::setSceneRect
       
   376 // -----------------------------------------------------------------------------
       
   377 //
       
   378 void QGraphicsView::setSceneRect( 
       
   379         const QRectF & rect )
       
   380     {
       
   381     //SMC_MOCK_METHOD1( void, const QRectF &, rect )
       
   382     }
       
   383 
       
   384 
       
   385 // -----------------------------------------------------------------------------
       
   386 // QGraphicsView::matrix
       
   387 // -----------------------------------------------------------------------------
       
   388 //
       
   389 QMatrix QGraphicsView::matrix(  ) const
       
   390     {
       
   391     SMC_MOCK_METHOD0( QMatrix )
       
   392     }
       
   393 
       
   394 
       
   395 // -----------------------------------------------------------------------------
       
   396 // QGraphicsView::setMatrix
       
   397 // -----------------------------------------------------------------------------
       
   398 //
       
   399 void QGraphicsView::setMatrix( 
       
   400         const QMatrix & matrix,
       
   401         bool combine )
       
   402     {
       
   403     //SMC_MOCK_METHOD2( void, const QMatrix &, matrix, 
       
   404     //    bool, combine )
       
   405     }
       
   406 
       
   407 
       
   408 // -----------------------------------------------------------------------------
       
   409 // QGraphicsView::resetMatrix
       
   410 // -----------------------------------------------------------------------------
       
   411 //
       
   412 void QGraphicsView::resetMatrix(  )
       
   413     {
       
   414     SMC_MOCK_METHOD0( void )
       
   415     }
       
   416 
       
   417 
       
   418 // -----------------------------------------------------------------------------
       
   419 // QGraphicsView::transform
       
   420 // -----------------------------------------------------------------------------
       
   421 //
       
   422 QTransform QGraphicsView::transform(  ) const
       
   423     {
       
   424     SMC_MOCK_METHOD0( QTransform )
       
   425     }
       
   426 
       
   427 
       
   428 // -----------------------------------------------------------------------------
       
   429 // QGraphicsView::viewportTransform
       
   430 // -----------------------------------------------------------------------------
       
   431 //
       
   432 QTransform QGraphicsView::viewportTransform(  ) const
       
   433     {
       
   434     SMC_MOCK_METHOD0( QTransform )
       
   435     }
       
   436 
       
   437 
       
   438 // -----------------------------------------------------------------------------
       
   439 // QGraphicsView::isTransformed
       
   440 // -----------------------------------------------------------------------------
       
   441 //
       
   442 bool QGraphicsView::isTransformed(  ) const
       
   443     {
       
   444     SMC_MOCK_METHOD0( bool )
       
   445     }
       
   446 
       
   447 
       
   448 // -----------------------------------------------------------------------------
       
   449 // QGraphicsView::setTransform
       
   450 // -----------------------------------------------------------------------------
       
   451 //
       
   452 void QGraphicsView::setTransform( 
       
   453         const QTransform & matrix,
       
   454         bool combine )
       
   455     {
       
   456     //SMC_MOCK_METHOD2( void, const QTransform &, matrix, 
       
   457     //    bool, combine )
       
   458     }
       
   459 
       
   460 
       
   461 // -----------------------------------------------------------------------------
       
   462 // QGraphicsView::resetTransform
       
   463 // -----------------------------------------------------------------------------
       
   464 //
       
   465 void QGraphicsView::resetTransform(  )
       
   466     {
       
   467     SMC_MOCK_METHOD0( void )
       
   468     }
       
   469 
       
   470 
       
   471 // -----------------------------------------------------------------------------
       
   472 // QGraphicsView::rotate
       
   473 // -----------------------------------------------------------------------------
       
   474 //
       
   475 void QGraphicsView::rotate( 
       
   476         qreal angle )
       
   477     {
       
   478     //SMC_MOCK_METHOD1( void, qreal, angle )
       
   479     }
       
   480 
       
   481 
       
   482 // -----------------------------------------------------------------------------
       
   483 // QGraphicsView::scale
       
   484 // -----------------------------------------------------------------------------
       
   485 //
       
   486 void QGraphicsView::scale( 
       
   487         qreal sx,
       
   488         qreal sy )
       
   489     {
       
   490     //SMC_MOCK_METHOD2( void, qreal, sx, 
       
   491     //    qreal, sy )
       
   492     }
       
   493 
       
   494 
       
   495 // -----------------------------------------------------------------------------
       
   496 // QGraphicsView::shear
       
   497 // -----------------------------------------------------------------------------
       
   498 //
       
   499 void QGraphicsView::shear( 
       
   500         qreal sh,
       
   501         qreal sv )
       
   502     {
       
   503     //SMC_MOCK_METHOD2( void, qreal, sh, 
       
   504     //    qreal, sv )
       
   505     }
       
   506 
       
   507 
       
   508 // -----------------------------------------------------------------------------
       
   509 // QGraphicsView::translate
       
   510 // -----------------------------------------------------------------------------
       
   511 //
       
   512 void QGraphicsView::translate( 
       
   513         qreal dx,
       
   514         qreal dy )
       
   515     {
       
   516     SMC_MOCK_METHOD2( void, qreal, dx, 
       
   517         qreal, dy )
       
   518     }
       
   519 
       
   520 
       
   521 // -----------------------------------------------------------------------------
       
   522 // QGraphicsView::centerOn
       
   523 // -----------------------------------------------------------------------------
       
   524 //
       
   525 void QGraphicsView::centerOn( 
       
   526         const QPointF & pos )
       
   527     {
       
   528     //SMC_MOCK_METHOD1( void, const QPointF &, pos )
       
   529     }
       
   530 
       
   531 
       
   532 // -----------------------------------------------------------------------------
       
   533 // QGraphicsView::centerOn
       
   534 // -----------------------------------------------------------------------------
       
   535 //
       
   536 void QGraphicsView::centerOn( 
       
   537         const QGraphicsItem * item )
       
   538     {
       
   539     //SMC_MOCK_METHOD1( void, const QGraphicsItem *, item )
       
   540     }
       
   541 
       
   542 
       
   543 // -----------------------------------------------------------------------------
       
   544 // QGraphicsView::ensureVisible
       
   545 // -----------------------------------------------------------------------------
       
   546 //
       
   547 void QGraphicsView::ensureVisible( 
       
   548         const QRectF & rect,
       
   549         int xmargin,
       
   550         int ymargin )
       
   551     {
       
   552     //SMC_MOCK_METHOD3( void, const QRectF &, rect, 
       
   553     //    int, xmargin, 
       
   554     //    int, ymargin )
       
   555     }
       
   556 
       
   557 
       
   558 // -----------------------------------------------------------------------------
       
   559 // QGraphicsView::ensureVisible
       
   560 // -----------------------------------------------------------------------------
       
   561 //
       
   562 void QGraphicsView::ensureVisible( 
       
   563         const QGraphicsItem * item,
       
   564         int xmargin,
       
   565         int ymargin )
       
   566     {
       
   567     //SMC_MOCK_METHOD3( void, const QGraphicsItem *, item, 
       
   568     //    int, xmargin, 
       
   569     //    int, ymargin )
       
   570     }
       
   571 
       
   572 
       
   573 // -----------------------------------------------------------------------------
       
   574 // QGraphicsView::fitInView
       
   575 // -----------------------------------------------------------------------------
       
   576 //
       
   577 void QGraphicsView::fitInView( 
       
   578         const QRectF & rect,
       
   579         Qt::AspectRatioMode aspectRadioMode )
       
   580     {
       
   581     //SMC_MOCK_METHOD2( void, const QRectF &, rect, 
       
   582     //    Qt::AspectRatioMode, aspectRadioMode )
       
   583     }
       
   584 
       
   585 
       
   586 // -----------------------------------------------------------------------------
       
   587 // QGraphicsView::fitInView
       
   588 // -----------------------------------------------------------------------------
       
   589 //
       
   590 void QGraphicsView::fitInView( 
       
   591         const QGraphicsItem * item,
       
   592         Qt::AspectRatioMode aspectRadioMode )
       
   593     {
       
   594     //SMC_MOCK_METHOD2( void, const QGraphicsItem *, item, 
       
   595     //    Qt::AspectRatioMode, aspectRadioMode )
       
   596     }
       
   597 
       
   598 
       
   599 // -----------------------------------------------------------------------------
       
   600 // QGraphicsView::render
       
   601 // -----------------------------------------------------------------------------
       
   602 //
       
   603 void QGraphicsView::render( 
       
   604         QPainter * painter,
       
   605         const QRectF & target,
       
   606         const QRect & source,
       
   607         Qt::AspectRatioMode aspectRatioMode )
       
   608     {
       
   609     //SMC_MOCK_METHOD4( void, QPainter *, painter, 
       
   610     //    const QRectF &, target, 
       
   611     //    const QRect &, source, 
       
   612     //    Qt::AspectRatioMode, aspectRatioMode )
       
   613     }
       
   614 
       
   615 
       
   616 // -----------------------------------------------------------------------------
       
   617 // QGraphicsView::items
       
   618 // -----------------------------------------------------------------------------
       
   619 //
       
   620 QList <QGraphicsItem * > QGraphicsView::items(  ) const
       
   621     {
       
   622     SMC_MOCK_METHOD0( QList <QGraphicsItem * > )
       
   623     }
       
   624 
       
   625 
       
   626 // -----------------------------------------------------------------------------
       
   627 // QGraphicsView::items
       
   628 // -----------------------------------------------------------------------------
       
   629 //
       
   630 QList <QGraphicsItem * > QGraphicsView::items( 
       
   631         const QPoint & pos ) const
       
   632     {
       
   633     //SMC_MOCK_METHOD1( QList <QGraphicsItem * >, const QPoint &, pos )
       
   634     }
       
   635 
       
   636 
       
   637 // -----------------------------------------------------------------------------
       
   638 // QGraphicsView::items
       
   639 // -----------------------------------------------------------------------------
       
   640 //
       
   641 QList <QGraphicsItem * > QGraphicsView::items( 
       
   642         const QRect & rect,
       
   643         Qt::ItemSelectionMode mode ) const
       
   644     {
       
   645     //SMC_MOCK_METHOD2( QList <QGraphicsItem * >, const QRect &, rect, 
       
   646     //   Qt::ItemSelectionMode, mode )
       
   647     }
       
   648 
       
   649 
       
   650 // -----------------------------------------------------------------------------
       
   651 // QGraphicsView::items
       
   652 // -----------------------------------------------------------------------------
       
   653 //
       
   654 QList <QGraphicsItem * > QGraphicsView::items( 
       
   655         const QPolygon & polygon,
       
   656         Qt::ItemSelectionMode mode ) const
       
   657     {
       
   658     //SMC_MOCK_METHOD2( QList <QGraphicsItem * >, const QPolygon &, polygon, 
       
   659     //    Qt::ItemSelectionMode, mode )
       
   660     }
       
   661 
       
   662 
       
   663 // -----------------------------------------------------------------------------
       
   664 // QGraphicsView::items
       
   665 // -----------------------------------------------------------------------------
       
   666 //
       
   667 QList <QGraphicsItem * > QGraphicsView::items( 
       
   668         const QPainterPath & path,
       
   669         Qt::ItemSelectionMode mode ) const
       
   670     {
       
   671     //SMC_MOCK_METHOD2( QList <QGraphicsItem * >, const QPainterPath &, path, 
       
   672     //    Qt::ItemSelectionMode, mode )
       
   673     }
       
   674 
       
   675 
       
   676 // -----------------------------------------------------------------------------
       
   677 // QGraphicsView::itemAt
       
   678 // -----------------------------------------------------------------------------
       
   679 //
       
   680 QGraphicsItem * QGraphicsView::itemAt( 
       
   681         const QPoint & pos ) const
       
   682     {
       
   683     //SMC_MOCK_METHOD1( QGraphicsItem *, const QPoint &, pos )
       
   684     }
       
   685 
       
   686 
       
   687 // -----------------------------------------------------------------------------
       
   688 // QGraphicsView::mapToScene
       
   689 // -----------------------------------------------------------------------------
       
   690 //
       
   691 QPointF QGraphicsView::mapToScene( 
       
   692         const QPoint & point ) const
       
   693     {
       
   694     //SMC_MOCK_METHOD1( QPointF, const QPoint &, point )
       
   695     }
       
   696 
       
   697 
       
   698 // -----------------------------------------------------------------------------
       
   699 // QGraphicsView::mapToScene
       
   700 // -----------------------------------------------------------------------------
       
   701 //
       
   702 QPolygonF QGraphicsView::mapToScene( 
       
   703         const QRect & rect ) const
       
   704     {
       
   705     //SMC_MOCK_METHOD1( QPolygonF, const QRect &, rect )
       
   706     }
       
   707 
       
   708 
       
   709 // -----------------------------------------------------------------------------
       
   710 // QGraphicsView::mapToScene
       
   711 // -----------------------------------------------------------------------------
       
   712 //
       
   713 QPolygonF QGraphicsView::mapToScene( 
       
   714         const QPolygon & polygon ) const
       
   715     {
       
   716     //SMC_MOCK_METHOD1( QPolygonF, const QPolygon &, polygon )
       
   717     }
       
   718 
       
   719 
       
   720 // -----------------------------------------------------------------------------
       
   721 // QGraphicsView::mapToScene
       
   722 // -----------------------------------------------------------------------------
       
   723 //
       
   724 QPainterPath QGraphicsView::mapToScene( 
       
   725         const QPainterPath & path ) const
       
   726     {
       
   727     //SMC_MOCK_METHOD1( QPainterPath, const QPainterPath &, path )
       
   728     }
       
   729 
       
   730 
       
   731 // -----------------------------------------------------------------------------
       
   732 // QGraphicsView::mapFromScene
       
   733 // -----------------------------------------------------------------------------
       
   734 //
       
   735 QPoint QGraphicsView::mapFromScene( 
       
   736         const QPointF & point ) const
       
   737     {
       
   738     SMC_MOCK_METHOD1( QPoint, const QPointF &, point )
       
   739     }
       
   740 
       
   741 
       
   742 // -----------------------------------------------------------------------------
       
   743 // QGraphicsView::mapFromScene
       
   744 // -----------------------------------------------------------------------------
       
   745 //
       
   746 QPolygon QGraphicsView::mapFromScene( 
       
   747         const QRectF & rect ) const
       
   748     {
       
   749     //SMC_MOCK_METHOD1( QPolygon, const QRectF &, rect )
       
   750     }
       
   751 
       
   752 
       
   753 // -----------------------------------------------------------------------------
       
   754 // QGraphicsView::mapFromScene
       
   755 // -----------------------------------------------------------------------------
       
   756 //
       
   757 QPolygon QGraphicsView::mapFromScene( 
       
   758         const QPolygonF & polygon ) const
       
   759     {
       
   760     //SMC_MOCK_METHOD1( QPolygon, const QPolygonF &, polygon )
       
   761     }
       
   762 
       
   763 
       
   764 // -----------------------------------------------------------------------------
       
   765 // QGraphicsView::mapFromScene
       
   766 // -----------------------------------------------------------------------------
       
   767 //
       
   768 QPainterPath QGraphicsView::mapFromScene( 
       
   769         const QPainterPath & path ) const
       
   770     {
       
   771     //SMC_MOCK_METHOD1( QPainterPath, const QPainterPath &, path )
       
   772     }
       
   773 
       
   774 
       
   775 // -----------------------------------------------------------------------------
       
   776 // QGraphicsView::inputMethodQuery
       
   777 // -----------------------------------------------------------------------------
       
   778 //
       
   779 QVariant QGraphicsView::inputMethodQuery( 
       
   780         Qt::InputMethodQuery query ) const
       
   781     {
       
   782     //SMC_MOCK_METHOD1( QVariant, Qt::InputMethodQuery, query )
       
   783     }
       
   784 
       
   785 
       
   786 // -----------------------------------------------------------------------------
       
   787 // QGraphicsView::backgroundBrush
       
   788 // -----------------------------------------------------------------------------
       
   789 //
       
   790 QBrush QGraphicsView::backgroundBrush(  ) const
       
   791     {
       
   792     SMC_MOCK_METHOD0( QBrush )
       
   793     }
       
   794 
       
   795 
       
   796 // -----------------------------------------------------------------------------
       
   797 // QGraphicsView::setBackgroundBrush
       
   798 // -----------------------------------------------------------------------------
       
   799 //
       
   800 void QGraphicsView::setBackgroundBrush( 
       
   801         const QBrush & brush )
       
   802     {
       
   803     //SMC_MOCK_METHOD1( void, const QBrush &, brush )
       
   804     }
       
   805 
       
   806 
       
   807 // -----------------------------------------------------------------------------
       
   808 // QGraphicsView::foregroundBrush
       
   809 // -----------------------------------------------------------------------------
       
   810 //
       
   811 QBrush QGraphicsView::foregroundBrush(  ) const
       
   812     {
       
   813     SMC_MOCK_METHOD0( QBrush )
       
   814     }
       
   815 
       
   816 
       
   817 // -----------------------------------------------------------------------------
       
   818 // QGraphicsView::setForegroundBrush
       
   819 // -----------------------------------------------------------------------------
       
   820 //
       
   821 void QGraphicsView::setForegroundBrush( 
       
   822         const QBrush & brush )
       
   823     {
       
   824     //SMC_MOCK_METHOD1( void, const QBrush &, brush )
       
   825     }
       
   826 
       
   827 
       
   828 // -----------------------------------------------------------------------------
       
   829 // QGraphicsView::updateScene
       
   830 // -----------------------------------------------------------------------------
       
   831 //
       
   832 void QGraphicsView::updateScene( 
       
   833         const QList<QRectF> & rects )
       
   834     {
       
   835     //SMC_MOCK_METHOD1( Q_SLOTS : void, const QList<QRectF> &, rects )
       
   836     }
       
   837 
       
   838 
       
   839 // -----------------------------------------------------------------------------
       
   840 // QGraphicsView::invalidateScene
       
   841 // -----------------------------------------------------------------------------
       
   842 //
       
   843 void QGraphicsView::invalidateScene( 
       
   844         const QRectF & rect,
       
   845         QGraphicsScene::SceneLayers layers )
       
   846     {
       
   847     //SMC_MOCK_METHOD2( void, const QRectF &, rect, 
       
   848     //    QGraphicsScene::SceneLayers, layers )
       
   849     }
       
   850 
       
   851 
       
   852 // -----------------------------------------------------------------------------
       
   853 // QGraphicsView::updateSceneRect
       
   854 // -----------------------------------------------------------------------------
       
   855 //
       
   856 void QGraphicsView::updateSceneRect( 
       
   857         const QRectF & rect )
       
   858     {
       
   859     //SMC_MOCK_METHOD1( void, const QRectF &, rect )
       
   860     }
       
   861 
       
   862 
       
   863 // -----------------------------------------------------------------------------
       
   864 // QGraphicsView::setupViewport
       
   865 // -----------------------------------------------------------------------------
       
   866 //
       
   867 void QGraphicsView::setupViewport( 
       
   868         QWidget * widget )
       
   869     {
       
   870     //SMC_MOCK_METHOD1( Q_SLOTS : void, QWidget *, widget )
       
   871     }
       
   872 
       
   873 
       
   874 // -----------------------------------------------------------------------------
       
   875 // QGraphicsView::QGraphicsView
       
   876 // -----------------------------------------------------------------------------
       
   877 //
       
   878 QGraphicsView::QGraphicsView( 
       
   879         QGraphicsViewPrivate &,
       
   880         QWidget * parent )
       
   881     //:
       
   882     //QAbstractScrollArea( /*&, parent*/ )
       
   883     {
       
   884     
       
   885     }
       
   886 
       
   887 
       
   888 // -----------------------------------------------------------------------------
       
   889 // QGraphicsView::event
       
   890 // -----------------------------------------------------------------------------
       
   891 //
       
   892 bool QGraphicsView::event( 
       
   893         QEvent * event )
       
   894     {
       
   895     //SMC_MOCK_METHOD1( bool, QEvent *, event )
       
   896     }
       
   897 
       
   898 
       
   899 // -----------------------------------------------------------------------------
       
   900 // QGraphicsView::viewportEvent
       
   901 // -----------------------------------------------------------------------------
       
   902 //
       
   903 bool QGraphicsView::viewportEvent( 
       
   904         QEvent * event )
       
   905     {
       
   906     //SMC_MOCK_METHOD1( bool, QEvent *, event )
       
   907     }
       
   908 
       
   909 
       
   910 // -----------------------------------------------------------------------------
       
   911 // QGraphicsView::contextMenuEvent
       
   912 // -----------------------------------------------------------------------------
       
   913 //
       
   914 void QGraphicsView::contextMenuEvent( 
       
   915         QContextMenuEvent * event )
       
   916     {
       
   917     //SMC_MOCK_METHOD1( void, QContextMenuEvent *, event )
       
   918     }
       
   919 
       
   920 
       
   921 // -----------------------------------------------------------------------------
       
   922 // QGraphicsView::dragEnterEvent
       
   923 // -----------------------------------------------------------------------------
       
   924 //
       
   925 void QGraphicsView::dragEnterEvent( 
       
   926         QDragEnterEvent * event )
       
   927     {
       
   928     //SMC_MOCK_METHOD1( void, QDragEnterEvent *, event )
       
   929     }
       
   930 
       
   931 
       
   932 // -----------------------------------------------------------------------------
       
   933 // QGraphicsView::dragLeaveEvent
       
   934 // -----------------------------------------------------------------------------
       
   935 //
       
   936 void QGraphicsView::dragLeaveEvent( 
       
   937         QDragLeaveEvent * event )
       
   938     {
       
   939     //SMC_MOCK_METHOD1( void, QDragLeaveEvent *, event )
       
   940     }
       
   941 
       
   942 
       
   943 // -----------------------------------------------------------------------------
       
   944 // QGraphicsView::dragMoveEvent
       
   945 // -----------------------------------------------------------------------------
       
   946 //
       
   947 void QGraphicsView::dragMoveEvent( 
       
   948         QDragMoveEvent * event )
       
   949     {
       
   950     //SMC_MOCK_METHOD1( void, QDragMoveEvent *, event )
       
   951     }
       
   952 
       
   953 
       
   954 // -----------------------------------------------------------------------------
       
   955 // QGraphicsView::dropEvent
       
   956 // -----------------------------------------------------------------------------
       
   957 //
       
   958 void QGraphicsView::dropEvent( 
       
   959         QDropEvent * event )
       
   960     {
       
   961     //SMC_MOCK_METHOD1( void, QDropEvent *, event )
       
   962     }
       
   963 
       
   964 
       
   965 // -----------------------------------------------------------------------------
       
   966 // QGraphicsView::focusInEvent
       
   967 // -----------------------------------------------------------------------------
       
   968 //
       
   969 void QGraphicsView::focusInEvent( 
       
   970         QFocusEvent * event )
       
   971     {
       
   972     //SMC_MOCK_METHOD1( void, QFocusEvent *, event )
       
   973     }
       
   974 
       
   975 
       
   976 // -----------------------------------------------------------------------------
       
   977 // QGraphicsView::focusNextPrevChild
       
   978 // -----------------------------------------------------------------------------
       
   979 //
       
   980 bool QGraphicsView::focusNextPrevChild( 
       
   981         bool next )
       
   982     {
       
   983     //SMC_MOCK_METHOD1( bool, bool, next )
       
   984     }
       
   985 
       
   986 
       
   987 // -----------------------------------------------------------------------------
       
   988 // QGraphicsView::focusOutEvent
       
   989 // -----------------------------------------------------------------------------
       
   990 //
       
   991 void QGraphicsView::focusOutEvent( 
       
   992         QFocusEvent * event )
       
   993     {
       
   994     //SMC_MOCK_METHOD1( void, QFocusEvent *, event )
       
   995     }
       
   996 
       
   997 
       
   998 // -----------------------------------------------------------------------------
       
   999 // QGraphicsView::keyPressEvent
       
  1000 // -----------------------------------------------------------------------------
       
  1001 //
       
  1002 void QGraphicsView::keyPressEvent( 
       
  1003         QKeyEvent * event )
       
  1004     {
       
  1005     //SMC_MOCK_METHOD1( void, QKeyEvent *, event )
       
  1006     }
       
  1007 
       
  1008 
       
  1009 // -----------------------------------------------------------------------------
       
  1010 // QGraphicsView::keyReleaseEvent
       
  1011 // -----------------------------------------------------------------------------
       
  1012 //
       
  1013 void QGraphicsView::keyReleaseEvent( 
       
  1014         QKeyEvent * event )
       
  1015     {
       
  1016     //SMC_MOCK_METHOD1( void, QKeyEvent *, event )
       
  1017     }
       
  1018 
       
  1019 
       
  1020 // -----------------------------------------------------------------------------
       
  1021 // QGraphicsView::mouseDoubleClickEvent
       
  1022 // -----------------------------------------------------------------------------
       
  1023 //
       
  1024 void QGraphicsView::mouseDoubleClickEvent( 
       
  1025         QMouseEvent * event )
       
  1026     {
       
  1027     //SMC_MOCK_METHOD1( void, QMouseEvent *, event )
       
  1028     }
       
  1029 
       
  1030 
       
  1031 // -----------------------------------------------------------------------------
       
  1032 // QGraphicsView::mousePressEvent
       
  1033 // -----------------------------------------------------------------------------
       
  1034 //
       
  1035 void QGraphicsView::mousePressEvent( 
       
  1036         QMouseEvent * event )
       
  1037     {
       
  1038     //SMC_MOCK_METHOD1( void, QMouseEvent *, event )
       
  1039     }
       
  1040 
       
  1041 
       
  1042 // -----------------------------------------------------------------------------
       
  1043 // QGraphicsView::mouseMoveEvent
       
  1044 // -----------------------------------------------------------------------------
       
  1045 //
       
  1046 void QGraphicsView::mouseMoveEvent( 
       
  1047         QMouseEvent * event )
       
  1048     {
       
  1049     //SMC_MOCK_METHOD1( void, QMouseEvent *, event )
       
  1050     }
       
  1051 
       
  1052 
       
  1053 // -----------------------------------------------------------------------------
       
  1054 // QGraphicsView::mouseReleaseEvent
       
  1055 // -----------------------------------------------------------------------------
       
  1056 //
       
  1057 void QGraphicsView::mouseReleaseEvent( 
       
  1058         QMouseEvent * event )
       
  1059     {
       
  1060     //SMC_MOCK_METHOD1( void, QMouseEvent *, event )
       
  1061     }
       
  1062 
       
  1063 
       
  1064 // -----------------------------------------------------------------------------
       
  1065 // QGraphicsView::wheelEvent
       
  1066 // -----------------------------------------------------------------------------
       
  1067 //
       
  1068 void QGraphicsView::wheelEvent( 
       
  1069         QWheelEvent * event )
       
  1070     {
       
  1071     //SMC_MOCK_METHOD1( void, QWheelEvent *, event )
       
  1072     }
       
  1073 
       
  1074 
       
  1075 // -----------------------------------------------------------------------------
       
  1076 // QGraphicsView::paintEvent
       
  1077 // -----------------------------------------------------------------------------
       
  1078 //
       
  1079 void QGraphicsView::paintEvent( 
       
  1080         QPaintEvent * event )
       
  1081     {
       
  1082     //SMC_MOCK_METHOD1( void, QPaintEvent *, event )
       
  1083     }
       
  1084 
       
  1085 
       
  1086 // -----------------------------------------------------------------------------
       
  1087 // QGraphicsView::resizeEvent
       
  1088 // -----------------------------------------------------------------------------
       
  1089 //
       
  1090 void QGraphicsView::resizeEvent( 
       
  1091         QResizeEvent * event )
       
  1092     {
       
  1093     //SMC_MOCK_METHOD1( void, QResizeEvent *, event )
       
  1094     }
       
  1095 
       
  1096 
       
  1097 // -----------------------------------------------------------------------------
       
  1098 // QGraphicsView::scrollContentsBy
       
  1099 // -----------------------------------------------------------------------------
       
  1100 //
       
  1101 void QGraphicsView::scrollContentsBy( 
       
  1102         int dx,
       
  1103         int dy )
       
  1104     {
       
  1105     //SMC_MOCK_METHOD2( void, int, dx, 
       
  1106     //    int, dy )
       
  1107     }
       
  1108 
       
  1109 
       
  1110 // -----------------------------------------------------------------------------
       
  1111 // QGraphicsView::showEvent
       
  1112 // -----------------------------------------------------------------------------
       
  1113 //
       
  1114 void QGraphicsView::showEvent( 
       
  1115         QShowEvent * event )
       
  1116     {
       
  1117     //SMC_MOCK_METHOD1( void, QShowEvent *, event )
       
  1118     }
       
  1119 
       
  1120 
       
  1121 // -----------------------------------------------------------------------------
       
  1122 // QGraphicsView::inputMethodEvent
       
  1123 // -----------------------------------------------------------------------------
       
  1124 //
       
  1125 void QGraphicsView::inputMethodEvent( 
       
  1126         QInputMethodEvent * event )
       
  1127     {
       
  1128     //SMC_MOCK_METHOD1( void, QInputMethodEvent *, event )
       
  1129     }
       
  1130 
       
  1131 
       
  1132 // -----------------------------------------------------------------------------
       
  1133 // QGraphicsView::drawBackground
       
  1134 // -----------------------------------------------------------------------------
       
  1135 //
       
  1136 void QGraphicsView::drawBackground( 
       
  1137         QPainter * painter,
       
  1138         const QRectF & rect )
       
  1139     {
       
  1140     //SMC_MOCK_METHOD2( void, QPainter *, painter, 
       
  1141     //    const QRectF &, rect )
       
  1142     }
       
  1143 
       
  1144 
       
  1145 // -----------------------------------------------------------------------------
       
  1146 // QGraphicsView::drawForeground
       
  1147 // -----------------------------------------------------------------------------
       
  1148 //
       
  1149 void QGraphicsView::drawForeground( 
       
  1150         QPainter * painter,
       
  1151         const QRectF & rect )
       
  1152     {
       
  1153     //SMC_MOCK_METHOD2( void, QPainter *, painter, 
       
  1154     //    const QRectF &, rect )
       
  1155     }
       
  1156 
       
  1157 
       
  1158 // -----------------------------------------------------------------------------
       
  1159 // QGraphicsView::drawItems
       
  1160 // -----------------------------------------------------------------------------
       
  1161 //
       
  1162 /*
       
  1163 void QGraphicsView::drawItems( 
       
  1164         QPainter * painter,
       
  1165         int numItems,
       
  1166         QGraphicsItem * items,
       
  1167         const QStyleOptionGraphicsItem options )
       
  1168     {
       
  1169     //SMC_MOCK_METHOD4( void, QPainter *, painter, 
       
  1170     //    int, numItems, 
       
  1171     //    QGraphicsItem *, items, 
       
  1172     //    const QStyleOptionGraphicsItem, options )
       
  1173     }
       
  1174 
       
  1175 */