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
KMbox
Commits
03ae075b
Commit
03ae075b
authored
Sep 04, 2020
by
Laurent Montel
😁
Browse files
Modernize code
parent
23f7604b
Pipeline
#33083
passed with stage
in 7 minutes and 9 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/mbox_p.cpp
View file @
03ae075b
...
...
@@ -13,12 +13,9 @@
using
namespace
KMBox
;
MBoxPrivate
::
MBoxPrivate
(
MBox
*
mbox
)
:
mInitialMboxFileSize
(
0
)
,
mMBox
(
mbox
)
:
mMBox
(
mbox
)
,
mSeparatorMatcher
(
QStringLiteral
(
"^From .*[0-9][0-9]:[0-9][0-9]"
))
,
mLockType
(
MBox
::
None
)
,
mFileLocked
(
false
)
,
mReadOnly
(
false
)
{
connect
(
&
mUnlockTimer
,
&
QTimer
::
timeout
,
this
,
&
MBoxPrivate
::
unlockMBox
);
}
...
...
src/mbox_p.h
View file @
03ae075b
...
...
@@ -41,7 +41,7 @@ public:
MBoxEntry
::
List
mEntries
;
quint64
mInitialMboxFileSize
=
0
;
QString
mLockFileName
;
MBox
*
mMBox
=
nullptr
;
MBox
*
const
mMBox
;
QFile
mMboxFile
;
QTimer
mUnlockTimer
;
QRegExp
mSeparatorMatcher
;
...
...
Write
Preview
Supports
Markdown
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