tsrc/mocks/orbit/mock_hbaction.cpp
changeset 74 d1c62c765e48
child 78 baacf668fe89
equal deleted inserted replaced
65:2a5d4ab426d3 74:d1c62c765e48
       
     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 <hbaction.h>
       
    20 
       
    21 // ============================ MEMBER FUNCTIONS ===============================
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 // HbAction::HbAction
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 HbAction::HbAction( 
       
    28         const QString & text,
       
    29         QObject * parent )
       
    30     : QAction( parent ), d_ptr(NULL)
       
    31     {
       
    32     
       
    33     }
       
    34 
       
    35 
       
    36 // -----------------------------------------------------------------------------
       
    37 // HbAction::HbAction
       
    38 // -----------------------------------------------------------------------------
       
    39 //
       
    40 HbAction::HbAction( 
       
    41         const HbIcon & icon,
       
    42         const QString & text,
       
    43         QObject * parent )
       
    44     : QAction( parent ), d_ptr(NULL)
       
    45     {
       
    46     
       
    47     }
       
    48 
       
    49 
       
    50 // -----------------------------------------------------------------------------
       
    51 // HbAction::HbAction
       
    52 // -----------------------------------------------------------------------------
       
    53 //
       
    54 HbAction::HbAction( 
       
    55         Hb::NavigationAction action,
       
    56         QObject * parent )
       
    57     : QAction( parent ), d_ptr(NULL)
       
    58     {
       
    59     
       
    60     }
       
    61 
       
    62 
       
    63 // -----------------------------------------------------------------------------
       
    64 // HbAction::~HbAction
       
    65 // -----------------------------------------------------------------------------
       
    66 //
       
    67 HbAction::~HbAction(  )
       
    68     {
       
    69     
       
    70     }
       
    71 
       
    72 
       
    73 // -----------------------------------------------------------------------------
       
    74 // HbAction::setIcon
       
    75 // -----------------------------------------------------------------------------
       
    76 //
       
    77 void HbAction::setIcon( 
       
    78         const HbIcon & icon )
       
    79     {
       
    80  //   SMC_MOCK_METHOD1( void, const HbIcon &, icon )
       
    81     }
       
    82 
       
    83 
       
    84 // -----------------------------------------------------------------------------
       
    85 // HbAction::icon
       
    86 // -----------------------------------------------------------------------------
       
    87 //
       
    88 HbIcon HbAction::icon(  ) const
       
    89     {
       
    90  //   SMC_MOCK_METHOD0( HbIcon )
       
    91     }
       
    92 
       
    93 
       
    94 // -----------------------------------------------------------------------------
       
    95 // HbAction::setMenu
       
    96 // -----------------------------------------------------------------------------
       
    97 //
       
    98 void HbAction::setMenu( 
       
    99         HbMenu * menu )
       
   100     {
       
   101  //   SMC_MOCK_METHOD1( void, HbMenu *, menu )
       
   102     }
       
   103 
       
   104 
       
   105 // -----------------------------------------------------------------------------
       
   106 // HbAction::menu
       
   107 // -----------------------------------------------------------------------------
       
   108 //
       
   109 HbMenu * HbAction::menu(  ) const
       
   110     {
       
   111  //   SMC_MOCK_METHOD0( HbMenu * )
       
   112     }
       
   113 
       
   114 
       
   115 // -----------------------------------------------------------------------------
       
   116 // HbAction::setToolBarExtension
       
   117 // -----------------------------------------------------------------------------
       
   118 //
       
   119 void HbAction::setToolBarExtension( 
       
   120         HbToolBarExtension * extension )
       
   121     {
       
   122 //    SMC_MOCK_METHOD1( void, HbToolBarExtension *, extension )
       
   123     }
       
   124 
       
   125 
       
   126 // -----------------------------------------------------------------------------
       
   127 // HbAction::toolBarExtension
       
   128 // -----------------------------------------------------------------------------
       
   129 //
       
   130 HbToolBarExtension * HbAction::toolBarExtension(  ) const
       
   131     {
       
   132 //    SMC_MOCK_METHOD0( HbToolBarExtension * )
       
   133     }
       
   134 
       
   135 
       
   136 // -----------------------------------------------------------------------------
       
   137 // HbAction::setCommandRole
       
   138 // -----------------------------------------------------------------------------
       
   139 //
       
   140 void HbAction::setCommandRole( 
       
   141         HbAction::CommandRole commandRole )
       
   142     {
       
   143  //   SMC_MOCK_METHOD1( void, CommandRole, commandRole )
       
   144     }
       
   145 
       
   146 
       
   147 // -----------------------------------------------------------------------------
       
   148 // HbAction::commandRole
       
   149 // -----------------------------------------------------------------------------
       
   150 //
       
   151 HbAction::CommandRole HbAction::commandRole(  ) const
       
   152     {
       
   153  //   SMC_MOCK_METHOD0( CommandRole )
       
   154     }
       
   155 
       
   156 
       
   157 // -----------------------------------------------------------------------------
       
   158 // HbAction::HbAction
       
   159 // -----------------------------------------------------------------------------
       
   160 //
       
   161 HbAction::HbAction( 
       
   162         HbActionPrivate & dd,
       
   163         QObject * parent )
       
   164     : QAction( parent ), d_ptr(NULL)
       
   165     {
       
   166     
       
   167     }
       
   168 
       
   169