diff -r 7516d6d86cf5 -r ed14f46c0e55 src/hbwidgets/widgets/hbdatetimepicker.h --- a/src/hbwidgets/widgets/hbdatetimepicker.h Mon Oct 04 17:49:30 2010 +0300 +++ b/src/hbwidgets/widgets/hbdatetimepicker.h Mon Oct 18 18:23:13 2010 +0300 @@ -93,9 +93,9 @@ enum { Type = Hb::ItemType_DateTimePicker }; int type() const { return Type; } - QGraphicsItem *primitive(HbStyle::Primitive primitive) const; + void setGeometry(const QRectF &rect); - void setGeometry(const QRectF &rect); + QGraphicsItem *primitive(const QString &itemName) const; public slots: void setDate(const QDate &date); @@ -111,6 +111,7 @@ protected: HbDateTimePicker(HbDateTimePickerPrivate &dd, QGraphicsItem *parent = 0); bool event(QEvent *e); + void initPrimitiveData(HbStylePrimitiveData *primitiveData, const QGraphicsObject *primitive); private: Q_DISABLE_COPY(HbDateTimePicker)