cmmanager/cpwlanapplugin/src/cpwlanapadvancedview.cpp
changeset 20 9c97ad6591ae
child 23 7ec726f93df1
equal deleted inserted replaced
18:fcbbe021d614 20:9c97ad6591ae
       
     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 * Control Panel WLAN AP advanced settings view implementation.
       
    16 *
       
    17 */
       
    18 
       
    19 // System includes
       
    20 #include <HbDataForm>
       
    21 #include <HbDataFormModel>
       
    22 #include <cmconnectionmethod_shim.h>
       
    23 #include <cpsettingformitemdata.h>
       
    24 
       
    25 // User includes
       
    26 #include "cpwlanapadvancedview.h"
       
    27 
       
    28 /*!
       
    29     \class CpWlanApAdvancedView
       
    30     \brief This class implements the WLAN AP Control Panel advanced
       
    31            settings view.
       
    32 */
       
    33 
       
    34 // External function prototypes
       
    35 
       
    36 // Local constants
       
    37 
       
    38 // ======== LOCAL FUNCTIONS ========
       
    39 
       
    40 // ======== MEMBER FUNCTIONS ========
       
    41 
       
    42 /*!
       
    43     Constructor.
       
    44 */
       
    45 CpWlanApAdvancedView::CpWlanApAdvancedView(
       
    46     CmConnectionMethodShim *cmConnectionMethod,
       
    47     QGraphicsItem *parent) :
       
    48         CpBaseSettingView(0, parent),
       
    49         mForm(0),
       
    50         mModel(0),
       
    51         mCmConnectionMethod(cmConnectionMethod)
       
    52 {
       
    53     // Construct packet data AP settings UI
       
    54     mForm = settingForm();
       
    55     if (mForm) {
       
    56         mModel = new HbDataFormModel(mForm);
       
    57 
       
    58         // Add advanced settings groups
       
    59         createAdvancedSettings();
       
    60         
       
    61         mForm->setModel(mModel);
       
    62     }
       
    63 }
       
    64 
       
    65 /*!
       
    66     Destructor.
       
    67 */
       
    68 CpWlanApAdvancedView::~CpWlanApAdvancedView()
       
    69 {
       
    70 }
       
    71 
       
    72 /*!
       
    73     Creates all advanced settings groups.
       
    74 */
       
    75 void CpWlanApAdvancedView::createAdvancedSettings()
       
    76 {
       
    77     // TODO: Implement the advanced settings view.
       
    78 }