18 #include "cpnetworkpluginview.h" |
18 #include "cpnetworkpluginview.h" |
19 #include "cpnetworkpluginform.h" |
19 #include "cpnetworkpluginform.h" |
20 #include "cppluginlogging.h" |
20 #include "cppluginlogging.h" |
21 |
21 |
22 /*! |
22 /*! |
23 CpNetworkPluginView::CpNetworkPluginView |
23 Constructor. |
24 */ |
24 */ |
25 CpNetworkPluginView::CpNetworkPluginView(QGraphicsItem *parent) : |
25 CpNetworkPluginView::CpNetworkPluginView(QGraphicsItem *parent) : |
26 CpBaseSettingView(0, parent), |
26 CpBaseSettingView(NULL, parent), |
27 m_networkSettingsForm(0) |
27 m_networkSettingsForm(NULL) |
28 { |
28 { |
29 DPRINT << ": IN"; |
29 DPRINT; |
30 |
|
31 m_networkSettingsForm = new CpNetworkPluginForm(); |
30 m_networkSettingsForm = new CpNetworkPluginForm(); |
32 // base class takes ownership of the form |
31 // Base class takes ownership of the form |
33 this->setWidget(m_networkSettingsForm); |
32 this->setWidget(m_networkSettingsForm); |
34 |
|
35 DPRINT << ": OUT"; |
|
36 } |
33 } |
37 |
34 |
38 /*! |
35 /*! |
39 CpNetworkPluginView::~CpNetworkPluginView |
36 Destructor. |
40 */ |
37 */ |
41 CpNetworkPluginView::~CpNetworkPluginView() |
38 CpNetworkPluginView::~CpNetworkPluginView() |
42 { |
39 { |
43 DPRINT << ": IN"; |
40 DPRINT; |
44 |
|
45 DPRINT << ": OUT"; |
|
46 } |
41 } |
47 |
42 |
48 /*! |
43 /*! |
49 CpNetworkPluginView::SearchAvailableNetworks |
44 Slot called by QtHighway service when network |
|
45 is lost. |
50 */ |
46 */ |
51 void CpNetworkPluginView::SearchAvailableNetworks() |
47 void CpNetworkPluginView::SearchAvailableNetworks() |
52 { |
48 { |
53 DPRINT << ": IN"; |
49 DPRINT; |
54 |
|
55 m_networkSettingsForm->searchAvailableNetworks(); |
50 m_networkSettingsForm->searchAvailableNetworks(); |
56 |
|
57 DPRINT << ": OUT"; |
|
58 } |
51 } |
59 |
52 |
60 // End of File. |
53 // End of File. |