diff -r fcbbe021d614 -r 9c97ad6591ae cmmanager/cppacketdataapplugin/src/cppacketdataapadvancedview.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cmmanager/cppacketdataapplugin/src/cppacketdataapadvancedview.cpp Mon May 03 12:53:07 2010 +0300 @@ -0,0 +1,78 @@ +/* +* 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 packet data AP advanced settings view implementation. +* +*/ + +// System includes +#include +#include +#include +#include + +// User includes +#include "cppacketdataapadvancedview.h" + +/*! + \class CpPacketDataApAdvancedView + \brief Implements the advanced settings view for packet data bearer + access points. +*/ + +// External function prototypes + +// Local constants + +// ======== LOCAL FUNCTIONS ======== + +// ======== MEMBER FUNCTIONS ======== + +/*! + Constructor. +*/ +CpPacketDataApAdvancedView::CpPacketDataApAdvancedView( + 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. +*/ +CpPacketDataApAdvancedView::~CpPacketDataApAdvancedView() +{ +} + +/*! + Adds settings items to the model. +*/ +void CpPacketDataApAdvancedView::createAdvancedSettings() +{ + // TODO: Implement the advanced settings view. +}