phoneplugins/infowidgetplugin/tsrc/mocks/mock_qgesture.cpp
changeset 76 cfea66083b62
equal deleted inserted replaced
74:d1c62c765e48 76:cfea66083b62
       
     1 /** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     2 * All rights reserved.
       
     3 * This component and the accompanying materials are made available
       
     4 * under the terms of the License "Eclipse Public License v1.0"
       
     5 * which accompanies this distribution, and is available
       
     6 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 *
       
     8 * Initial Contributors:
       
     9 * Nokia Corporation - initial contribution.
       
    10 *
       
    11 * Contributors:
       
    12 *
       
    13 * Description:
       
    14 *
       
    15 */
       
    16 #include <QDebug>
       
    17 #include <smcmockclassincludes.h>
       
    18 #include "qgesture.h"
       
    19 
       
    20 // ============================ MEMBER FUNCTIONS ===============================
       
    21 
       
    22 // -----------------------------------------------------------------------------
       
    23 // QSwipeGesture::QSwipeGesture
       
    24 // -----------------------------------------------------------------------------
       
    25 //
       
    26 QSwipeGesture::QSwipeGesture( 
       
    27         QObject * parent )
       
    28     //:
       
    29     //QGesture( /*parent*/ )
       
    30     {
       
    31     
       
    32     }
       
    33 
       
    34 
       
    35 // -----------------------------------------------------------------------------
       
    36 // QSwipeGesture::horizontalDirection
       
    37 // -----------------------------------------------------------------------------
       
    38 //
       
    39 QSwipeGesture::SwipeDirection QSwipeGesture::horizontalDirection(  ) const
       
    40     {
       
    41     SMC_MOCK_METHOD0( QSwipeGesture::SwipeDirection )
       
    42     }
       
    43 
       
    44 
       
    45 // -----------------------------------------------------------------------------
       
    46 // QSwipeGesture::verticalDirection
       
    47 // -----------------------------------------------------------------------------
       
    48 //
       
    49 QSwipeGesture::SwipeDirection QSwipeGesture::verticalDirection(  ) const
       
    50     {
       
    51     SMC_MOCK_METHOD0( QSwipeGesture::SwipeDirection )
       
    52     }
       
    53 
       
    54 
       
    55 // -----------------------------------------------------------------------------
       
    56 // QSwipeGesture::swipeAngle
       
    57 // -----------------------------------------------------------------------------
       
    58 //
       
    59 qreal QSwipeGesture::swipeAngle(  ) const
       
    60     {
       
    61     SMC_MOCK_METHOD0( qreal )
       
    62     }
       
    63 
       
    64 
       
    65 // -----------------------------------------------------------------------------
       
    66 // QSwipeGesture::setSwipeAngle
       
    67 // -----------------------------------------------------------------------------
       
    68 //
       
    69 void QSwipeGesture::setSwipeAngle( 
       
    70         qreal value )
       
    71     {
       
    72     SMC_MOCK_METHOD1( void, qreal, value )
       
    73     }
       
    74 
       
    75 
       
    76 // -----------------------------------------------------------------------------
       
    77 // QTapAndHoldGesture::position
       
    78 // -----------------------------------------------------------------------------
       
    79 //
       
    80 QPointF QTapAndHoldGesture::position(  ) const
       
    81     {
       
    82     SMC_MOCK_METHOD0( QPointF )
       
    83     }
       
    84 
       
    85 
       
    86 // -----------------------------------------------------------------------------
       
    87 // QTapAndHoldGesture::setPosition
       
    88 // -----------------------------------------------------------------------------
       
    89 //
       
    90 void QTapAndHoldGesture::setPosition( 
       
    91         const QPointF & pos )
       
    92     {
       
    93     SMC_MOCK_METHOD1( void, const QPointF &, pos )
       
    94     }
       
    95 
       
    96 
       
    97 // -----------------------------------------------------------------------------
       
    98 // QTapAndHoldGesture::setTimeout
       
    99 // -----------------------------------------------------------------------------
       
   100 //
       
   101 void QTapAndHoldGesture::setTimeout( 
       
   102         int msecs )
       
   103     {
       
   104     SMC_MOCK_METHOD1( void, int, msecs )
       
   105     }
       
   106 
       
   107 
       
   108 // -----------------------------------------------------------------------------
       
   109 // QTapAndHoldGesture::timeout
       
   110 // -----------------------------------------------------------------------------
       
   111 //
       
   112 int QTapAndHoldGesture::timeout(  )
       
   113     {
       
   114     SMC_MOCK_METHOD0( int )
       
   115     }
       
   116 
       
   117 // -----------------------------------------------------------------------------
       
   118 // QPanGesture::lastOffset
       
   119 // -----------------------------------------------------------------------------
       
   120 //
       
   121 QPointF QPanGesture::lastOffset(  ) const
       
   122     {
       
   123     SMC_MOCK_METHOD0( QPointF )
       
   124     }
       
   125 
       
   126 
       
   127 // -----------------------------------------------------------------------------
       
   128 // QPanGesture::offset
       
   129 // -----------------------------------------------------------------------------
       
   130 //
       
   131 QPointF QPanGesture::offset(  ) const
       
   132     {
       
   133     SMC_MOCK_METHOD0( QPointF )
       
   134     }
       
   135 
       
   136 
       
   137 // -----------------------------------------------------------------------------
       
   138 // QPanGesture::delta
       
   139 // -----------------------------------------------------------------------------
       
   140 //
       
   141 QPointF QPanGesture::delta(  ) const
       
   142     {
       
   143     SMC_MOCK_METHOD0( QPointF )
       
   144     }
       
   145 
       
   146 
       
   147 // -----------------------------------------------------------------------------
       
   148 // QPanGesture::acceleration
       
   149 // -----------------------------------------------------------------------------
       
   150 //
       
   151 qreal QPanGesture::acceleration(  ) const
       
   152     {
       
   153     SMC_MOCK_METHOD0( qreal )
       
   154     }
       
   155 
       
   156 
       
   157 // -----------------------------------------------------------------------------
       
   158 // QPanGesture::setLastOffset
       
   159 // -----------------------------------------------------------------------------
       
   160 //
       
   161 void QPanGesture::setLastOffset( 
       
   162         const QPointF & value )
       
   163     {
       
   164     SMC_MOCK_METHOD1( void, const QPointF &, value )
       
   165     }
       
   166 
       
   167 
       
   168 // -----------------------------------------------------------------------------
       
   169 // QPanGesture::setOffset
       
   170 // -----------------------------------------------------------------------------
       
   171 //
       
   172 void QPanGesture::setOffset( 
       
   173         const QPointF & value )
       
   174     {
       
   175     SMC_MOCK_METHOD1( void, const QPointF &, value )
       
   176     }
       
   177 
       
   178 
       
   179 // -----------------------------------------------------------------------------
       
   180 // QPanGesture::setAcceleration
       
   181 // -----------------------------------------------------------------------------
       
   182 //
       
   183 void QPanGesture::setAcceleration( 
       
   184         qreal value )
       
   185     {
       
   186     SMC_MOCK_METHOD1( void, qreal, value )
       
   187     }
       
   188 
       
   189 
       
   190 // -----------------------------------------------------------------------------
       
   191 // QTapGesture::position
       
   192 // -----------------------------------------------------------------------------
       
   193 //
       
   194 QPointF QTapGesture::position(  ) const
       
   195     {
       
   196     SMC_MOCK_METHOD0( QPointF )
       
   197     }
       
   198 
       
   199 
       
   200 // -----------------------------------------------------------------------------
       
   201 // QTapGesture::setPosition
       
   202 // -----------------------------------------------------------------------------
       
   203 //
       
   204 void QTapGesture::setPosition( 
       
   205         const QPointF & pos )
       
   206     {
       
   207     SMC_MOCK_METHOD1( void, const QPointF &, pos )
       
   208     }
       
   209 
       
   210 
       
   211 // -----------------------------------------------------------------------------
       
   212 // QPinchGesture::QPinchGesture
       
   213 // -----------------------------------------------------------------------------
       
   214 //
       
   215 QPinchGesture::QPinchGesture( 
       
   216         QObject * parent )
       
   217     //:
       
   218     //QGesture( /*parent*/ )
       
   219     {
       
   220     
       
   221     }
       
   222 
       
   223 
       
   224 // -----------------------------------------------------------------------------
       
   225 // QPinchGesture::totalChangeFlags
       
   226 // -----------------------------------------------------------------------------
       
   227 //
       
   228 QPinchGesture::ChangeFlags QPinchGesture::totalChangeFlags(  ) const
       
   229     {
       
   230     SMC_MOCK_METHOD0( QPinchGesture::ChangeFlags )
       
   231     }
       
   232 
       
   233 
       
   234 // -----------------------------------------------------------------------------
       
   235 // QPinchGesture::setTotalChangeFlags
       
   236 // -----------------------------------------------------------------------------
       
   237 //
       
   238 void QPinchGesture::setTotalChangeFlags( 
       
   239         ChangeFlags value )
       
   240     {
       
   241     //SMC_MOCK_METHOD1( void, ChangeFlags, value )
       
   242     }
       
   243 
       
   244 
       
   245 // -----------------------------------------------------------------------------
       
   246 // QPinchGesture::changeFlags
       
   247 // -----------------------------------------------------------------------------
       
   248 //
       
   249 QPinchGesture::ChangeFlags QPinchGesture::changeFlags(  ) const
       
   250     {
       
   251     SMC_MOCK_METHOD0( QPinchGesture::ChangeFlags )
       
   252     }
       
   253 
       
   254 
       
   255 // -----------------------------------------------------------------------------
       
   256 // QPinchGesture::setChangeFlags
       
   257 // -----------------------------------------------------------------------------
       
   258 //
       
   259 void QPinchGesture::setChangeFlags( 
       
   260         ChangeFlags value )
       
   261     {
       
   262     //SMC_MOCK_METHOD1( void, ChangeFlags, value )
       
   263     }
       
   264 
       
   265 
       
   266 // -----------------------------------------------------------------------------
       
   267 // QPinchGesture::startCenterPoint
       
   268 // -----------------------------------------------------------------------------
       
   269 //
       
   270 QPointF QPinchGesture::startCenterPoint(  ) const
       
   271     {
       
   272     SMC_MOCK_METHOD0( QPointF )
       
   273     }
       
   274 
       
   275 
       
   276 // -----------------------------------------------------------------------------
       
   277 // QPinchGesture::lastCenterPoint
       
   278 // -----------------------------------------------------------------------------
       
   279 //
       
   280 QPointF QPinchGesture::lastCenterPoint(  ) const
       
   281     {
       
   282     SMC_MOCK_METHOD0( QPointF )
       
   283     }
       
   284 
       
   285 
       
   286 // -----------------------------------------------------------------------------
       
   287 // QPinchGesture::centerPoint
       
   288 // -----------------------------------------------------------------------------
       
   289 //
       
   290 QPointF QPinchGesture::centerPoint(  ) const
       
   291     {
       
   292     SMC_MOCK_METHOD0( QPointF )
       
   293     }
       
   294 
       
   295 
       
   296 // -----------------------------------------------------------------------------
       
   297 // QPinchGesture::setStartCenterPoint
       
   298 // -----------------------------------------------------------------------------
       
   299 //
       
   300 void QPinchGesture::setStartCenterPoint( 
       
   301         const QPointF & value )
       
   302     {
       
   303     SMC_MOCK_METHOD1( void, const QPointF &, value )
       
   304     }
       
   305 
       
   306 
       
   307 // -----------------------------------------------------------------------------
       
   308 // QPinchGesture::setLastCenterPoint
       
   309 // -----------------------------------------------------------------------------
       
   310 //
       
   311 void QPinchGesture::setLastCenterPoint( 
       
   312         const QPointF & value )
       
   313     {
       
   314     SMC_MOCK_METHOD1( void, const QPointF &, value )
       
   315     }
       
   316 
       
   317 
       
   318 // -----------------------------------------------------------------------------
       
   319 // QPinchGesture::setCenterPoint
       
   320 // -----------------------------------------------------------------------------
       
   321 //
       
   322 void QPinchGesture::setCenterPoint( 
       
   323         const QPointF & value )
       
   324     {
       
   325     SMC_MOCK_METHOD1( void, const QPointF &, value )
       
   326     }
       
   327 
       
   328 
       
   329 // -----------------------------------------------------------------------------
       
   330 // QPinchGesture::totalScaleFactor
       
   331 // -----------------------------------------------------------------------------
       
   332 //
       
   333 qreal QPinchGesture::totalScaleFactor(  ) const
       
   334     {
       
   335     SMC_MOCK_METHOD0( qreal )
       
   336     }
       
   337 
       
   338 
       
   339 // -----------------------------------------------------------------------------
       
   340 // QPinchGesture::lastScaleFactor
       
   341 // -----------------------------------------------------------------------------
       
   342 //
       
   343 qreal QPinchGesture::lastScaleFactor(  ) const
       
   344     {
       
   345     SMC_MOCK_METHOD0( qreal )
       
   346     }
       
   347 
       
   348 
       
   349 // -----------------------------------------------------------------------------
       
   350 // QPinchGesture::scaleFactor
       
   351 // -----------------------------------------------------------------------------
       
   352 //
       
   353 qreal QPinchGesture::scaleFactor(  ) const
       
   354     {
       
   355     SMC_MOCK_METHOD0( qreal )
       
   356     }
       
   357 
       
   358 
       
   359 // -----------------------------------------------------------------------------
       
   360 // QPinchGesture::setTotalScaleFactor
       
   361 // -----------------------------------------------------------------------------
       
   362 //
       
   363 void QPinchGesture::setTotalScaleFactor( 
       
   364         qreal value )
       
   365     {
       
   366     SMC_MOCK_METHOD1( void, qreal, value )
       
   367     }
       
   368 
       
   369 
       
   370 // -----------------------------------------------------------------------------
       
   371 // QPinchGesture::setLastScaleFactor
       
   372 // -----------------------------------------------------------------------------
       
   373 //
       
   374 void QPinchGesture::setLastScaleFactor( 
       
   375         qreal value )
       
   376     {
       
   377     SMC_MOCK_METHOD1( void, qreal, value )
       
   378     }
       
   379 
       
   380 
       
   381 // -----------------------------------------------------------------------------
       
   382 // QPinchGesture::setScaleFactor
       
   383 // -----------------------------------------------------------------------------
       
   384 //
       
   385 void QPinchGesture::setScaleFactor( 
       
   386         qreal value )
       
   387     {
       
   388     SMC_MOCK_METHOD1( void, qreal, value )
       
   389     }
       
   390 
       
   391 
       
   392 // -----------------------------------------------------------------------------
       
   393 // QPinchGesture::totalRotationAngle
       
   394 // -----------------------------------------------------------------------------
       
   395 //
       
   396 qreal QPinchGesture::totalRotationAngle(  ) const
       
   397     {
       
   398     SMC_MOCK_METHOD0( qreal )
       
   399     }
       
   400 
       
   401 
       
   402 // -----------------------------------------------------------------------------
       
   403 // QPinchGesture::lastRotationAngle
       
   404 // -----------------------------------------------------------------------------
       
   405 //
       
   406 qreal QPinchGesture::lastRotationAngle(  ) const
       
   407     {
       
   408     SMC_MOCK_METHOD0( qreal )
       
   409     }
       
   410 
       
   411 
       
   412 // -----------------------------------------------------------------------------
       
   413 // QPinchGesture::rotationAngle
       
   414 // -----------------------------------------------------------------------------
       
   415 //
       
   416 qreal QPinchGesture::rotationAngle(  ) const
       
   417     {
       
   418     SMC_MOCK_METHOD0( qreal )
       
   419     }
       
   420 
       
   421 
       
   422 // -----------------------------------------------------------------------------
       
   423 // QPinchGesture::setTotalRotationAngle
       
   424 // -----------------------------------------------------------------------------
       
   425 //
       
   426 void QPinchGesture::setTotalRotationAngle( 
       
   427         qreal value )
       
   428     {
       
   429     SMC_MOCK_METHOD1( void, qreal, value )
       
   430     }
       
   431 
       
   432 
       
   433 // -----------------------------------------------------------------------------
       
   434 // QPinchGesture::setLastRotationAngle
       
   435 // -----------------------------------------------------------------------------
       
   436 //
       
   437 void QPinchGesture::setLastRotationAngle( 
       
   438         qreal value )
       
   439     {
       
   440     SMC_MOCK_METHOD1( void, qreal, value )
       
   441     }
       
   442 
       
   443 
       
   444 // -----------------------------------------------------------------------------
       
   445 // QPinchGesture::setRotationAngle
       
   446 // -----------------------------------------------------------------------------
       
   447 //
       
   448 void QPinchGesture::setRotationAngle( 
       
   449         qreal value )
       
   450     {
       
   451     SMC_MOCK_METHOD1( void, qreal, value )
       
   452     }
       
   453 
       
   454 
       
   455 // -----------------------------------------------------------------------------
       
   456 // QGesture::QGesture
       
   457 // -----------------------------------------------------------------------------
       
   458 //
       
   459 QGesture::QGesture( 
       
   460         QGesturePrivate & dd,
       
   461         QObject * parent )
       
   462     //:
       
   463     //QObject( /*dd, parent*/ )
       
   464     {
       
   465     
       
   466     }
       
   467 
       
   468 
       
   469 // -----------------------------------------------------------------------------
       
   470 // QGesture::~QGesture
       
   471 // -----------------------------------------------------------------------------
       
   472 //
       
   473 QGesture::~QGesture(  )
       
   474     {
       
   475     
       
   476     }
       
   477 
       
   478 
       
   479 // -----------------------------------------------------------------------------
       
   480 // QGesture::gestureType
       
   481 // -----------------------------------------------------------------------------
       
   482 //
       
   483 Qt::GestureType QGesture::gestureType(  ) const
       
   484     {
       
   485     SMC_MOCK_METHOD0( Qt::GestureType )
       
   486     }
       
   487 
       
   488 
       
   489 // -----------------------------------------------------------------------------
       
   490 // QGesture::state
       
   491 // -----------------------------------------------------------------------------
       
   492 //
       
   493 Qt::GestureState QGesture::state(  ) const
       
   494     {
       
   495     SMC_MOCK_METHOD0( Qt::GestureState )
       
   496     }
       
   497 
       
   498 
       
   499 // -----------------------------------------------------------------------------
       
   500 // QGesture::hotSpot
       
   501 // -----------------------------------------------------------------------------
       
   502 //
       
   503 QPointF QGesture::hotSpot(  ) const
       
   504     {
       
   505     SMC_MOCK_METHOD0( QPointF )
       
   506     }
       
   507 
       
   508 
       
   509 // -----------------------------------------------------------------------------
       
   510 // QGesture::setHotSpot
       
   511 // -----------------------------------------------------------------------------
       
   512 //
       
   513 void QGesture::setHotSpot( 
       
   514         const QPointF & value )
       
   515     {
       
   516     SMC_MOCK_METHOD1( void, const QPointF &, value )
       
   517     }
       
   518 
       
   519 
       
   520 // -----------------------------------------------------------------------------
       
   521 // QGesture::hasHotSpot
       
   522 // -----------------------------------------------------------------------------
       
   523 //
       
   524 bool QGesture::hasHotSpot(  ) const
       
   525     {
       
   526     SMC_MOCK_METHOD0( bool )
       
   527     }
       
   528 
       
   529 
       
   530 // -----------------------------------------------------------------------------
       
   531 // QGesture::unsetHotSpot
       
   532 // -----------------------------------------------------------------------------
       
   533 //
       
   534 void QGesture::unsetHotSpot(  )
       
   535     {
       
   536     SMC_MOCK_METHOD0( void )
       
   537     }
       
   538 
       
   539 
       
   540 // -----------------------------------------------------------------------------
       
   541 // QGesture::setGestureCancelPolicy
       
   542 // -----------------------------------------------------------------------------
       
   543 //
       
   544 void QGesture::setGestureCancelPolicy( 
       
   545         GestureCancelPolicy policy )
       
   546     {
       
   547     //SMC_MOCK_METHOD1( void, GestureCancelPolicy, policy )
       
   548     }
       
   549 
       
   550 
       
   551 // -----------------------------------------------------------------------------
       
   552 // QGesture::gestureCancelPolicy
       
   553 // -----------------------------------------------------------------------------
       
   554 //
       
   555 QGesture::GestureCancelPolicy QGesture::gestureCancelPolicy(  ) const
       
   556     {
       
   557     SMC_MOCK_METHOD0( QGesture::GestureCancelPolicy )
       
   558     }
       
   559 
       
   560