equal
deleted
inserted
replaced
23 |
23 |
24 #ifdef WLANENTRYPLUGIN_SERVICETRACES |
24 #ifdef WLANENTRYPLUGIN_SERVICETRACES |
25 #include <xqservicelog.h> |
25 #include <xqservicelog.h> |
26 #endif |
26 #endif |
27 #include <xqappmgr.h> |
27 #include <xqappmgr.h> |
|
28 #include <xqaiwdecl.h> |
28 #include <xqaiwdeclplat.h> |
29 #include <xqaiwdeclplat.h> |
29 |
30 |
30 // This workaround can be removed when XQOP_WLAN_SNIFFER is correctly |
31 // This workaround can be removed when XQOP_WLAN_SNIFFER is correctly |
31 // defined without the "void" parameter restriction: |
32 // defined without the "void" parameter restriction: |
32 #undef XQOP_WLAN_SNIFFER |
33 #undef XQOP_WLAN_SNIFFER |
75 bool connectStatus = connect( |
76 bool connectStatus = connect( |
76 mWlanStatusInfo, |
77 mWlanStatusInfo, |
77 SIGNAL(statusUpdated()), |
78 SIGNAL(statusUpdated()), |
78 this, |
79 this, |
79 SLOT(statusUpdate())); |
80 SLOT(statusUpdate())); |
80 Q_ASSERT(connectStatus == true); |
81 Q_ASSERT(connectStatus); |
81 |
82 |
82 // Update to show initial WLAN status. |
83 // Update to show initial WLAN status. |
83 statusUpdate(); |
84 statusUpdate(); |
84 |
85 |
85 OstTraceFunctionExit0(CPWLANENTRYITEMDATA_CPWLANENTRYITEMDATA_EXIT); |
86 OstTraceFunctionExit0(CPWLANENTRYITEMDATA_CPWLANENTRYITEMDATA_EXIT); |
122 // The service is synchronous & embedded |
123 // The service is synchronous & embedded |
123 request->setSynchronous(true); |
124 request->setSynchronous(true); |
124 |
125 |
125 // Window title needs to be set to "Control Panel" |
126 // Window title needs to be set to "Control Panel" |
126 XQRequestInfo reqInfo; |
127 XQRequestInfo reqInfo; |
127 // TODO: Start using the official define when available |
128 reqInfo.setInfo(XQINFO_KEY_WINDOW_TITLE, hbTrId("txt_cp_title_control_panel")); |
128 reqInfo.setInfo("WindowTitle", hbTrId("txt_cp_title_control_panel")); |
|
129 request->setInfo(reqInfo); |
129 request->setInfo(reqInfo); |
130 |
130 |
131 bool status = request->send(); |
131 bool status = request->send(); |
132 #ifdef WLANENTRYPLUGIN_SERVICETRACES |
132 #ifdef WLANENTRYPLUGIN_SERVICETRACES |
133 XQSERVICE_DEBUG_PRINT("CpWlanEntryItemData::createSettingView listView() service request completed"); |
133 XQSERVICE_DEBUG_PRINT("CpWlanEntryItemData::createSettingView listView() service request completed"); |