Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KAlarm
Commits
bf485f1a
Commit
bf485f1a
authored
Sep 03, 2011
by
David Jarvie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move KAEvent private stuff into the .cpp file, remove inlined methods
parent
28562603
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4445 additions
and
3047 deletions
+4445
-3047
cal/kacalendar.cpp
cal/kacalendar.cpp
+5
-3
cal/kaevent.cpp
cal/kaevent.cpp
+3520
-2521
cal/kaevent.h
cal/kaevent.h
+920
-523
No files found.
cal/kacalendar.cpp
View file @
bf485f1a
...
...
@@ -136,16 +136,18 @@ int Calendar::updateVersion(CalendarLocal& calendar, const QString& localFile, Q
// KAlarm version 0.5.7 - check whether times are stored in UTC, in which
// case it is the KDE 3.0.0 version, which needs adjustment of summer times.
version057_UTC
=
isUTC
(
localFile
);
kDebug
()
<<
"KAlarm version 0.5.7 ("
<<
(
version057_UTC
?
""
:
"non-"
)
<<
"UTC)"
;
if
(
isUTC
(
localFile
))
version
=
-
version
;
kDebug
()
<<
"KAlarm version 0.5.7 ("
<<
(
version
<
0
?
""
:
"non-"
)
<<
"UTC)"
;
}
else
kDebug
()
<<
"KAlarm version"
<<
version
;
// Convert events to current KAlarm format for when/if the calendar is saved
#ifdef USE_AKONADI
KAEvent
::
convertKCalEvents
(
fileStorage
->
calendar
(),
version
,
version057_UTC
);
KAEvent
::
convertKCalEvents
(
fileStorage
->
calendar
(),
version
);
#else
KAEvent
::
convertKCalEvents
(
calendar
,
version
,
version057_UTC
);
KAEvent
::
convertKCalEvents
(
calendar
,
version
);
#endif
return
version
;
}
...
...
cal/kaevent.cpp
View file @
bf485f1a
This diff is collapsed.
Click to expand it.
cal/kaevent.h
View file @
bf485f1a
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment