Changeset View
Changeset View
Standalone View
Standalone View
src/editors/timeedit.cpp
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 54 | { | |||
---|---|---|---|---|---|
55 | blockSignals(true); | 55 | blockSignals(true); | ||
56 | setTime(value.toTime()); | 56 | setTime(value.toTime()); | ||
57 | blockSignals(false); | 57 | blockSignals(false); | ||
58 | } | 58 | } | ||
59 | 59 | | |||
60 | void KPropertyTimeEditor::paintEvent(QPaintEvent* event) | 60 | void KPropertyTimeEditor::paintEvent(QPaintEvent* event) | ||
61 | { | 61 | { | ||
62 | QTimeEdit::paintEvent(event); | 62 | QTimeEdit::paintEvent(event); | ||
63 | KPropertyFactory::paintTopGridLine(this); | 63 | KPropertyWidgetsFactory::paintTopGridLine(this); | ||
64 | } | 64 | } | ||
65 | 65 | | |||
66 | 66 | | |||
67 | void KPropertyTimeEditor::onTimeChanged() | 67 | void KPropertyTimeEditor::onTimeChanged() | ||
68 | { | 68 | { | ||
69 | emit commitData(this); | 69 | emit commitData(this); | ||
70 | } | 70 | } | ||
71 | 71 | | |||
Show All 25 Lines |