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