61 |
61 |
62 void setReceivingScheduleGroupItem(HbDataFormModelItem *item); |
62 void setReceivingScheduleGroupItem(HbDataFormModelItem *item); |
63 void setServerInfoGroupItem(HbDataFormModelItem *item); |
63 void setServerInfoGroupItem(HbDataFormModelItem *item); |
64 void createOrUpdateReceivingScheduleGroupDynamicItem(IpsServices::SettingItem item); |
64 void createOrUpdateReceivingScheduleGroupDynamicItem(IpsServices::SettingItem item); |
65 void createServerInfoGroupDynamicItems(bool hiddenItem); |
65 void createServerInfoGroupDynamicItems(bool hiddenItem); |
66 |
66 |
67 int getCorrectIncomingPortRadioButtonIndex(); |
67 int getCorrectIncomingPortComboBoxIndex(); |
68 int getCorrectIncomingSecureRadioButtonIndex(); |
68 int getCorrectIncomingSecureComboBoxIndex(); |
69 int getCorrectOutgoingSecureRadioButtonIndex(); |
69 int getCorrectOutgoingSecureComboBoxIndex(); |
70 int getCorrectFolderPathRadioButtonIndex(); |
70 int getCorrectFolderPathComboBoxIndex(); |
71 int getCorrectOutgoingPortRadioButtonIndex(); |
71 int getCorrectOutgoingPortComboBoxIndex(); |
72 int getCorrectOutgoingAuthenticationRadioButtonIndex(); |
72 int getCorrectOutgoingAuthenticationComboBoxIndex(); |
|
73 |
73 void handleReceivingScheduleSettingChange(IpsServices::SettingItem settingItem, |
74 void handleReceivingScheduleSettingChange(IpsServices::SettingItem settingItem, |
74 const QVariant &settingValue); |
75 const QVariant &settingValue); |
75 QString destinationNameFromIdentifier(uint identifier); |
76 QString destinationNameFromIdentifier(uint identifier); |
76 void incomingSecureConnectionItemChange(int index); |
|
77 void incomingPortChange(int index); |
|
78 void outgoingSecureConnectionItemChange(int index); |
|
79 void outgoingPortChange(int index); |
|
80 void outgoingAuthenticationChange(int index); |
|
81 void folderPathChange(int index); |
|
82 |
77 |
83 signals: |
78 signals: |
84 |
79 |
85 void mailboxListChanged(const NmId &mailboxId, NmSettings::MailboxEventType type); |
80 void mailboxListChanged(const NmId &mailboxId, NmSettings::MailboxEventType type); |
86 void mailboxPropertyChanged(const NmId &mailboxId, QVariant property, QVariant value); |
81 void mailboxPropertyChanged(const NmId &mailboxId, QVariant property, QVariant value); |
107 void receivingScheduleChange(int index); |
102 void receivingScheduleChange(int index); |
108 void saveIncomingMailServer(); |
103 void saveIncomingMailServer(); |
109 void incomingMailServerTextChange(const QString &text); |
104 void incomingMailServerTextChange(const QString &text); |
110 void saveOutgoingMailServer(); |
105 void saveOutgoingMailServer(); |
111 void outgoingMailServerTextChange(const QString &text); |
106 void outgoingMailServerTextChange(const QString &text); |
|
107 void incomingSecureConnectionItemChange(int index); |
|
108 void incomingPortChange(int index); |
|
109 void outgoingSecureConnectionItemChange(int index); |
|
110 void outgoingPortChange(int index); |
|
111 void outgoingAuthenticationChange(int index); |
|
112 void folderPathChange(int index); |
112 void connectionButtonPress(); |
113 void connectionButtonPress(); |
113 |
114 |
114 private slots: |
115 private slots: |
115 |
116 |
116 void receivingWeekdaysModified(); |
117 void receivingWeekdaysModified(); |
117 void startTimeModified(QTime time); |
118 void startTimeModified(QTime time); |
118 void endTimeModified(QTime time); |
119 void endTimeModified(QTime time); |
119 void refreshPeriodModified(HbAction *action); |
|
120 void handleMailboxDelete(HbAction *action); |
120 void handleMailboxDelete(HbAction *action); |
121 void handleMailboxDeleteUpdate(HbAction *action); |
121 void handleMailboxDeleteUpdate(HbAction *action); |
122 void handleUserDefinedIncomingPortInput(HbAction *action); |
122 void handleUserDefinedIncomingPortInput(HbAction *action); |
123 void handleUserDefinedFolderPathInput(HbAction *action); |
123 void handleUserDefinedFolderPathInput(HbAction *action); |
124 void handleUserDefinedOutgoingPortInput(HbAction *action); |
124 void handleUserDefinedOutgoingPortInput(HbAction *action); |
125 void handleConnectionSelected(uint status); |
125 void handleConnectionSelected(uint status); |
126 void refreshIndexModified(int index); |
126 void refreshPeriodModified(int index); |
127 |
127 |
128 private: |
128 private: |
129 |
129 |
130 enum AppLibUpdateOperation |
130 enum AppLibUpdateOperation |
131 { |
131 { |
162 HbInputDialog *mOutgoingPortInputDialog; // Owned. |
162 HbInputDialog *mOutgoingPortInputDialog; // Owned. |
163 HbValidator *mOutgoingPortInputValidator; // Owned. |
163 HbValidator *mOutgoingPortInputValidator; // Owned. |
164 CmApplSettingsUi *mDestinationDialog; // Owned. |
164 CmApplSettingsUi *mDestinationDialog; // Owned. |
165 bool mServerInfoDynamicItemsVisible; |
165 bool mServerInfoDynamicItemsVisible; |
166 bool mAbortDynamicRSItemHandling; |
166 bool mAbortDynamicRSItemHandling; |
167 int mCurrentRefreshIndex; |
167 int mPrevInboxCount; |
168 }; |
168 }; |
169 |
169 |
170 #endif // NMIPSSETTINGSHELPER_H |
170 #endif // NMIPSSETTINGSHELPER_H |