Changeset View
Changeset View
Standalone View
Standalone View
src/editors/dateedit.cpp
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Line(s) | 56 | { | |||
---|---|---|---|---|---|
57 | blockSignals(true); | 57 | blockSignals(true); | ||
58 | setDate(value.toDate()); | 58 | setDate(value.toDate()); | ||
59 | blockSignals(false); | 59 | blockSignals(false); | ||
60 | } | 60 | } | ||
61 | 61 | | |||
62 | void KPropertyDateEditor::paintEvent(QPaintEvent* event) | 62 | void KPropertyDateEditor::paintEvent(QPaintEvent* event) | ||
63 | { | 63 | { | ||
64 | QDateEdit::paintEvent(event); | 64 | QDateEdit::paintEvent(event); | ||
65 | KPropertyFactory::paintTopGridLine(this); | 65 | KPropertyWidgetsFactory::paintTopGridLine(this); | ||
66 | } | 66 | } | ||
67 | 67 | | |||
68 | 68 | | |||
69 | void KPropertyDateEditor::onDateChanged() | 69 | void KPropertyDateEditor::onDateChanged() | ||
70 | { | 70 | { | ||
71 | emit commitData(this); | 71 | emit commitData(this); | ||
72 | } | 72 | } | ||
73 | 73 | | |||
Show All 25 Lines |