equal
deleted
inserted
replaced
41 Q_PROPERTY( bool autoClose READ autoClose WRITE setAutoClose ) |
41 Q_PROPERTY( bool autoClose READ autoClose WRITE setAutoClose ) |
42 Q_PROPERTY( QString text READ text WRITE setText ) |
42 Q_PROPERTY( QString text READ text WRITE setText ) |
43 Q_PROPERTY( HbIcon icon READ icon WRITE setIcon ) |
43 Q_PROPERTY( HbIcon icon READ icon WRITE setIcon ) |
44 Q_PROPERTY( ProgressDialogType progressDialogType READ progressDialogType WRITE setProgressDialogType ) |
44 Q_PROPERTY( ProgressDialogType progressDialogType READ progressDialogType WRITE setProgressDialogType ) |
45 |
45 |
46 /* Deprecated */ |
|
47 Q_PROPERTY( Qt::Alignment textAlignment READ textAlignment WRITE setTextAlignment ) |
|
48 /* Deprecated */ |
|
49 Q_PROPERTY( Qt::Alignment iconAlignment READ iconAlignment WRITE setIconAlignment ) |
|
50 |
|
51 public: |
46 public: |
52 |
47 |
53 enum ProgressDialogType { ProgressDialog, WaitDialog }; |
48 enum ProgressDialogType { ProgressDialog, WaitDialog }; |
54 |
49 |
55 explicit HbProgressDialog(QGraphicsItem *parent = 0); |
50 explicit HbProgressDialog(QGraphicsItem *parent = 0); |
77 enum { Type = Hb::ItemType_ProgressDialog }; |
72 enum { Type = Hb::ItemType_ProgressDialog }; |
78 int type() const { return Type; } |
73 int type() const { return Type; } |
79 |
74 |
80 QGraphicsItem* primitive(HbStyle::Primitive primitive) const; |
75 QGraphicsItem* primitive(HbStyle::Primitive primitive) const; |
81 |
76 |
82 /* Deprecated */ |
|
83 void setTextAlignment(Qt::Alignment align); |
|
84 /* Deprecated */ |
|
85 Qt::Alignment textAlignment() const; |
|
86 |
|
87 /* Deprecated */ |
|
88 void setIconAlignment(Qt::Alignment align); |
|
89 /* Deprecated */ |
|
90 Qt::Alignment iconAlignment() const; |
|
91 |
|
92 signals: |
77 signals: |
93 void cancelled(); |
78 void cancelled(); |
94 |
79 |
95 public slots: |
80 public slots: |
96 void cancel(); |
81 void cancel(); |