equal
deleted
inserted
replaced
|
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 * WLAN Entry plugin item data implementation. |
|
16 */ |
|
17 |
|
18 #ifndef CPWLANENTRYITEMDATA_H |
|
19 #define CPWLANENTRYITEMDATA_H |
|
20 |
|
21 // System includes |
|
22 #include <xqappmgr.h> |
|
23 |
|
24 // User includes |
|
25 #include "cpsettingformentryitemdata.h" |
|
26 |
|
27 // Forward declarations |
|
28 |
|
29 class WlanStatusInfo; |
|
30 class XQAiwRequest; |
|
31 |
|
32 // External data types |
|
33 |
|
34 // Constants |
|
35 |
|
36 // Class declaration |
|
37 |
|
38 class CpWlanEntryItemData : public CpSettingFormEntryItemData |
|
39 { |
|
40 Q_OBJECT |
|
41 |
|
42 public: |
|
43 |
|
44 // Data types |
|
45 |
|
46 explicit CpWlanEntryItemData(CpItemDataHelper &itemDataHelper); |
|
47 |
|
48 virtual ~CpWlanEntryItemData(); |
|
49 |
|
50 signals: |
|
51 |
|
52 public slots: |
|
53 |
|
54 protected: |
|
55 |
|
56 protected slots: |
|
57 |
|
58 private: |
|
59 |
|
60 Q_DISABLE_COPY(CpWlanEntryItemData) |
|
61 |
|
62 virtual CpBaseSettingView *createSettingView() const; |
|
63 |
|
64 private slots: |
|
65 |
|
66 void statusUpdate(); |
|
67 void handleOk(const QVariant &result); |
|
68 void handleError(int errorCode, const QString& errorMessage); |
|
69 |
|
70 private: // data |
|
71 |
|
72 WlanStatusInfo *mWlanStatusInfo; //!< WLAN status info handler |
|
73 mutable bool mProcessing; //used to mark if there is a request being processed |
|
74 mutable XQAiwRequest *mRequest; |
|
75 mutable XQApplicationManager mAiwMgr; |
|
76 |
|
77 // Friend classes |
|
78 |
|
79 }; |
|
80 |
|
81 #endif // CPWLANENTRYITEMDATA_H |