Changeset View
Changeset View
Standalone View
Standalone View
resources/kolab/pimkolab/kolabformatV2/event.cpp
Show First 20 Lines • Show All 96 Lines • ▼ Show 20 Line(s) | 92 | { | |||
---|---|---|---|---|---|
97 | } | 97 | } | ||
98 | mFloatingStatus = AllDay; | 98 | mFloatingStatus = AllDay; | ||
99 | } | 99 | } | ||
100 | 100 | | |||
101 | void Event::setEndDate(const QString &endDate) | 101 | void Event::setEndDate(const QString &endDate) | ||
102 | { | 102 | { | ||
103 | if (endDate.length() > 10) { | 103 | if (endDate.length() > 10) { | ||
104 | // This is a date + time | 104 | // This is a date + time | ||
105 | setEndDate(stringToDateTime(endDate)); | 105 | setEndDate(stringToKDateTime(endDate)); | ||
106 | } else { | 106 | } else { | ||
107 | // This is only a date | 107 | // This is only a date | ||
108 | setEndDate(stringToDate(endDate)); | 108 | setEndDate(stringToDate(endDate)); | ||
109 | } | 109 | } | ||
110 | } | 110 | } | ||
111 | 111 | | |||
112 | KDateTime Event::endDate() const | 112 | KDateTime Event::endDate() const | ||
113 | { | 113 | { | ||
▲ Show 20 Lines • Show All 117 Lines • Show Last 20 Lines |