Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KAlarm
Commits
ad019ce9
Commit
ad019ce9
authored
Mar 22, 2019
by
David Jarvie
Browse files
Minor comment fixes
parent
73792f82
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/kaevent.cpp
View file @
ad019ce9
...
...
@@ -1548,6 +1548,7 @@ Alarm::Ptr KAEventPrivate::initKCalAlarm(const KCalCore::Event::Ptr &event, int
if
(
mRepetition
)
alarm
->
setCustomProperty
(
KACalendar
::
APPNAME
,
NEXT_REPEAT_PROPERTY
,
QString
::
number
(
mNextRepeat
));
// fall through to INVALID_ALARM
Q_FALLTHROUGH
();
case
REMINDER_ALARM
:
case
INVALID_ALARM
:
{
...
...
src/kaevent.h
View file @
ad019ce9
...
...
@@ -636,8 +636,8 @@ public:
QString
emailAddresses
(
const
QString
&
sep
)
const
;
/** Concatenate a list of email addresses into a string.
* @param addresses
the
addresses
.
* @param sep separator string to insert between addresses
.
* @param addresses
list of email
addresses
* @param sep
separator string to insert between addresses
*/
static
QString
joinEmailAddresses
(
const
KCalCore
::
Person
::
List
&
addresses
,
const
QString
&
sep
);
/** Return the list of email addressees, excluding names, for an email alarm. */
...
...
@@ -1160,8 +1160,8 @@ public:
/** Get the date/time of the next occurrence of the event, after the specified
* date/time.
* @param preDateTime the specified date/time.
* @param result date/time of next occurrence, or invalid date/time if none.
* @param option how/whether to make allowance for sub-repetitions.
* @param result
date/time of next occurrence, or invalid date/time if none.
* @param option
how/whether to make allowance for sub-repetitions.
* @see nextRepetition(), setNextOccurrence(), previousOccurrence(), occursAfter()
*/
OccurType
nextOccurrence
(
const
KADateTime
&
preDateTime
,
DateTime
&
result
,
OccurOption
option
=
IGNORE_REPETITION
)
const
;
...
...
src/karecurrence.cpp
View file @
ad019ce9
...
...
@@ -335,8 +335,8 @@ void KARecurrence::Private::fix()
// Convert an hourly recurrence to a minutely one
rrule
->
setRecurrenceType
(
RecurrenceRule
::
rMinutely
);
rrule
->
setFrequency
(
rrule
->
frequency
()
*
60
);
// fall through to rMinutely
Q_FALLTHROUGH
();
// fall through to rMinutely
case
Recurrence
::
rMinutely
:
case
Recurrence
::
rDaily
:
case
Recurrence
::
rWeekly
:
...
...
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