Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail
Commits
ae78a89a
Commit
ae78a89a
authored
Sep 05, 2022
by
Laurent Montel
Browse files
Use const'ref here
parent
a07091bb
Pipeline
#227667
passed with stage
in 10 minutes and 36 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
agents/followupreminderagent/followupreminderutil.cpp
View file @
ae78a89a
...
...
@@ -54,7 +54,7 @@ KSharedConfig::Ptr FollowUpReminder::FollowUpReminderUtil::defaultConfig()
return
KSharedConfig
::
openConfig
(
QStringLiteral
(
"akonadi_followupreminder_agentrc"
),
KConfig
::
SimpleConfig
);
}
void
FollowUpReminder
::
FollowUpReminderUtil
::
writeFollowupReminderInfo
(
KSharedConfig
::
Ptr
config
,
void
FollowUpReminder
::
FollowUpReminderUtil
::
writeFollowupReminderInfo
(
const
KSharedConfig
::
Ptr
&
config
,
FollowUpReminder
::
FollowUpReminderInfo
*
info
,
bool
forceReload
)
{
...
...
@@ -90,7 +90,7 @@ void FollowUpReminder::FollowUpReminderUtil::writeFollowupReminderInfo(KSharedCo
}
}
bool
FollowUpReminder
::
FollowUpReminderUtil
::
removeFollowupReminderInfo
(
KSharedConfig
::
Ptr
config
,
const
QList
<
qint32
>
&
listRemove
,
bool
forceReload
)
bool
FollowUpReminder
::
FollowUpReminderUtil
::
removeFollowupReminderInfo
(
const
KSharedConfig
::
Ptr
&
config
,
const
QList
<
qint32
>
&
listRemove
,
bool
forceReload
)
{
if
(
listRemove
.
isEmpty
())
{
return
false
;
...
...
agents/followupreminderagent/followupreminderutil.h
View file @
ae78a89a
...
...
@@ -25,9 +25,9 @@ void forceReparseConfiguration();
Q_REQUIRED_RESULT
KSharedConfig
::
Ptr
defaultConfig
();
void
writeFollowupReminderInfo
(
KSharedConfig
::
Ptr
config
,
FollowUpReminder
::
FollowUpReminderInfo
*
info
,
bool
forceReload
);
void
writeFollowupReminderInfo
(
const
KSharedConfig
::
Ptr
&
config
,
FollowUpReminder
::
FollowUpReminderInfo
*
info
,
bool
forceReload
);
Q_REQUIRED_RESULT
bool
removeFollowupReminderInfo
(
KSharedConfig
::
Ptr
config
,
const
QList
<
qint32
>
&
listRemove
,
bool
forceReload
=
false
);
Q_REQUIRED_RESULT
bool
removeFollowupReminderInfo
(
const
KSharedConfig
::
Ptr
&
config
,
const
QList
<
qint32
>
&
listRemove
,
bool
forceReload
=
false
);
Q_REQUIRED_RESULT
QString
followUpReminderPattern
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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