--- a/src/hbwidgets/popups/hbprogressdialog.h Mon Oct 04 17:49:30 2010 +0300
+++ b/src/hbwidgets/popups/hbprogressdialog.h Mon Oct 18 18:23:13 2010 +0300
@@ -69,11 +69,11 @@
void setProgressDialogType(HbProgressDialog::ProgressDialogType type );
HbProgressDialog::ProgressDialogType progressDialogType() const;
+ QGraphicsItem *primitive(const QString &itemName) const;
+
enum { Type = Hb::ItemType_ProgressDialog };
int type() const { return Type; }
- QGraphicsItem* primitive(HbStyle::Primitive primitive) const;
-
signals:
void cancelled();
@@ -83,11 +83,14 @@
void setMinimum(int min);
void setMaximum(int max);
void delayedShow();
+ void updatePrimitives();
+ void recreatePrimitives();
protected:
void initStyleOption(HbStyleOptionProgressDialog *option) const;
void showEvent(QShowEvent *event);
void closeEvent(QCloseEvent *event);
+ void initPrimitiveData(HbStylePrimitiveData *primitiveData, const QGraphicsObject *primitive);
private:
Q_DECLARE_PRIVATE_D(d_ptr, HbProgressDialog)