tsrc/mocks/qtmobility/mock_xqsettingskey.cpp
changeset 76 cfea66083b62
equal deleted inserted replaced
74:d1c62c765e48 76:cfea66083b62
       
     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 "xqsettingskey.h"
       
    20 
       
    21 // ============================ MEMBER FUNCTIONS ===============================
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 // XQSettingsKey::XQSettingsKey
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 XQSettingsKey::XQSettingsKey( 
       
    28         XQSettingsKey::Target target,
       
    29         long int uid,
       
    30         unsigned long int key )
       
    31     {
       
    32     
       
    33     }
       
    34 
       
    35 
       
    36 // -----------------------------------------------------------------------------
       
    37 // XQSettingsKey::~XQSettingsKey
       
    38 // -----------------------------------------------------------------------------
       
    39 //
       
    40 XQSettingsKey::~XQSettingsKey(  )
       
    41     {
       
    42     
       
    43     }
       
    44 
       
    45 
       
    46 // -----------------------------------------------------------------------------
       
    47 // XQSettingsKey::target
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 XQSettingsKey::Target XQSettingsKey::target(  ) const
       
    51     {
       
    52     
       
    53     XQSettingsKey::Target variable;
       
    54     return variable;
       
    55     }
       
    56 
       
    57 
       
    58 // -----------------------------------------------------------------------------
       
    59 // XQSettingsKey::uid
       
    60 // -----------------------------------------------------------------------------
       
    61 //
       
    62 long int XQSettingsKey::uid(  ) const
       
    63     {
       
    64     SMC_MOCK_METHOD0(long int)
       
    65     }
       
    66 
       
    67 
       
    68 // -----------------------------------------------------------------------------
       
    69 // XQSettingsKey::key
       
    70 // -----------------------------------------------------------------------------
       
    71 //
       
    72 unsigned long int XQSettingsKey::key(  ) const
       
    73     {
       
    74     SMC_MOCK_METHOD0(unsigned long int)
       
    75     }
       
    76 
       
    77 
       
    78 // -----------------------------------------------------------------------------
       
    79 // XQPublishAndSubscribeSettingsKey::XQPublishAndSubscribeSettingsKey
       
    80 // -----------------------------------------------------------------------------
       
    81 //
       
    82 XQPublishAndSubscribeSettingsKey::XQPublishAndSubscribeSettingsKey( 
       
    83         long int categoryUid,
       
    84         unsigned long int key ) : 
       
    85         XQSettingsKey( XQSettingsKey::TargetPublishAndSubscribe, categoryUid, key )
       
    86     {
       
    87     
       
    88     }
       
    89 
       
    90 
       
    91 // -----------------------------------------------------------------------------
       
    92 // XQPublishAndSubscribeSettingsKey::~XQPublishAndSubscribeSettingsKey
       
    93 // -----------------------------------------------------------------------------
       
    94 //
       
    95 XQPublishAndSubscribeSettingsKey::~XQPublishAndSubscribeSettingsKey(  )
       
    96     {
       
    97     
       
    98     }
       
    99 
       
   100 
       
   101 // -----------------------------------------------------------------------------
       
   102 // XQCentralRepositorySettingsKey::XQCentralRepositorySettingsKey
       
   103 // -----------------------------------------------------------------------------
       
   104 //
       
   105 XQCentralRepositorySettingsKey::XQCentralRepositorySettingsKey( 
       
   106         long int repositoryUid,
       
   107         unsigned long int key ) : 
       
   108         XQSettingsKey( XQSettingsKey::TargetCentralRepository, repositoryUid, key )
       
   109     {
       
   110     
       
   111     }
       
   112 
       
   113 
       
   114 // -----------------------------------------------------------------------------
       
   115 // XQCentralRepositorySettingsKey::~XQCentralRepositorySettingsKey
       
   116 // -----------------------------------------------------------------------------
       
   117 //
       
   118 XQCentralRepositorySettingsKey::~XQCentralRepositorySettingsKey(  )
       
   119     {
       
   120     
       
   121     }
       
   122 
       
   123