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
KMail
Commits
74898d93
Commit
74898d93
authored
Apr 16, 2021
by
Laurent Montel
😁
Browse files
Fix some clazy warning
parent
be6d3105
Pipeline
#58220
passed with stage
in 23 minutes and 51 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
agents/archivemailagent/archivemailinfo.cpp
View file @
74898d93
...
...
@@ -130,7 +130,7 @@ MailCommon::BackupJob::ArchiveType ArchiveMailInfo::archiveType() const
return
mArchiveType
;
}
void
ArchiveMailInfo
::
setLastDateSaved
(
const
QDate
&
date
)
void
ArchiveMailInfo
::
setLastDateSaved
(
QDate
date
)
{
mLastDateSaved
=
date
;
}
...
...
agents/archivemailagent/archivemailinfo.h
View file @
74898d93
...
...
@@ -48,7 +48,7 @@ public:
void
setArchiveAge
(
int
age
);
Q_REQUIRED_RESULT
int
archiveAge
()
const
;
void
setLastDateSaved
(
const
QDate
&
date
);
void
setLastDateSaved
(
QDate
date
);
Q_REQUIRED_RESULT
QDate
lastDateSaved
()
const
;
Q_REQUIRED_RESULT
int
maximumArchiveCount
()
const
;
...
...
agents/followupreminderagent/followupreminderagent.cpp
View file @
74898d93
...
...
@@ -106,7 +106,7 @@ void FollowUpReminderAgent::addReminder(const QString &messageId,
Akonadi
::
Item
::
Id
messageItemId
,
const
QString
&
to
,
const
QString
&
subject
,
const
QDate
&
followupDate
,
QDate
followupDate
,
Akonadi
::
Item
::
Id
todoId
)
{
auto
info
=
new
FollowUpReminder
::
FollowUpReminderInfo
();
...
...
agents/followupreminderagent/followupreminderagent.h
View file @
74898d93
...
...
@@ -7,6 +7,7 @@
#pragma once
#include <AkonadiAgentBase/agentbase.h>
#include <QDate>
class
FollowUpReminderManager
;
class
FollowUpReminderAgent
:
public
Akonadi
::
AgentBase
,
public
Akonadi
::
AgentBase
::
ObserverV3
{
...
...
@@ -26,7 +27,7 @@ public Q_SLOTS:
Akonadi
::
Item
::
Id
messageItemId
,
const
QString
&
to
,
const
QString
&
subject
,
const
QDate
&
followupDate
,
QDate
followupDate
,
Akonadi
::
Item
::
Id
todoId
);
protected:
...
...
src/kontactplugin/summary/summaryview_part.cpp
View file @
74898d93
...
...
@@ -393,7 +393,7 @@ void SummaryViewPart::slotAdjustPalette()
}
}
void
SummaryViewPart
::
setDate
(
const
QDate
&
newDate
)
void
SummaryViewPart
::
setDate
(
QDate
newDate
)
{
QString
date
(
QStringLiteral
(
"<b>%1</b>"
));
date
=
date
.
arg
(
QLocale
().
toString
(
newDate
));
...
...
src/kontactplugin/summary/summaryview_part.h
View file @
74898d93
...
...
@@ -11,6 +11,7 @@
#pragma once
#include <KParts/Part>
#include <QDate>
#include <QMap>
class
DropWidget
;
...
...
@@ -39,7 +40,7 @@ public:
public
Q_SLOTS
:
void
slotTextChanged
();
void
slotAdjustPalette
();
void
setDate
(
const
QDate
&
newDate
);
void
setDate
(
QDate
newDate
);
void
updateSummaries
();
Q_SIGNALS:
...
...
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