phoneplugins/infowidgetplugin/infowidgetprovider/tsrc/mocks/mock_qgraphicslayout.cpp
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 40 bab96b7ed1a4
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
40:bab96b7ed1a4 51:f39ed5e045e0
     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 <smcmockclassincludes.h>
       
    19 #include "qgraphicslayout.h"
       
    20 
       
    21 // ============================ MEMBER FUNCTIONS ===============================
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 // QGraphicsLayout::QGraphicsLayout
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 QGraphicsLayout::QGraphicsLayout( 
       
    28         QGraphicsLayoutItem * parent )
       
    29     //:
       
    30     //QGraphicsLayoutItem( /*parent*/ )
       
    31     {
       
    32     
       
    33     }
       
    34 
       
    35 
       
    36 // -----------------------------------------------------------------------------
       
    37 // QGraphicsLayout::~QGraphicsLayout
       
    38 // -----------------------------------------------------------------------------
       
    39 //
       
    40 QGraphicsLayout::~QGraphicsLayout(  )
       
    41     {
       
    42     
       
    43     }
       
    44 
       
    45 
       
    46 // -----------------------------------------------------------------------------
       
    47 // QGraphicsLayout::setContentsMargins
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 void QGraphicsLayout::setContentsMargins( 
       
    51         qreal left,
       
    52         qreal top,
       
    53         qreal right,
       
    54         qreal bottom )
       
    55     {
       
    56     SMC_MOCK_METHOD4( void, qreal, left, 
       
    57         qreal, top, 
       
    58         qreal, right, 
       
    59         qreal, bottom )
       
    60     }
       
    61 
       
    62 
       
    63 // -----------------------------------------------------------------------------
       
    64 // QGraphicsLayout::getContentsMargins
       
    65 // -----------------------------------------------------------------------------
       
    66 //
       
    67 void QGraphicsLayout::getContentsMargins( 
       
    68         qreal * left,
       
    69         qreal * top,
       
    70         qreal * right,
       
    71         qreal * bottom ) const
       
    72     {
       
    73     SMC_MOCK_METHOD4( void, qreal *, left, 
       
    74         qreal *, top, 
       
    75         qreal *, right, 
       
    76         qreal *, bottom )
       
    77     }
       
    78 
       
    79 
       
    80 // -----------------------------------------------------------------------------
       
    81 // QGraphicsLayout::activate
       
    82 // -----------------------------------------------------------------------------
       
    83 //
       
    84 void QGraphicsLayout::activate(  )
       
    85     {
       
    86     SMC_MOCK_METHOD0( void )
       
    87     }
       
    88 
       
    89 
       
    90 // -----------------------------------------------------------------------------
       
    91 // QGraphicsLayout::isActivated
       
    92 // -----------------------------------------------------------------------------
       
    93 //
       
    94 bool QGraphicsLayout::isActivated(  ) const
       
    95     {
       
    96     SMC_MOCK_METHOD0( bool )
       
    97     }
       
    98 
       
    99 
       
   100 // -----------------------------------------------------------------------------
       
   101 // QGraphicsLayout::invalidate
       
   102 // -----------------------------------------------------------------------------
       
   103 //
       
   104 void QGraphicsLayout::invalidate(  )
       
   105     {
       
   106     SMC_MOCK_METHOD0( void )
       
   107     }
       
   108 
       
   109 
       
   110 // -----------------------------------------------------------------------------
       
   111 // QGraphicsLayout::updateGeometry
       
   112 // -----------------------------------------------------------------------------
       
   113 //
       
   114 void QGraphicsLayout::updateGeometry(  )
       
   115     {
       
   116     SMC_MOCK_METHOD0( void )
       
   117     }
       
   118 
       
   119 
       
   120 // -----------------------------------------------------------------------------
       
   121 // QGraphicsLayout::widgetEvent
       
   122 // -----------------------------------------------------------------------------
       
   123 //
       
   124 void QGraphicsLayout::widgetEvent( 
       
   125         QEvent * e )
       
   126     {
       
   127     SMC_MOCK_METHOD1( void, QEvent *, e )
       
   128     }
       
   129 
       
   130 
       
   131 // -----------------------------------------------------------------------------
       
   132 // QGraphicsLayout::count
       
   133 // -----------------------------------------------------------------------------
       
   134 //
       
   135 int QGraphicsLayout::count(  ) const
       
   136     {
       
   137     SMC_MOCK_METHOD0( int )
       
   138     }
       
   139 
       
   140 
       
   141 // -----------------------------------------------------------------------------
       
   142 // QGraphicsLayout::itemAt
       
   143 // -----------------------------------------------------------------------------
       
   144 //
       
   145 QGraphicsLayoutItem * QGraphicsLayout::itemAt( 
       
   146         int i ) const
       
   147     {
       
   148     SMC_MOCK_METHOD1( QGraphicsLayoutItem *, int, i )
       
   149     }
       
   150 
       
   151 
       
   152 // -----------------------------------------------------------------------------
       
   153 // QGraphicsLayout::removeAt
       
   154 // -----------------------------------------------------------------------------
       
   155 //
       
   156 void QGraphicsLayout::removeAt( 
       
   157         int index )
       
   158     {
       
   159     SMC_MOCK_METHOD1( void, int, index )
       
   160     }
       
   161 
       
   162 
       
   163 // -----------------------------------------------------------------------------
       
   164 // QGraphicsLayout::QGraphicsLayout
       
   165 // -----------------------------------------------------------------------------
       
   166 //
       
   167 QGraphicsLayout::QGraphicsLayout( 
       
   168         QGraphicsLayoutPrivate &,
       
   169         QGraphicsLayoutItem * )
       
   170     //:
       
   171     //QGraphicsLayoutItem( /*&, **/ )
       
   172     {
       
   173     
       
   174     }
       
   175 
       
   176 
       
   177 // -----------------------------------------------------------------------------
       
   178 // QGraphicsLayout::addChildLayoutItem
       
   179 // -----------------------------------------------------------------------------
       
   180 //
       
   181 void QGraphicsLayout::addChildLayoutItem( 
       
   182         QGraphicsLayoutItem * layoutItem )
       
   183     {
       
   184     SMC_MOCK_METHOD1( void, QGraphicsLayoutItem *, layoutItem )
       
   185     }
       
   186 
       
   187