securitysettings/qtconfigutils/eapqtplugininfo/src/eapqtexpandedeaptype.cpp
changeset 34 ad1f037f1ac2
parent 26 9abfd4f00d37
equal deleted inserted replaced
31:372d2d6c5cf9 34:ad1f037f1ac2
     1 /*
     1 /*
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3  * All rights reserved.
     3  * All rights reserved.
     4  * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5  * under the terms of the License "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0"
     6  * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8  *
     8  *
     9  * Initial Contributors:
     9  * Initial Contributors:
    10  * Nokia Corporation - initial contribution.
    10  * Nokia Corporation - initial contribution.
    15  *   Expanded EAP type QT data structure
    15  *   Expanded EAP type QT data structure
    16  *
    16  *
    17  */
    17  */
    18 
    18 
    19 /*
    19 /*
    20  * %version: 12 %
    20  * %version: 13 %
    21  */
    21  */
    22 
    22 
    23 #include "eapqtexpandedeaptype.h"
    23 // System includes
       
    24 #include <eapqtexpandedeaptype.h>
       
    25 
       
    26 // User includes
    24 #include "eapqtexpandedeaptype_p.h"
    27 #include "eapqtexpandedeaptype_p.h"
    25 
    28 
    26 //----------------------------------------------------------------------------
    29 /*!
    27 //              EapQtExpandedEapType                
    30  *  \class EapQtExpandedEapType
    28 //----------------------------------------------------------------------------
    31  *  \brief Public implementation of expanded EAP type QT data structure
       
    32  */
       
    33 
       
    34 // External function prototypes
       
    35 
       
    36 // Local constants
       
    37 
       
    38 // ======== LOCAL FUNCTIONS ========
       
    39 
       
    40 // ======== MEMBER FUNCTIONS ========
    29 
    41 
    30 EapQtExpandedEapType::EapQtExpandedEapType() :
    42 EapQtExpandedEapType::EapQtExpandedEapType() :
    31     d_ptr(new EapQtExpandedEapTypePrivate)
    43     d_ptr(new EapQtExpandedEapTypePrivate)
    32 {
    44 {
    33 }
    45 }
    35 EapQtExpandedEapType::EapQtExpandedEapType(const Type type) :
    47 EapQtExpandedEapType::EapQtExpandedEapType(const Type type) :
    36     d_ptr(new EapQtExpandedEapTypePrivate(type))
    48     d_ptr(new EapQtExpandedEapTypePrivate(type))
    37 {
    49 {
    38 }
    50 }
    39 
    51 
    40 EapQtExpandedEapType::EapQtExpandedEapType(const QByteArray data) :
    52 EapQtExpandedEapType::EapQtExpandedEapType(const QByteArray &data) :
    41     d_ptr(new EapQtExpandedEapTypePrivate(data))
    53     d_ptr(new EapQtExpandedEapTypePrivate(data))
    42 {
    54 {
    43 }
    55 }
    44 
    56 
    45 EapQtExpandedEapType::EapQtExpandedEapType(const EapQtExpandedEapType & type) :
    57 EapQtExpandedEapType::EapQtExpandedEapType(const EapQtExpandedEapType &type) :
    46     d_ptr(new EapQtExpandedEapTypePrivate)
    58     d_ptr(new EapQtExpandedEapTypePrivate)
    47 {
    59 {
    48     d_ptr->mData = type.d_ptr->mData;
    60     d_ptr->mData = type.d_ptr->mData;
    49     d_ptr->mType = type.d_ptr->mType;
    61     d_ptr->mType = type.d_ptr->mType;
    50 }
    62 }
    82         d_ptr->mData = type.d_ptr->mData;
    94         d_ptr->mData = type.d_ptr->mData;
    83         d_ptr->mType = type.d_ptr->mType;
    95         d_ptr->mType = type.d_ptr->mType;
    84     }
    96     }
    85     return *this;
    97     return *this;
    86 }
    98 }
    87