securitysettings/qtconfigutils/eapqtconfiginterface/src/eapqtcertificateinfo_p.cpp
branchRCL_3
changeset 46 c74b3d9f6b9e
parent 45 bad0cc58d154
child 55 9c2aa05919d9
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
     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  *   Certificate information data structure for EAP QT configuration interface
       
    16  *
       
    17  */
       
    18 
       
    19 /*
       
    20  * %version: 6 %
       
    21  */
       
    22 
       
    23 // System includes
       
    24 
       
    25 // User includes
       
    26 #include "eapqtcertificateinfo_p.h"
       
    27 
       
    28 /*!
       
    29  *  \class EapQtCertificateInfoPrivate
       
    30  *  \brief Private implementation of certificate information data
       
    31  *         structure for EAP QT configuration interface
       
    32  */
       
    33 
       
    34 // External function prototypes
       
    35 
       
    36 // Local constants
       
    37 
       
    38 // ======== LOCAL FUNCTIONS ========
       
    39 
       
    40 // ======== MEMBER FUNCTIONS ========
       
    41 
       
    42 EapQtCertificateInfoPrivate::EapQtCertificateInfoPrivate()
       
    43 {
       
    44 }
       
    45 
       
    46 EapQtCertificateInfoPrivate::~EapQtCertificateInfoPrivate()
       
    47 {
       
    48 }
       
    49 
       
    50 EapQtCertificateInfoPrivate::EapQtCertificateInfoPrivate(
       
    51     const EapQtCertificateInfoPrivate &certInfo)
       
    52 {
       
    53     mCerts = certInfo.mCerts;
       
    54 }
       
    55 
       
    56 QVariant EapQtCertificateInfoPrivate::value(const int id)
       
    57 {
       
    58     return mCerts[id];
       
    59 }
       
    60 
       
    61 void EapQtCertificateInfoPrivate::setValue(const int id, const QVariant &newValue)
       
    62 {
       
    63     mCerts[id] = newValue;
       
    64 }
       
    65 
       
    66 void EapQtCertificateInfoPrivate::clear()
       
    67 {
       
    68     mCerts.clear();
       
    69 }