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