59 HbPopup *deviceDialogWidget() const; |
49 HbPopup *deviceDialogWidget() const; |
60 virtual QObject *signalSender() const; |
50 virtual QObject *signalSender() const; |
61 |
51 |
62 public slots: |
52 public slots: |
63 void stopRetryClicked(); |
53 void stopRetryClicked(); |
64 void retryClicked(); |
|
65 void viewByClicked(); |
54 void viewByClicked(); |
66 void deviceSelected(const QModelIndex& modelIndex); |
55 void deviceSelected(const QModelIndex& modelIndex); |
67 // void viewByItemSelected(int index); |
|
68 void selectionDialogClosed(HbAction *action); |
56 void selectionDialogClosed(HbAction *action); |
69 void searchDialogClosed(); |
57 void searchDialogClosed(); |
70 |
58 |
71 private: |
59 private: |
72 bool constructDialog(const QVariantMap ¶meters); |
60 bool constructDialog(const QVariantMap ¶meters); |
85 void deviceDialogData(QVariantMap data); |
73 void deviceDialogData(QVariantMap data); |
86 |
74 |
87 private: |
75 private: |
88 HbDocumentLoader *mLoader; |
76 HbDocumentLoader *mLoader; |
89 |
77 |
90 /** |
|
91 * |
|
92 * item model for content list view. |
|
93 */ |
|
94 |
|
95 QStandardItemModel* mContentItemModel; |
78 QStandardItemModel* mContentItemModel; |
96 |
79 |
97 HbSelectionDialog *mQuery; |
80 HbSelectionDialog *mQuery; |
98 // QList<QString> mDeviceTypeList; |
|
99 QStringList mDevTypeList; |
81 QStringList mDevTypeList; |
100 // QList<device> mDeviceList; |
82 HbListView* mDeviceList; |
101 HbListView* mListView; |
|
102 HbLabel* mSearchLabel; |
83 HbLabel* mSearchLabel; |
103 HbLabel* mSearchIconLabel; |
84 HbLabel* mSearchIconLabel; |
104 HbLabel* mSearchDoneLabel; |
85 HbLabel* mSearchDoneLabel; |
105 // bool mViewByChosen; |
|
106 // QList<device> mDeviceLstOfType; |
|
107 // int mDeviceLstIdx; |
|
108 int mSelectedDeviceType; |
86 int mSelectedDeviceType; |
109 // int mDeviceDialogData; |
|
110 HbDialog *mSearchDevicesDialog; |
87 HbDialog *mSearchDevicesDialog; |
111 HbAction *mStopRetryAction; |
88 HbAction *mStopRetryAction; |
112 HbAction *mShowAction; |
89 HbAction *mShowAction; |
113 HbAction *mCancelAction; |
90 HbAction *mCancelAction; |
114 |
91 |