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
4f3d710f
Commit
4f3d710f
authored
Sep 08, 2020
by
Laurent Montel
😁
Browse files
Const'ify
parent
2107f115
Pipeline
#33483
passed with stage
in 59 minutes and 3 seconds
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/configuredialog/configagentdelegate.cpp
View file @
4f3d710f
...
...
@@ -36,8 +36,8 @@ struct Icons {
{
}
QPixmap
readyPixmap
,
syncPixmap
,
errorPixmap
,
offlinePixmap
;
QIcon
checkMailIcon
;
const
QPixmap
readyPixmap
,
syncPixmap
,
errorPixmap
,
offlinePixmap
;
const
QIcon
checkMailIcon
;
};
Q_GLOBAL_STATIC
(
Icons
,
s_icons
)
...
...
src/dialog/archivefolderdialog.cpp
View file @
4f3d710f
...
...
@@ -36,7 +36,7 @@ using namespace MailCommon;
QString
ArchiveFolderDialog
::
standardArchivePath
(
const
QString
&
folderName
)
{
QString
currentPath
=
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DocumentsLocation
);
QDir
dir
(
currentPath
);
const
QDir
dir
(
currentPath
);
if
(
!
dir
.
exists
())
{
currentPath
=
QDir
::
homePath
();
}
...
...
src/editor/kmcomposerwin.h
View file @
4f3d710f
...
...
@@ -561,8 +561,8 @@ private:
KMime
::
Message
::
Ptr
mMsg
;
QGridLayout
*
mGrid
=
nullptr
;
QString
mTextSelection
;
QString
mCustomTemplate
;
const
QString
mTextSelection
;
const
QString
mCustomTemplate
;
bool
mLastSignActionState
=
false
;
bool
mLastEncryptActionState
=
false
;
bool
mSigningAndEncryptionExplicitlyDisabled
=
false
;
...
...
@@ -576,7 +576,7 @@ private:
QFont
mBodyFont
;
QFont
mFixedFont
;
uint
mId
=
0
;
TemplateContext
mContext
=
NoTemplate
;
const
TemplateContext
mContext
=
NoTemplate
;
KRecentFilesAction
*
mRecentAction
=
nullptr
;
...
...
src/folderarchive/folderarchiveagentcheckcollection.h
View file @
4f3d710f
...
...
@@ -28,7 +28,7 @@ private:
void
slotInitialCollectionFetchingFirstLevelDone
(
KJob
*
job
);
void
slotCreateNewFolder
(
KJob
*
);
void
createNewFolder
(
const
QString
&
name
);
QDate
mCurrentDate
;
const
QDate
mCurrentDate
;
FolderArchiveAccountInfo
*
const
mInfo
;
};
...
...
src/folderarchive/folderarchiveagentjob.h
View file @
4f3d710f
...
...
@@ -30,7 +30,7 @@ private:
void
slotMoveMessages
(
KMMoveCommand
*
);
void
sendError
(
const
QString
&
error
);
Akonadi
::
Item
::
List
mListItem
;
const
Akonadi
::
Item
::
List
mListItem
;
FolderArchiveManager
*
const
mManager
;
FolderArchiveAccountInfo
*
const
mInfo
;
};
...
...
src/foldershortcutactionmanager.h
View file @
4f3d710f
...
...
@@ -38,7 +38,7 @@ Q_SIGNALS:
private:
Q_DISABLE_COPY
(
FolderShortcutCommand
)
Akonadi
::
Collection
mCollectionFolder
;
const
Akonadi
::
Collection
mCollectionFolder
;
QWidget
*
const
mMainWidget
;
QAction
*
mAction
=
nullptr
;
};
...
...
src/job/addressvalidationjob.h
View file @
4f3d710f
...
...
@@ -29,7 +29,7 @@ public:
private:
void
slotAliasExpansionDone
(
KJob
*
);
QString
mEmailAddresses
;
const
QString
mEmailAddresses
;
QString
mDomainDefaultName
;
bool
mIsValid
=
false
;
QWidget
*
const
mParentWidget
;
...
...
src/job/createtaskjob.h
View file @
4f3d710f
...
...
@@ -25,7 +25,7 @@ private:
void
slotModifyItemDone
(
KJob
*
job
);
void
fetchItems
();
Akonadi
::
Item
::
List
mListItem
;
const
Akonadi
::
Item
::
List
mListItem
;
};
#endif // CREATETASKJOB_H
src/job/savedraftjob.h
View file @
4f3d710f
...
...
@@ -24,7 +24,7 @@ public:
private:
void
slotStoreDone
(
KJob
*
job
);
KMime
::
Message
::
Ptr
mMsg
=
nullptr
;
Akonadi
::
Collection
mCollection
;
const
Akonadi
::
Collection
mCollection
;
};
#endif // SAVEDRAFTJOB_H
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