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
Mail-related libraries
Commits
86b9cbf8
Commit
86b9cbf8
authored
Oct 25, 2019
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to debug sendlaterinfo
parent
97f1836c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
CMakeLists.txt
CMakeLists.txt
+1
-1
libsendlater/src/sendlaterinfo.cpp
libsendlater/src/sendlaterinfo.cpp
+13
-0
libsendlater/src/sendlaterinfo.h
libsendlater/src/sendlaterinfo.h
+1
-1
No files found.
CMakeLists.txt
View file @
86b9cbf8
cmake_minimum_required
(
VERSION 3.5
)
set
(
PIM_VERSION
"5.12.4
2
"
)
set
(
PIM_VERSION
"5.12.4
3
"
)
project
(
kdepim-apps-lib VERSION
${
PIM_VERSION
}
)
set
(
KF5_MIN_VERSION
"5.63.0"
)
...
...
libsendlater/src/sendlaterinfo.cpp
View file @
86b9cbf8
...
...
@@ -173,3 +173,16 @@ void SendLaterInfo::writeConfig(KConfigGroup &config)
config
.
writeEntry
(
"to"
,
mTo
);
config
.
sync
();
}
QDebug
operator
<<
(
QDebug
d
,
const
SendLaterInfo
&
info
)
{
d
<<
"mTo: "
<<
info
.
to
();
d
<<
"mSubject: "
<<
info
.
subject
();
d
<<
"mDateTime: "
<<
info
.
dateTime
().
toString
();
d
<<
"mLastDateTimeSend: "
<<
info
.
lastDateTimeSend
().
toString
();
d
<<
"mId: "
<<
info
.
itemId
();
d
<<
"mRecurrenceEachValue: "
<<
info
.
recurrenceEachValue
();
d
<<
"mRecurrenceUnit: "
<<
info
.
recurrenceUnit
();
d
<<
"mRecurrence: "
<<
info
.
isRecurrence
();
return
d
;
}
libsendlater/src/sendlaterinfo.h
View file @
86b9cbf8
...
...
@@ -86,5 +86,5 @@ private:
bool
mRecurrence
=
false
;
};
}
SENDLATER_EXPORT
QDebug
operator
<<
(
QDebug
debug
,
const
SendLater
::
SendLaterInfo
&
info
);
#endif // SENDLATERINFO_H
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