Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KDE PIM Add-ons
Commits
da194d7c
Commit
da194d7c
authored
Oct 05, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
const'ify
parent
47295e05
Pipeline
#36489
failed with stage
in 66 minutes and 48 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
7 deletions
+11
-7
kaddressbook/importexportplugins/csv/import/dateparser.cpp
kaddressbook/importexportplugins/csv/import/dateparser.cpp
+6
-2
kaddressbook/importexportplugins/csv/import/qcsvreader.cpp
kaddressbook/importexportplugins/csv/import/qcsvreader.cpp
+1
-1
kaddressbook/importexportplugins/csv/import/templateselectiondialog.cpp
...mportexportplugins/csv/import/templateselectiondialog.cpp
+1
-1
kaddressbook/plugins/mergelib/job/searchpotentialduplicatecontactjob.cpp
...ugins/mergelib/job/searchpotentialduplicatecontactjob.cpp
+1
-1
kaddressbook/plugins/sendmail/mailsenderjob.h
kaddressbook/plugins/sendmail/mailsenderjob.h
+1
-1
kaddressbook/plugins/sendvcards/sendvcardsjob.h
kaddressbook/plugins/sendvcards/sendvcardsjob.h
+1
-1
No files found.
kaddressbook/importexportplugins/csv/import/dateparser.cpp
View file @
da194d7c
...
...
@@ -18,8 +18,12 @@ DateParser::~DateParser()
QDateTime
DateParser
::
parse
(
const
QString
&
dateStr
)
const
{
int
year
,
month
,
day
,
hour
,
minute
,
second
;
year
=
month
=
day
=
hour
=
minute
=
second
=
0
;
int
year
=
0
;
int
month
=
0
;
int
day
=
0
;
int
hour
=
0
;
int
minute
=
0
;
int
second
=
0
;
int
currPos
=
0
;
for
(
int
i
=
0
;
i
<
mPattern
.
length
();
++
i
)
{
...
...
kaddressbook/importexportplugins/csv/import/qcsvreader.cpp
View file @
da194d7c
...
...
@@ -21,8 +21,8 @@ class QCsvReader::Private
public:
Private
(
QCsvBuilderInterface
*
builder
)
:
mBuilder
(
builder
)
,
mCodec
(
QTextCodec
::
codecForLocale
())
{
mCodec
=
QTextCodec
::
codecForLocale
();
}
void
emitBeginLine
(
uint
row
);
...
...
kaddressbook/importexportplugins/csv/import/templateselectiondialog.cpp
View file @
da194d7c
...
...
@@ -191,7 +191,7 @@ public:
}
private:
QIcon
mIcon
;
const
QIcon
mIcon
;
};
TemplateSelectionDialog
::
TemplateSelectionDialog
(
QWidget
*
parent
)
...
...
kaddressbook/plugins/mergelib/job/searchpotentialduplicatecontactjob.cpp
View file @
da194d7c
...
...
@@ -42,7 +42,7 @@ Akonadi::Item::List SearchPotentialDuplicateContactJob::checkList(const Akonadi:
Akonadi
::
Item
::
List
notDuplicate
;
Akonadi
::
Item
::
List
lst
;
if
(
!
lstItem
.
isEmpty
())
{
Akonadi
::
Item
firstItem
=
lstItem
.
at
(
0
);
const
Akonadi
::
Item
firstItem
=
lstItem
.
at
(
0
);
const
int
numberOfItems
(
lstItem
.
count
());
for
(
int
j
=
1
;
j
<
numberOfItems
;
++
j
)
{
const
Akonadi
::
Item
nextItem
=
lstItem
.
at
(
j
);
...
...
kaddressbook/plugins/sendmail/mailsenderjob.h
View file @
da194d7c
...
...
@@ -35,7 +35,7 @@ private:
void
finishJob
();
void
fetchItem
(
const
Akonadi
::
Item
&
item
);
void
fetchNextItem
();
Akonadi
::
Item
::
List
mListItem
;
const
Akonadi
::
Item
::
List
mListItem
;
Akonadi
::
Item
::
List
mItemToFetch
;
QStringList
mEmailAddresses
;
int
mFetchJobCount
=
0
;
...
...
kaddressbook/plugins/sendvcards/sendvcardsjob.h
View file @
da194d7c
...
...
@@ -35,7 +35,7 @@ private:
void
createTemporaryFile
(
const
QByteArray
&
data
,
const
QString
&
filename
);
void
createTemporaryDir
();
void
jobFinished
();
Akonadi
::
Item
::
List
mListItem
;
const
Akonadi
::
Item
::
List
mListItem
;
MimeTreeParser
::
AttachmentTemporaryFilesDirs
*
mAttachmentTemporary
=
nullptr
;
QTemporaryDir
*
mTempDir
=
nullptr
;
KContacts
::
VCardConverter
::
Version
mVersion
=
KContacts
::
VCardConverter
::
v3_0
;
...
...
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