camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxesettingscenrepstore/xqsettingskey.cpp
branchRCL_3
changeset 24 bac7acad7cb3
parent 23 61bc0f252b2b
child 25 2c87b2808fd7
equal deleted inserted replaced
23:61bc0f252b2b 24:bac7acad7cb3
     1 /*
       
     2 * Copyright (c) 2010 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 
       
    18 /*!
       
    19 * XQSettingsKey class fake implementation
       
    20 */
       
    21 
       
    22 #include <QVariant>
       
    23 #include <QList>
       
    24 #include <QMetaType>
       
    25 #include <QObject>
       
    26 
       
    27 #include "cxutils.h"
       
    28 #include "xqsettingskey.h"
       
    29 #include "cxenamespace.h"
       
    30 
       
    31 
       
    32 
       
    33 
       
    34 /*!
       
    35 * Reads the setting value for the given key from cenrep
       
    36 */
       
    37 long int XQSettingsKey::uid() const
       
    38 {
       
    39     CX_DEBUG_ENTER_FUNCTION();
       
    40     CX_DEBUG_EXIT_FUNCTION();
       
    41     return mUid;
       
    42 }
       
    43 
       
    44 
       
    45 /*!
       
    46 * Reads the setting value for the given key from cenrep
       
    47 */
       
    48 unsigned long int XQSettingsKey::key() const
       
    49 {
       
    50     CX_DEBUG_ENTER_FUNCTION();
       
    51     CX_DEBUG_EXIT_FUNCTION();
       
    52     return mKey;
       
    53 }
       
    54 
       
    55 
       
    56 
       
    57 /*!
       
    58 * Reads the setting value for the given key from cenrep
       
    59 */
       
    60 XQSettingsKey::Target XQSettingsKey::target() const
       
    61 {
       
    62     CX_DEBUG_ENTER_FUNCTION();
       
    63     CX_DEBUG_EXIT_FUNCTION();
       
    64     return mTarget;
       
    65 }
       
    66 
       
    67 
       
    68 
       
    69 /*!
       
    70 * XQSettingsKey::XQSettingsKey
       
    71 */
       
    72 XQSettingsKey::XQSettingsKey(XQSettingsKey::Target target, long int uid, unsigned long int key)
       
    73 :mTarget(target),
       
    74  mUid(uid),
       
    75  mKey(key)
       
    76 {
       
    77 }
       
    78 
       
    79 
       
    80 
       
    81 /*!
       
    82 * XQSettingsKey::close
       
    83 */
       
    84 XQSettingsKey::~XQSettingsKey()
       
    85 {
       
    86 }
       
    87 
       
    88 // end of file