cmmanager/cpwlanapplugin/src/cpwlanapadvancedview.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 12:53:07 +0300
changeset 20 9c97ad6591ae
child 23 7ec726f93df1
permissions -rw-r--r--
Revision: 201015 Kit: 201018

/*
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0""
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
* Control Panel WLAN AP advanced settings view implementation.
*
*/

// System includes
#include <HbDataForm>
#include <HbDataFormModel>
#include <cmconnectionmethod_shim.h>
#include <cpsettingformitemdata.h>

// User includes
#include "cpwlanapadvancedview.h"

/*!
    \class CpWlanApAdvancedView
    \brief This class implements the WLAN AP Control Panel advanced
           settings view.
*/

// External function prototypes

// Local constants

// ======== LOCAL FUNCTIONS ========

// ======== MEMBER FUNCTIONS ========

/*!
    Constructor.
*/
CpWlanApAdvancedView::CpWlanApAdvancedView(
    CmConnectionMethodShim *cmConnectionMethod,
    QGraphicsItem *parent) :
        CpBaseSettingView(0, parent),
        mForm(0),
        mModel(0),
        mCmConnectionMethod(cmConnectionMethod)
{
    // Construct packet data AP settings UI
    mForm = settingForm();
    if (mForm) {
        mModel = new HbDataFormModel(mForm);

        // Add advanced settings groups
        createAdvancedSettings();
        
        mForm->setModel(mModel);
    }
}

/*!
    Destructor.
*/
CpWlanApAdvancedView::~CpWlanApAdvancedView()
{
}

/*!
    Creates all advanced settings groups.
*/
void CpWlanApAdvancedView::createAdvancedSettings()
{
    // TODO: Implement the advanced settings view.
}