equal
deleted
inserted
replaced
91 int interval(QDateTimeEdit::Section section) const; |
91 int interval(QDateTimeEdit::Section section) const; |
92 |
92 |
93 enum { Type = Hb::ItemType_DateTimePicker }; |
93 enum { Type = Hb::ItemType_DateTimePicker }; |
94 int type() const { return Type; } |
94 int type() const { return Type; } |
95 |
95 |
96 QGraphicsItem *primitive(HbStyle::Primitive primitive) const; |
96 void setGeometry(const QRectF &rect); |
97 |
97 |
98 void setGeometry(const QRectF &rect); |
98 QGraphicsItem *primitive(const QString &itemName) const; |
99 |
99 |
100 public slots: |
100 public slots: |
101 void setDate(const QDate &date); |
101 void setDate(const QDate &date); |
102 void setDateTime(const QDateTime &datetime); |
102 void setDateTime(const QDateTime &datetime); |
103 void setTime(const QTime&); |
103 void setTime(const QTime&); |
109 void timeChanged(const QTime &time); |
109 void timeChanged(const QTime &time); |
110 |
110 |
111 protected: |
111 protected: |
112 HbDateTimePicker(HbDateTimePickerPrivate &dd, QGraphicsItem *parent = 0); |
112 HbDateTimePicker(HbDateTimePickerPrivate &dd, QGraphicsItem *parent = 0); |
113 bool event(QEvent *e); |
113 bool event(QEvent *e); |
|
114 void initPrimitiveData(HbStylePrimitiveData *primitiveData, const QGraphicsObject *primitive); |
114 |
115 |
115 private: |
116 private: |
116 Q_DISABLE_COPY(HbDateTimePicker) |
117 Q_DISABLE_COPY(HbDateTimePicker) |
117 Q_DECLARE_PRIVATE_D(d_ptr, HbDateTimePicker) |
118 Q_DECLARE_PRIVATE_D(d_ptr, HbDateTimePicker) |
118 Q_PRIVATE_SLOT(d_func(), void _q_dayChanged(int index)) |
119 Q_PRIVATE_SLOT(d_func(), void _q_dayChanged(int index)) |