equal
deleted
inserted
replaced
42 public: |
42 public: |
43 HbProgressDialogPrivate(); |
43 HbProgressDialogPrivate(); |
44 ~HbProgressDialogPrivate(); |
44 ~HbProgressDialogPrivate(); |
45 |
45 |
46 void init(HbProgressDialog::ProgressDialogType noteType); |
46 void init(HbProgressDialog::ProgressDialogType noteType); |
|
47 void createPrimitives(); |
47 void _q_finished(); |
48 void _q_finished(); |
48 void _q_progressValueChanged(int); |
49 void _q_progressValueChanged(int); |
49 void _q_userCancel(); |
50 void _q_userCancel(); |
50 |
51 |
51 enum StateFlag { |
52 enum StateFlag { |
52 Autoreset = 0x1, |
53 Autoreset = 0x1, |
53 Autoclose = 0x2, |
54 Autoclose = 0x2, |
54 Showtimer = 0x4, |
55 Showtimer = 0x4, |
55 Closetimer = 0x8, |
56 Closetimer = 0x8, |
56 Closepending = 0x10 |
57 Closepending = 0x10 |
57 }; |
58 }; |
|
59 |
58 Q_DECLARE_FLAGS(StateFlags, StateFlag) |
60 Q_DECLARE_FLAGS(StateFlags, StateFlag) |
59 StateFlags flags; |
61 StateFlags flags; |
60 |
|
61 |
62 |
62 static HbProgressDialogPrivate *d_ptr(HbProgressDialog *note) { |
63 static HbProgressDialogPrivate *d_ptr(HbProgressDialog *note) { |
63 Q_ASSERT(note); |
64 Q_ASSERT(note); |
64 return note->d_func(); |
65 return note->d_func(); |
65 } |
66 } |
66 HbAction *mAction; |
67 HbAction *mAction; |
67 QTimeLine *mTimer; |
68 QTimeLine *mTimer; |
68 HbIcon mIcon; |
69 HbIcon mIcon; |
69 HbProgressDialogContentWidget* mContentWidget; |
70 HbProgressDialogContentWidget* mContentWidget; |
70 Qt::Alignment mIconAlignment; |
71 Qt::Alignment mIconAlignment; |
71 bool mTextWrapping; |
72 int mMinDuration; |
72 int mMinDuration; |
73 int mDelayTime; |
73 int mDelayTime; |
74 HbProgressDialog::ProgressDialogType mNoteType; |
74 HbProgressDialog::ProgressDialogType mNoteType; |
75 QString mTextString; |
75 QString mTextString; |
76 Qt::Alignment mAlign; |
76 Qt::Alignment mAlign; |
|
77 }; |
77 }; |
78 |
78 |
79 #endif |
79 #endif |