author | zautrix <zautrix> | 2005-11-25 23:24:37 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-11-25 23:24:37 (UTC) |
commit | 3cd0013c04172b312ee21e80224a3b7734b4d413 (patch) (unidiff) | |
tree | 9c5557ecfe874a8a4901a674c5eddcc91f585b0c /libkcal/incidencebase.cpp | |
parent | 0e18027f386280bf427ef9d0ffec61a5516cebda (diff) | |
download | kdepimpi-3cd0013c04172b312ee21e80224a3b7734b4d413.zip kdepimpi-3cd0013c04172b312ee21e80224a3b7734b4d413.tar.gz kdepimpi-3cd0013c04172b312ee21e80224a3b7734b4d413.tar.bz2 |
sync
-rw-r--r-- | libkcal/incidencebase.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libkcal/incidencebase.cpp b/libkcal/incidencebase.cpp index cfef973..56c0560 100644 --- a/libkcal/incidencebase.cpp +++ b/libkcal/incidencebase.cpp | |||
@@ -139,32 +139,39 @@ QDateTime IncidenceBase::getEvenTime( QDateTime dt ) | |||
139 | QTime t = dt.time(); | 139 | QTime t = dt.time(); |
140 | dt.setTime( QTime (t.hour (), t.minute (), t.second () ) ); | 140 | dt.setTime( QTime (t.hour (), t.minute (), t.second () ) ); |
141 | return dt; | 141 | return dt; |
142 | } | 142 | } |
143 | 143 | ||
144 | bool IncidenceBase::isTagged() const | 144 | bool IncidenceBase::isTagged() const |
145 | { | 145 | { |
146 | return mIsTagged; | 146 | return mIsTagged; |
147 | } | 147 | } |
148 | void IncidenceBase::setTagged( bool b) | 148 | void IncidenceBase::setTagged( bool b) |
149 | { | 149 | { |
150 | mIsTagged = b; | 150 | mIsTagged = b; |
151 | } | 151 | } |
152 | void IncidenceBase::setCalID( int id ) | 152 | void IncidenceBase::setCalID( int id ) |
153 | { | 153 | { |
154 | if ( mCalID > 0 ) { | 154 | if ( mCalID > 0 ) { |
155 | updated(); | ||
156 | } | ||
157 | mCalID = id; | ||
158 | } | ||
159 | void IncidenceBase::setCalID_block( int id ) | ||
160 | { | ||
161 | if ( mCalID > 0 ) { | ||
155 | blockLastModified = true; | 162 | blockLastModified = true; |
156 | updated(); | 163 | updated(); |
157 | blockLastModified = false; | 164 | blockLastModified = false; |
158 | } | 165 | } |
159 | mCalID = id; | 166 | mCalID = id; |
160 | } | 167 | } |
161 | int IncidenceBase::calID() const | 168 | int IncidenceBase::calID() const |
162 | { | 169 | { |
163 | return mCalID; | 170 | return mCalID; |
164 | } | 171 | } |
165 | void IncidenceBase::setCalEnabled( bool b ) | 172 | void IncidenceBase::setCalEnabled( bool b ) |
166 | { | 173 | { |
167 | mCalEnabled = b; | 174 | mCalEnabled = b; |
168 | } | 175 | } |
169 | bool IncidenceBase::calEnabled() const | 176 | bool IncidenceBase::calEnabled() const |
170 | { | 177 | { |