phoneengine/networkhandlingstarter/tsrc/mocks/mock_qframe.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 <smcmockclassincludes.h>
       
    19 #include <qframe.h>
       
    20 #include <QWidget>
       
    21 
       
    22 
       
    23 QWidget::QWidget(QWidget* parent, Qt::WindowFlags f)
       
    24     {};
       
    25 
       
    26 QWidget::~QWidget()
       
    27     {};
       
    28 
       
    29 void QWidget::setVisible(bool visible)
       
    30     {};
       
    31 
       
    32 inline bool QWidget::testAttribute_helper(Qt::WidgetAttribute attribute) const
       
    33 {
       
    34     return true;
       
    35 }
       
    36     
       
    37 
       
    38 // ============================ MEMBER FUNCTIONS ===============================
       
    39 
       
    40 // -----------------------------------------------------------------------------
       
    41 // QFrame::QFrame
       
    42 // -----------------------------------------------------------------------------
       
    43 //
       
    44 QFrame::QFrame( 
       
    45         QWidget * parent,
       
    46         Qt::WindowFlags f )
       
    47     {
       
    48     
       
    49     }
       
    50 
       
    51 
       
    52 // -----------------------------------------------------------------------------
       
    53 // QFrame::~QFrame
       
    54 // -----------------------------------------------------------------------------
       
    55 //
       
    56 QFrame::~QFrame(  )
       
    57     {
       
    58     
       
    59     }
       
    60 
       
    61 
       
    62 // -----------------------------------------------------------------------------
       
    63 // QFrame::frameStyle
       
    64 // -----------------------------------------------------------------------------
       
    65 //
       
    66 int QFrame::frameStyle(  ) const
       
    67     {
       
    68     SMC_MOCK_METHOD0( int )
       
    69     }
       
    70 
       
    71 
       
    72 // -----------------------------------------------------------------------------
       
    73 // QFrame::setFrameStyle
       
    74 // -----------------------------------------------------------------------------
       
    75 //
       
    76 void QFrame::setFrameStyle( int )
       
    77     {
       
    78     }
       
    79 
       
    80 
       
    81 // -----------------------------------------------------------------------------
       
    82 // QFrame::frameWidth
       
    83 // -----------------------------------------------------------------------------
       
    84 //
       
    85 int QFrame::frameWidth(  ) const
       
    86     {
       
    87     SMC_MOCK_METHOD0( int )
       
    88     }
       
    89 
       
    90 
       
    91 // -----------------------------------------------------------------------------
       
    92 // QFrame::sizeHint
       
    93 // -----------------------------------------------------------------------------
       
    94 //
       
    95 QSize QFrame::sizeHint(  ) const
       
    96     {
       
    97     SMC_MOCK_METHOD0( QSize )
       
    98     }
       
    99 
       
   100 
       
   101 // -----------------------------------------------------------------------------
       
   102 // QFrame::frameShape
       
   103 // -----------------------------------------------------------------------------
       
   104 //
       
   105 QFrame::Shape QFrame::frameShape(  ) const
       
   106     {
       
   107     }
       
   108 
       
   109 
       
   110 // -----------------------------------------------------------------------------
       
   111 // QFrame::setFrameShape
       
   112 // -----------------------------------------------------------------------------
       
   113 //
       
   114 void QFrame::setFrameShape( Shape )
       
   115     {
       
   116     }
       
   117 
       
   118 
       
   119 // -----------------------------------------------------------------------------
       
   120 // QFrame::frameShadow
       
   121 // -----------------------------------------------------------------------------
       
   122 //
       
   123 QFrame::Shadow QFrame::frameShadow(  ) const
       
   124     {
       
   125     }
       
   126 
       
   127 
       
   128 // -----------------------------------------------------------------------------
       
   129 // QFrame::setFrameShadow
       
   130 // -----------------------------------------------------------------------------
       
   131 //
       
   132 void QFrame::setFrameShadow( Shadow )
       
   133     {
       
   134     }
       
   135 
       
   136 
       
   137 // -----------------------------------------------------------------------------
       
   138 // QFrame::lineWidth
       
   139 // -----------------------------------------------------------------------------
       
   140 //
       
   141 int QFrame::lineWidth(  ) const
       
   142     {
       
   143     SMC_MOCK_METHOD0( int )
       
   144     }
       
   145 
       
   146 
       
   147 // -----------------------------------------------------------------------------
       
   148 // QFrame::setLineWidth
       
   149 // -----------------------------------------------------------------------------
       
   150 //
       
   151 void QFrame::setLineWidth( int )
       
   152     {
       
   153     SMC_MOCK_METHOD0( void )
       
   154     }
       
   155 
       
   156 
       
   157 // -----------------------------------------------------------------------------
       
   158 // QFrame::midLineWidth
       
   159 // -----------------------------------------------------------------------------
       
   160 //
       
   161 int QFrame::midLineWidth(  ) const
       
   162     {
       
   163     SMC_MOCK_METHOD0( int )
       
   164     }
       
   165 
       
   166 
       
   167 // -----------------------------------------------------------------------------
       
   168 // QFrame::setMidLineWidth
       
   169 // -----------------------------------------------------------------------------
       
   170 //
       
   171 void QFrame::setMidLineWidth( int )
       
   172     {
       
   173     SMC_MOCK_METHOD0( void )
       
   174     }
       
   175 
       
   176 
       
   177 // -----------------------------------------------------------------------------
       
   178 // QFrame::frameRect
       
   179 // -----------------------------------------------------------------------------
       
   180 //
       
   181 QRect QFrame::frameRect(  ) const
       
   182     {
       
   183     SMC_MOCK_METHOD0( QRect )
       
   184     }
       
   185 
       
   186 
       
   187 // -----------------------------------------------------------------------------
       
   188 // QFrame::setFrameRect
       
   189 // -----------------------------------------------------------------------------
       
   190 //
       
   191 void QFrame::setFrameRect( 
       
   192         const QRect & )
       
   193     {
       
   194     //SMC_MOCK_METHOD1( void, const QRect, & )
       
   195     }
       
   196 
       
   197 
       
   198 // -----------------------------------------------------------------------------
       
   199 // QFrame::event
       
   200 // -----------------------------------------------------------------------------
       
   201 //
       
   202 bool QFrame::event( 
       
   203         QEvent * e )
       
   204     {
       
   205     //SMC_MOCK_METHOD1( bool, QEvent *, e )
       
   206     }
       
   207 
       
   208 
       
   209 // -----------------------------------------------------------------------------
       
   210 // QFrame::paintEvent
       
   211 // -----------------------------------------------------------------------------
       
   212 //
       
   213 void QFrame::paintEvent( 
       
   214         QPaintEvent * )
       
   215     {
       
   216     //SMC_MOCK_METHOD1( void, QPaintEvent, * )
       
   217     }
       
   218 
       
   219 
       
   220 // -----------------------------------------------------------------------------
       
   221 // QFrame::changeEvent
       
   222 // -----------------------------------------------------------------------------
       
   223 //
       
   224 void QFrame::changeEvent( 
       
   225         QEvent * )
       
   226     {
       
   227     //SMC_MOCK_METHOD1( void, QEvent, * )
       
   228     }
       
   229 
       
   230 
       
   231 // -----------------------------------------------------------------------------
       
   232 // QFrame::drawFrame
       
   233 // -----------------------------------------------------------------------------
       
   234 //
       
   235 void QFrame::drawFrame( 
       
   236         QPainter * )
       
   237     {
       
   238     //SMC_MOCK_METHOD1( void, QPainter, * )
       
   239     }
       
   240 
       
   241 
       
   242 // -----------------------------------------------------------------------------
       
   243 // QFrame::QFrame
       
   244 // -----------------------------------------------------------------------------
       
   245 //
       
   246 QFrame::QFrame( 
       
   247         QFramePrivate & dd,
       
   248         QWidget * parent,
       
   249         Qt::WindowFlags f )
       
   250     //:
       
   251     //QWidget( /*dd, parent, f*/ )
       
   252     {
       
   253     
       
   254     }
       
   255 
       
   256