phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_hbicon.cpp
changeset 21 92ab7f8d0eab
child 27 2f8f8080a020
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
       
     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 <hbicon.h>
       
    20 
       
    21 // ============================ MEMBER FUNCTIONS ===============================
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 // HbIcon::HbIcon
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 HbIcon::HbIcon(  )
       
    28     {
       
    29     
       
    30     }
       
    31 
       
    32 
       
    33 // -----------------------------------------------------------------------------
       
    34 // HbIcon::HbIcon
       
    35 // -----------------------------------------------------------------------------
       
    36 //
       
    37 HbIcon::HbIcon( 
       
    38         const QString & iconName )
       
    39     {
       
    40     
       
    41     }
       
    42 
       
    43 
       
    44 // -----------------------------------------------------------------------------
       
    45 // HbIcon::HbIcon
       
    46 // -----------------------------------------------------------------------------
       
    47 //
       
    48 HbIcon::HbIcon( 
       
    49         const QIcon & icon )
       
    50     {
       
    51     
       
    52     }
       
    53 
       
    54 
       
    55 // -----------------------------------------------------------------------------
       
    56 // HbIcon::HbIcon
       
    57 // -----------------------------------------------------------------------------
       
    58 //
       
    59 HbIcon::HbIcon( 
       
    60         const HbIcon & other )
       
    61     {
       
    62     
       
    63     }
       
    64 
       
    65 
       
    66 // -----------------------------------------------------------------------------
       
    67 // HbIcon::=
       
    68 // -----------------------------------------------------------------------------
       
    69 //
       
    70 HbIcon & operator HbIcon::=( 
       
    71         const HbIcon & other )
       
    72     {
       
    73 //    SMC_MOCK_METHOD1( HbIcon & operator, const HbIcon &, other )
       
    74     }
       
    75 
       
    76 
       
    77 // -----------------------------------------------------------------------------
       
    78 // HbIcon::=
       
    79 // -----------------------------------------------------------------------------
       
    80 //
       
    81 bool operator = HbIcon::=( 
       
    82         const HbIcon & other ) const
       
    83     {
       
    84 //    SMC_MOCK_METHOD1( bool operator =, const HbIcon &, other )
       
    85     }
       
    86 
       
    87 
       
    88 // -----------------------------------------------------------------------------
       
    89 // HbIcon::=
       
    90 // -----------------------------------------------------------------------------
       
    91 //
       
    92 bool operator HbIcon::=( 
       
    93         const HbIcon & other ) const
       
    94     {
       
    95 //    SMC_MOCK_METHOD1( bool operator, const HbIcon &, other )
       
    96     }
       
    97 
       
    98 
       
    99 // -----------------------------------------------------------------------------
       
   100 // HbIcon::~HbIcon
       
   101 // -----------------------------------------------------------------------------
       
   102 //
       
   103 HbIcon::~HbIcon(  )
       
   104     {
       
   105     
       
   106     }
       
   107 
       
   108 
       
   109 // -----------------------------------------------------------------------------
       
   110 // HbIcon::isNull
       
   111 // -----------------------------------------------------------------------------
       
   112 //
       
   113 bool HbIcon::isNull(  ) const
       
   114     {
       
   115     SMC_MOCK_METHOD0( bool )
       
   116     }
       
   117 
       
   118 
       
   119 // -----------------------------------------------------------------------------
       
   120 // HbIcon::clear
       
   121 // -----------------------------------------------------------------------------
       
   122 //
       
   123 void HbIcon::clear(  )
       
   124     {
       
   125     SMC_MOCK_METHOD0( void )
       
   126     }
       
   127 
       
   128 
       
   129 // -----------------------------------------------------------------------------
       
   130 // HbIcon::pixmap
       
   131 // -----------------------------------------------------------------------------
       
   132 //
       
   133 QPixmap HbIcon::pixmap(  )
       
   134     {
       
   135 //    SMC_MOCK_METHOD0( QPixmap )
       
   136     }
       
   137 
       
   138 
       
   139 // -----------------------------------------------------------------------------
       
   140 // HbIcon::setColor
       
   141 // -----------------------------------------------------------------------------
       
   142 //
       
   143 void HbIcon::setColor( 
       
   144         const QColor & color )
       
   145     {
       
   146 //    SMC_MOCK_METHOD1( void, const QColor &, color )
       
   147     }
       
   148 
       
   149 
       
   150 // -----------------------------------------------------------------------------
       
   151 // HbIcon::color
       
   152 // -----------------------------------------------------------------------------
       
   153 //
       
   154 QColor HbIcon::color(  ) const
       
   155     {
       
   156 //    SMC_MOCK_METHOD0( QColor )
       
   157     }
       
   158 
       
   159 
       
   160 // -----------------------------------------------------------------------------
       
   161 // HbIcon::iconName
       
   162 // -----------------------------------------------------------------------------
       
   163 //
       
   164 QString HbIcon::iconName(  ) const
       
   165     {
       
   166     SMC_MOCK_METHOD0( QString )
       
   167     }
       
   168 
       
   169 
       
   170 // -----------------------------------------------------------------------------
       
   171 // HbIcon::setIconName
       
   172 // -----------------------------------------------------------------------------
       
   173 //
       
   174 void HbIcon::setIconName( 
       
   175         const QString & iconName )
       
   176     {
       
   177     SMC_MOCK_METHOD1( void, const QString &, iconName )
       
   178     }
       
   179 
       
   180 
       
   181 // -----------------------------------------------------------------------------
       
   182 // HbIcon::iconName
       
   183 // -----------------------------------------------------------------------------
       
   184 //
       
   185 QString HbIcon::iconName( 
       
   186         QIcon::Mode mode,
       
   187         QIcon::State state ) const
       
   188     {
       
   189 //    SMC_MOCK_METHOD2( QString, QIcon::Mode, mode, 
       
   190 //        QIcon::State, state )
       
   191     }
       
   192 
       
   193 
       
   194 // -----------------------------------------------------------------------------
       
   195 // HbIcon::setIconName
       
   196 // -----------------------------------------------------------------------------
       
   197 //
       
   198 void HbIcon::setIconName( 
       
   199         const QString & iconName,
       
   200         QIcon::Mode mode,
       
   201         QIcon::State state )
       
   202     {
       
   203 //    SMC_MOCK_METHOD3( void, const QString &, iconName, 
       
   204 //        QIcon::Mode, mode, 
       
   205 //        QIcon::State, state )
       
   206     }
       
   207 
       
   208 
       
   209 // -----------------------------------------------------------------------------
       
   210 // HbIcon::defaultSize
       
   211 // -----------------------------------------------------------------------------
       
   212 //
       
   213 QSizeF HbIcon::defaultSize(  ) const
       
   214     {
       
   215 //    SMC_MOCK_METHOD0( QSizeF )
       
   216     }
       
   217 
       
   218 
       
   219 // -----------------------------------------------------------------------------
       
   220 // HbIcon::size
       
   221 // -----------------------------------------------------------------------------
       
   222 //
       
   223 QSizeF HbIcon::size(  ) const
       
   224     {
       
   225 //    SMC_MOCK_METHOD0( QSizeF )
       
   226     }
       
   227 
       
   228 
       
   229 // -----------------------------------------------------------------------------
       
   230 // HbIcon::setSize
       
   231 // -----------------------------------------------------------------------------
       
   232 //
       
   233 void HbIcon::setSize( 
       
   234         const QSizeF & size )
       
   235     {
       
   236 //    SMC_MOCK_METHOD1( void, const QSizeF &, size )
       
   237     }
       
   238 
       
   239 
       
   240 // -----------------------------------------------------------------------------
       
   241 // HbIcon::setHeight
       
   242 // -----------------------------------------------------------------------------
       
   243 //
       
   244 void HbIcon::setHeight( 
       
   245         qreal height )
       
   246     {
       
   247 //    SMC_MOCK_METHOD1( void, qreal, height )
       
   248     }
       
   249 
       
   250 
       
   251 // -----------------------------------------------------------------------------
       
   252 // HbIcon::setWidth
       
   253 // -----------------------------------------------------------------------------
       
   254 //
       
   255 void HbIcon::setWidth( 
       
   256         qreal width )
       
   257     {
       
   258 //    SMC_MOCK_METHOD1( void, qreal, width )
       
   259     }
       
   260 
       
   261 
       
   262 // -----------------------------------------------------------------------------
       
   263 // HbIcon::width
       
   264 // -----------------------------------------------------------------------------
       
   265 //
       
   266 qreal HbIcon::width(  ) const
       
   267     {
       
   268 //    SMC_MOCK_METHOD0( qreal )
       
   269     }
       
   270 
       
   271 
       
   272 // -----------------------------------------------------------------------------
       
   273 // HbIcon::height
       
   274 // -----------------------------------------------------------------------------
       
   275 //
       
   276 qreal HbIcon::height(  ) const
       
   277     {
       
   278 //    SMC_MOCK_METHOD0( qreal )
       
   279     }
       
   280 
       
   281 
       
   282 // -----------------------------------------------------------------------------
       
   283 // HbIcon::mirroringMode
       
   284 // -----------------------------------------------------------------------------
       
   285 //
       
   286 MirroringMode HbIcon::mirroringMode(  ) const
       
   287     {
       
   288 //    SMC_MOCK_METHOD0( MirroringMode )
       
   289     }
       
   290 
       
   291 
       
   292 // -----------------------------------------------------------------------------
       
   293 // HbIcon::setMirroringMode
       
   294 // -----------------------------------------------------------------------------
       
   295 //
       
   296 void HbIcon::setMirroringMode( 
       
   297         MirroringMode mode )
       
   298     {
       
   299 //    SMC_MOCK_METHOD1( void, MirroringMode, mode )
       
   300     }
       
   301 
       
   302 
       
   303 // -----------------------------------------------------------------------------
       
   304 // HbIcon::flags
       
   305 // -----------------------------------------------------------------------------
       
   306 //
       
   307 Flags HbIcon::flags(  ) const
       
   308     {
       
   309 //    SMC_MOCK_METHOD0( Flags )
       
   310     }
       
   311 
       
   312 
       
   313 // -----------------------------------------------------------------------------
       
   314 // HbIcon::setFlags
       
   315 // -----------------------------------------------------------------------------
       
   316 //
       
   317 void HbIcon::setFlags( 
       
   318         Flags flags )
       
   319     {
       
   320 //    SMC_MOCK_METHOD1( void, Flags, flags )
       
   321     }
       
   322 
       
   323 
       
   324 // -----------------------------------------------------------------------------
       
   325 // HbIcon::paint
       
   326 // -----------------------------------------------------------------------------
       
   327 //
       
   328 void HbIcon::paint( 
       
   329         QPainter * painter,
       
   330         const QRectF & rect,
       
   331         Qt::AspectRatioMode aspectRatioMode,
       
   332         Qt::Alignment alignment,
       
   333         QIcon::Mode mode,
       
   334         QIcon::State state ) const
       
   335     {
       
   336 /*    SMC_MOCK_METHOD6( void, QPainter *, painter, 
       
   337         const QRectF &, rect, 
       
   338         Qt::AspectRatioMode, aspectRatioMode, 
       
   339         Qt::Alignment, alignment, 
       
   340         QIcon::Mode, mode, 
       
   341         QIcon::State, state )*/
       
   342     }
       
   343 
       
   344 
       
   345 // -----------------------------------------------------------------------------
       
   346 // HbIcon::QVariant
       
   347 // -----------------------------------------------------------------------------
       
   348 //
       
   349 operator HbIcon::QVariant(  ) const
       
   350     {
       
   351 //    SMC_MOCK_METHOD0( operator )
       
   352     }
       
   353 
       
   354 
       
   355 // -----------------------------------------------------------------------------
       
   356 // HbIcon::qicon
       
   357 // -----------------------------------------------------------------------------
       
   358 //
       
   359 QIcon & HbIcon::qicon(  ) const
       
   360     {
       
   361  //   SMC_MOCK_METHOD0( QIcon & )
       
   362     }
       
   363 
       
   364 
       
   365 // -----------------------------------------------------------------------------
       
   366 // HbIcon::animator
       
   367 // -----------------------------------------------------------------------------
       
   368 //
       
   369 HbIconAnimator & HbIcon::animator(  )
       
   370     {
       
   371  //   SMC_MOCK_METHOD0( HbIconAnimator & )
       
   372     }
       
   373 
       
   374