phonesettings/cpphonesettingsplugins/cpnetworkplugin/src/cpnetworkpluginview.cpp
changeset 37 ba76fc04e6c2
child 46 bc5a64e5bc3c
equal deleted inserted replaced
36:2eacb6118286 37:ba76fc04e6c2
       
     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   CpNetworkPluginView::CpNetworkPluginView
       
    24  */
       
    25 CpNetworkPluginView::CpNetworkPluginView(QGraphicsItem *parent) :
       
    26     CpBaseSettingView(0, parent),
       
    27     m_networkSettingsForm(0)
       
    28 {
       
    29     DPRINT << ": IN";
       
    30     
       
    31     m_networkSettingsForm = new CpNetworkPluginForm();
       
    32     // base class takes ownership of the form
       
    33     this->setWidget(m_networkSettingsForm);
       
    34     
       
    35     DPRINT << ": OUT";
       
    36     }
       
    37 
       
    38 /*!
       
    39   CpNetworkPluginView::~CpNetworkPluginView
       
    40  */
       
    41 CpNetworkPluginView::~CpNetworkPluginView()
       
    42 {
       
    43     DPRINT << ": IN";
       
    44     
       
    45     DPRINT << ": OUT";
       
    46 }
       
    47 
       
    48 /*!
       
    49   CpNetworkPluginView::SearchAvailableNetworks
       
    50  */
       
    51 void CpNetworkPluginView::SearchAvailableNetworks()
       
    52 {
       
    53     DPRINT << ": IN";
       
    54     
       
    55     m_networkSettingsForm->searchAvailableNetworks();
       
    56     
       
    57     DPRINT << ": OUT";
       
    58 }
       
    59     
       
    60 // End of File.