phoneplugins/infowidgetplugin/tsrc/mocks/mock_hbmarqueeitem.cpp
branchRCL_3
changeset 61 41a7f70b3818
equal deleted inserted replaced
58:40a3f856b14d 61:41a7f70b3818
       
     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 <hbmarqueeitem.h>
       
    20 
       
    21 // ============================ MEMBER FUNCTIONS ===============================
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 // QGraphicsWidget::adjustSize
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 void QGraphicsWidget::adjustSize() 
       
    28 {
       
    29     SMC_MOCK_METHOD0( void )
       
    30 }
       
    31 
       
    32 // -----------------------------------------------------------------------------
       
    33 // HbMarqueeItem::HbMarqueeItem
       
    34 // -----------------------------------------------------------------------------
       
    35 //
       
    36 HbMarqueeItem::HbMarqueeItem( 
       
    37         QGraphicsItem * parent )
       
    38     {
       
    39     Q_UNUSED(parent)
       
    40     }
       
    41 
       
    42 
       
    43 // -----------------------------------------------------------------------------
       
    44 // HbMarqueeItem::HbMarqueeItem
       
    45 // -----------------------------------------------------------------------------
       
    46 //
       
    47 HbMarqueeItem::HbMarqueeItem( 
       
    48         const QString & text,
       
    49         QGraphicsItem * parent )
       
    50     {
       
    51     Q_UNUSED(text)
       
    52     Q_UNUSED(parent)
       
    53     }
       
    54 
       
    55 
       
    56 // -----------------------------------------------------------------------------
       
    57 // HbMarqueeItem::~HbMarqueeItem
       
    58 // -----------------------------------------------------------------------------
       
    59 //
       
    60 HbMarqueeItem::~HbMarqueeItem(  )
       
    61     {
       
    62     
       
    63     }
       
    64 
       
    65 
       
    66 // -----------------------------------------------------------------------------
       
    67 // HbMarqueeItem::text
       
    68 // -----------------------------------------------------------------------------
       
    69 //
       
    70 QString HbMarqueeItem::text(  ) const
       
    71     {
       
    72     SMC_MOCK_METHOD0( QString )
       
    73     }
       
    74 
       
    75 
       
    76 // -----------------------------------------------------------------------------
       
    77 // HbMarqueeItem::setTextColor
       
    78 // -----------------------------------------------------------------------------
       
    79 //
       
    80 void HbMarqueeItem::setTextColor( 
       
    81         const QColor & color )
       
    82     {
       
    83     SMC_MOCK_METHOD1( void, const QColor &, color )
       
    84     }
       
    85 
       
    86 
       
    87 // -----------------------------------------------------------------------------
       
    88 // HbMarqueeItem::textColor
       
    89 // -----------------------------------------------------------------------------
       
    90 //
       
    91 QColor HbMarqueeItem::textColor(  ) const
       
    92     {
       
    93     SMC_MOCK_METHOD0( QColor )
       
    94     }
       
    95 
       
    96 
       
    97 // -----------------------------------------------------------------------------
       
    98 // HbMarqueeItem::isAnimating
       
    99 // -----------------------------------------------------------------------------
       
   100 //
       
   101 bool HbMarqueeItem::isAnimating(  ) const
       
   102     {
       
   103     SMC_MOCK_METHOD0( bool )
       
   104     }
       
   105 
       
   106 
       
   107 // -----------------------------------------------------------------------------
       
   108 // HbMarqueeItem::loopCount
       
   109 // -----------------------------------------------------------------------------
       
   110 //
       
   111 int HbMarqueeItem::loopCount(  ) const
       
   112     {
       
   113     SMC_MOCK_METHOD0( int )
       
   114     }
       
   115 
       
   116 
       
   117 // -----------------------------------------------------------------------------
       
   118 // HbMarqueeItem::setLoopCount
       
   119 // -----------------------------------------------------------------------------
       
   120 //
       
   121 void HbMarqueeItem::setLoopCount( 
       
   122         int count )
       
   123     {
       
   124     SMC_MOCK_METHOD1( void, int, count )
       
   125     }
       
   126 
       
   127 // -----------------------------------------------------------------------------
       
   128 // HbMarqueeItem::setText
       
   129 // -----------------------------------------------------------------------------
       
   130 //
       
   131 void HbMarqueeItem::setText( 
       
   132         const QString & text )
       
   133     {
       
   134     SMC_MOCK_METHOD1( void, const QString &, text )
       
   135     }
       
   136 
       
   137 
       
   138 // -----------------------------------------------------------------------------
       
   139 // HbMarqueeItem::startAnimation
       
   140 // -----------------------------------------------------------------------------
       
   141 //
       
   142 void HbMarqueeItem::startAnimation(  )
       
   143     {
       
   144     SMC_MOCK_METHOD0( void )
       
   145     }
       
   146 
       
   147 
       
   148 // -----------------------------------------------------------------------------
       
   149 // HbMarqueeItem::stopAnimation
       
   150 // -----------------------------------------------------------------------------
       
   151 //
       
   152 void HbMarqueeItem::stopAnimation(  )
       
   153     {
       
   154     SMC_MOCK_METHOD0( void )
       
   155     }
       
   156 
       
   157 
       
   158 // -----------------------------------------------------------------------------
       
   159 // HbMarqueeItem::animationStarted
       
   160 // -----------------------------------------------------------------------------
       
   161 //
       
   162 void HbMarqueeItem::animationStarted(  )
       
   163     {
       
   164     SMC_MOCK_METHOD0( void )
       
   165     }
       
   166 
       
   167 
       
   168 // -----------------------------------------------------------------------------
       
   169 // HbMarqueeItem::animationStopped
       
   170 // -----------------------------------------------------------------------------
       
   171 //
       
   172 void HbMarqueeItem::animationStopped(  )
       
   173     {
       
   174     SMC_MOCK_METHOD0( void )
       
   175     }
       
   176 
       
   177 
       
   178 // -----------------------------------------------------------------------------
       
   179 // HbMarqueeItem::sizeHint
       
   180 // -----------------------------------------------------------------------------
       
   181 //
       
   182 QSizeF HbMarqueeItem::sizeHint( 
       
   183         Qt::SizeHint which,
       
   184         const QSizeF & constraint ) const
       
   185     {
       
   186     SMC_MOCK_METHOD2( QSizeF, Qt::SizeHint, which, 
       
   187         const QSizeF &, constraint )
       
   188     }
       
   189 
       
   190 
       
   191 // -----------------------------------------------------------------------------
       
   192 // HbMarqueeItem::changeEvent
       
   193 // -----------------------------------------------------------------------------
       
   194 //
       
   195 void HbMarqueeItem::changeEvent( 
       
   196         QEvent * event )
       
   197     {
       
   198     SMC_MOCK_METHOD1( void, QEvent *, event )
       
   199     }
       
   200 
       
   201 
       
   202 // -----------------------------------------------------------------------------
       
   203 // HbMarqueeItem::resizeEvent
       
   204 // -----------------------------------------------------------------------------
       
   205 //
       
   206 void HbMarqueeItem::resizeEvent( 
       
   207         QGraphicsSceneResizeEvent *  )
       
   208     {
       
   209     //SMC_MOCK_METHOD1( void, QGraphicsSceneResizeEvent *, event )
       
   210     }
       
   211 
       
   212 
       
   213 // -----------------------------------------------------------------------------
       
   214 // HbMarqueeItem::itemChange
       
   215 // -----------------------------------------------------------------------------
       
   216 //
       
   217 QVariant HbMarqueeItem::itemChange( 
       
   218         GraphicsItemChange change,
       
   219         const QVariant & value )
       
   220     {
       
   221     SMC_MOCK_METHOD2( QVariant, GraphicsItemChange, change, 
       
   222         const QVariant &, value )
       
   223     }
       
   224 
       
   225 
       
   226 // -----------------------------------------------------------------------------
       
   227 // HbMarqueeItem::HbMarqueeItem
       
   228 // -----------------------------------------------------------------------------
       
   229 //
       
   230 HbMarqueeItem::HbMarqueeItem( 
       
   231         HbMarqueeItemPrivate & dd,
       
   232         QGraphicsItem * parent )
       
   233     {
       
   234     Q_UNUSED(dd)
       
   235     Q_UNUSED(parent)
       
   236     }
       
   237