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
PIM Data Exporter
Commits
d47c5980
Commit
d47c5980
authored
Sep 09, 2020
by
Laurent Montel
😁
Browse files
Modernize code
parent
f762f5c8
Pipeline
#33698
passed with stage
in 43 minutes and 21 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
console/pimdataexporterconsole.h
View file @
d47c5980
...
...
@@ -52,9 +52,9 @@ private:
void
closeLogFile
();
QString
mTemplateFileName
;
QString
mImportExportFileName
;
PimDataBackupRestore
*
mPimDataBackupRestore
=
nullptr
;
PimDataBackupRestore
*
const
mPimDataBackupRestore
;
LogInFile
*
mLogInFile
=
nullptr
;
LogInfo
*
mLogInfo
=
nullptr
;
LogInfo
*
const
mLogInfo
;
Mode
mMode
=
Import
;
bool
mInProgress
=
false
;
};
...
...
core/abstractimportexportjob.h
View file @
d47c5980
...
...
@@ -106,11 +106,11 @@ protected:
QVector
<
ResourceFiles
>
mListResourceFile
;
QString
mTempDirName
;
Utils
::
StoredTypes
mTypeSelected
;
ArchiveStorage
*
mArchiveStorage
=
nullptr
;
const
Utils
::
StoredTypes
mTypeSelected
;
ArchiveStorage
*
const
mArchiveStorage
;
QTemporaryDir
*
mTempDir
=
nullptr
;
const
KArchiveDirectory
*
mArchiveDirectory
=
nullptr
;
int
mNumberOfStep
=
-
1
;
const
int
mNumberOfStep
=
-
1
;
PimCommon
::
CreateResource
*
mCreateResource
=
nullptr
;
QStringList
mAgentPaths
;
QVector
<
Utils
::
StoredType
>
mListStep
;
...
...
core/mail/exportmailjobinterfaceimpl.h
View file @
d47c5980
...
...
@@ -40,7 +40,7 @@ protected:
void
exportFilters
()
override
;
Q_REQUIRED_RESULT
QVector
<
uint
>
listIdentityUoid
()
const
override
;
private:
KIdentityManagement
::
IdentityManager
*
mIdentityManager
=
nullptr
;
KIdentityManagement
::
IdentityManager
*
const
mIdentityManager
;
};
#endif // ExportMailJob_H
core/mail/importmailjobinterfaceimpl.h
View file @
d47c5980
...
...
@@ -43,7 +43,7 @@ protected:
Q_REQUIRED_RESULT
QString
configLocation
()
const
override
;
private:
Q_REQUIRED_RESULT
QString
uniqueIdentityName
(
const
QString
&
name
);
KIdentityManagement
::
IdentityManager
*
mIdentityManager
=
nullptr
;
KIdentityManagement
::
IdentityManager
*
const
mIdentityManager
;
};
#endif // ImportMailJob_H
core/pimdatabackupthread.h
View file @
d47c5980
...
...
@@ -25,10 +25,10 @@ protected:
void
run
()
override
;
private:
QString
mUrl
;
QString
mArchivePath
;
QString
mArchiveName
;
KZip
*
mZip
=
nullptr
;
const
QString
mUrl
;
const
QString
mArchivePath
;
const
QString
mArchiveName
;
KZip
*
const
mZip
;
};
#endif // PIMDATABACKUPTHREAD_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