phonesettings/cpphonesettingsplugins/cpnetworkplugin/src/cpnetworkpluginview.cpp
branchRCL_3
changeset 61 41a7f70b3818
equal deleted inserted replaced
58:40a3f856b14d 61:41a7f70b3818
       
     1 /*
       
     2  * Copyright (c) 2009 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  *
       
    16  */
       
    17 
       
    18 #include "cpnetworkpluginview.h"
       
    19 #include "cpnetworkpluginform.h"
       
    20 #include "cppluginlogging.h"
       
    21 
       
    22 /*!
       
    23   Constructor. 
       
    24  */
       
    25 CpNetworkPluginView::CpNetworkPluginView(QGraphicsItem *parent) :
       
    26     CpBaseSettingView(NULL, parent),
       
    27     m_networkSettingsForm(NULL)
       
    28 {
       
    29     DPRINT;
       
    30     m_networkSettingsForm = new CpNetworkPluginForm();
       
    31     // Base class takes ownership of the form
       
    32     this->setWidget(m_networkSettingsForm);
       
    33     }
       
    34 
       
    35 /*!
       
    36   Destructor. 
       
    37  */
       
    38 CpNetworkPluginView::~CpNetworkPluginView()
       
    39 {
       
    40     DPRINT;
       
    41 }
       
    42 
       
    43 /*!
       
    44   searchAvailableNetworks.    
       
    45  */
       
    46 void CpNetworkPluginView::searchAvailableNetworks()
       
    47 {
       
    48     DPRINT;
       
    49     
       
    50     m_networkSettingsForm->searchAvailableNetworks();
       
    51 }
       
    52     
       
    53 // End of File.