equal
deleted
inserted
replaced
33 Q_OBJECT |
33 Q_OBJECT |
34 |
34 |
35 public: |
35 public: |
36 FmBackupWidget( QGraphicsItem *parent = 0 ); |
36 FmBackupWidget( QGraphicsItem *parent = 0 ); |
37 ~FmBackupWidget(); |
37 ~FmBackupWidget(); |
|
38 void updateBackupDate(); |
38 |
39 |
39 signals: |
40 signals: |
40 void doModelRefresh(); |
41 void doModelRefresh(); |
|
42 void changeContents(); |
|
43 void changeScheduling(); |
|
44 void changeWeekday(); |
|
45 void changeTime(); |
|
46 void changeTargetDrive(); |
41 |
47 |
|
48 public slots: |
|
49 // refresh whole model immediately. |
|
50 void refreshModel(); |
|
51 |
42 private slots: |
52 private slots: |
43 void on_list_released( const QModelIndex &index ); |
53 void on_list_released( const QModelIndex &index ); |
44 void on_list_pressed( const QModelIndex &index ); |
54 void on_list_pressed( const QModelIndex &index ); |
45 void on_list_scrollingStarted(); |
55 void on_list_scrollingStarted(); |
46 |
56 |
47 void refreshModel(); |
57 void on_changeContents(); |
|
58 void on_changeScheduling(); |
|
59 void on_changeWeekday(); |
|
60 void on_changeTime(); |
|
61 void on_changeTargetDrive(); |
48 |
62 |
49 private: |
63 private: |
50 |
64 |
51 void initModel(); |
65 void initModel(); |
52 void init(); |
66 void init(); |
53 void expandAllGroup(); |
67 void expandAllGroup(); |
54 |
|
55 void ChangeContents(); |
|
56 void ChangeScheduling(); |
|
57 void ChangeWeekday(); |
|
58 void ChangeTime(); |
|
59 void ChangeTargetDrive(); |
|
60 |
68 |
61 private: |
69 private: |
62 |
70 |
63 HbDataForm *mDataForm; |
71 HbDataForm *mDataForm; |
64 HbDataFormModel *mModel; |
72 HbDataFormModel *mModel; |
68 HbDataFormModelItem *mContentsItem; |
76 HbDataFormModelItem *mContentsItem; |
69 HbDataFormModelItem *mTargetItem; |
77 HbDataFormModelItem *mTargetItem; |
70 HbDataFormModelItem *mSchedulingItem; |
78 HbDataFormModelItem *mSchedulingItem; |
71 HbDataFormModelItem *mWeekdayItem; |
79 HbDataFormModelItem *mWeekdayItem; |
72 HbDataFormModelItem *mTimeItem; |
80 HbDataFormModelItem *mTimeItem; |
73 |
81 HbDataFormModelItem *mLastBackupDateItem; |
74 FmBackupSettings *mBackupSettings; |
82 FmBackupSettings *mBackupSettings; |
75 FmBackupConfigLoader *mBackupConfigLoader; |
83 FmBackupConfigLoader *mBackupConfigLoader; |
76 HbDataFormModelItem *mLastPressedItem; |
84 HbDataFormModelItem *mLastPressedItem; |
77 |
85 |
78 bool mScrolled; |
86 bool mScrolled; |
|
87 bool mListReleased; |
79 }; |
88 }; |
80 |
89 |
81 #endif // FMBACKUPWIDGET_H |
90 #endif // FMBACKUPWIDGET_H |