equal
deleted
inserted
replaced
54 : CpBaseSettingView(0, parent), |
54 : CpBaseSettingView(0, parent), |
55 mForm(NULL), |
55 mForm(NULL), |
56 mModel(NULL), |
56 mModel(NULL), |
57 mMailboxId(mailboxId.id()) |
57 mMailboxId(mailboxId.id()) |
58 { |
58 { |
|
59 NM_FUNCTION; |
|
60 |
59 setTitle(mailboxName); |
61 setTitle(mailboxName); |
60 |
62 |
61 HbDocumentLoader documentLoader; |
63 HbDocumentLoader documentLoader; |
62 bool documentLoaded = false; |
64 bool documentLoaded = false; |
63 QObjectList objectList; |
65 QObjectList objectList; |
97 /*! |
99 /*! |
98 Destructor of NmMailboxSettingView. |
100 Destructor of NmMailboxSettingView. |
99 */ |
101 */ |
100 NmMailboxSettingView::~NmMailboxSettingView() |
102 NmMailboxSettingView::~NmMailboxSettingView() |
101 { |
103 { |
102 NMLOG("NmMailboxSettingView::~NmMailboxSettingView()"); |
104 NM_FUNCTION; |
103 |
105 |
104 if (mForm) { |
106 if (mForm) { |
105 mForm->removeAllConnection(); |
107 mForm->removeAllConnection(); |
106 delete mForm; |
108 delete mForm; |
107 } |
109 } |
108 |
110 |
117 \param type The type of the change. |
119 \param type The type of the change. |
118 */ |
120 */ |
119 void NmMailboxSettingView::mailboxListChanged(const NmId &mailboxId, |
121 void NmMailboxSettingView::mailboxListChanged(const NmId &mailboxId, |
120 NmSettings::MailboxEventType type) |
122 NmSettings::MailboxEventType type) |
121 { |
123 { |
|
124 NM_FUNCTION; |
|
125 |
122 Q_UNUSED(mailboxId); |
126 Q_UNUSED(mailboxId); |
123 Q_UNUSED(type); |
127 Q_UNUSED(type); |
124 |
128 |
125 HbAction *action = navigationAction(); |
129 HbAction *action = navigationAction(); |
126 if (action) { |
130 if (action) { |
138 */ |
142 */ |
139 void NmMailboxSettingView::mailboxPropertyChanged(const NmId &mailboxId, |
143 void NmMailboxSettingView::mailboxPropertyChanged(const NmId &mailboxId, |
140 QVariant property, |
144 QVariant property, |
141 QVariant value) |
145 QVariant value) |
142 { |
146 { |
|
147 NM_FUNCTION; |
|
148 |
143 Q_UNUSED(mailboxId); |
149 Q_UNUSED(mailboxId); |
144 |
150 |
145 switch (property.toInt()) { |
151 switch (property.toInt()) { |
146 case NmSettings::MailboxName: { |
152 case NmSettings::MailboxName: { |
147 setTitle(value.toString()); |
153 setTitle(value.toString()); |