Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KDE Pim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Unmaintained
KDE Pim
Commits
68c4b895
Commit
68c4b895
authored
Nov 24, 2014
by
David Jarvie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spelling
parent
813f7118
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
11 deletions
+11
-11
pimsettingexporter/abstractimportexportjob.cpp
pimsettingexporter/abstractimportexportjob.cpp
+5
-5
pimsettingexporter/addressbook/exportaddressbookjob.cpp
pimsettingexporter/addressbook/exportaddressbookjob.cpp
+1
-1
pimsettingexporter/alarm/exportalarmjob.cpp
pimsettingexporter/alarm/exportalarmjob.cpp
+1
-1
pimsettingexporter/calendar/exportcalendarjob.cpp
pimsettingexporter/calendar/exportcalendarjob.cpp
+1
-1
pimsettingexporter/jot/exportjotjob.cpp
pimsettingexporter/jot/exportjotjob.cpp
+1
-1
pimsettingexporter/mail/exportmailjob.cpp
pimsettingexporter/mail/exportmailjob.cpp
+1
-1
pimsettingexporter/notes/exportnotesjob.cpp
pimsettingexporter/notes/exportnotesjob.cpp
+1
-1
No files found.
pimsettingexporter/abstractimportexportjob.cpp
View file @
68c4b895
...
...
@@ -269,7 +269,7 @@ void AbstractImportExportJob::backupResourceDirectory(const Akonadi::AgentInstan
const
QString
errorStr
=
Utils
::
storeResources
(
archive
(),
identifier
,
archivePath
);
if
(
!
errorStr
.
isEmpty
())
Q_EMIT
error
(
errorStr
);
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
uped
."
,
filename
));
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
ed up
."
,
filename
));
url
=
Utils
::
akonadiAgentConfigPath
(
identifier
);
if
(
!
url
.
isEmpty
())
{
...
...
@@ -278,7 +278,7 @@ void AbstractImportExportJob::backupResourceDirectory(const Akonadi::AgentInstan
if
(
QDir
(
url
.
path
()).
exists
())
{
const
bool
fileAdded
=
archive
()
->
addLocalFile
(
url
.
path
(),
archivePath
+
filename
);
if
(
fileAdded
)
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
uped
."
,
filename
));
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
ed up
."
,
filename
));
else
Q_EMIT
error
(
i18n
(
"
\"
%1
\"
file cannot be added to backup file."
,
filename
));
}
...
...
@@ -306,14 +306,14 @@ void AbstractImportExportJob::backupResourceFile(const Akonadi::AgentInstance &a
const
QString
errorStr
=
Utils
::
storeResources
(
archive
(),
identifier
,
archivePath
);
if
(
!
errorStr
.
isEmpty
())
Q_EMIT
error
(
errorStr
);
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
uped
."
,
filename
));
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
ed up
."
,
filename
));
url
=
Utils
::
akonadiAgentConfigPath
(
identifier
);
if
(
!
url
.
isEmpty
())
{
filename
=
url
.
fileName
();
const
bool
fileAdded
=
archive
()
->
addLocalFile
(
url
.
path
(),
archivePath
+
filename
);
if
(
fileAdded
)
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
uped
."
,
filename
));
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
ed up
."
,
filename
));
else
Q_EMIT
error
(
i18n
(
"
\"
%1
\"
file cannot be added to backup file."
,
filename
));
}
...
...
@@ -449,7 +449,7 @@ bool AbstractImportExportJob::backupFullDirectory(const KUrl &url, const QString
const
bool
fileAdded
=
archive
()
->
addLocalFile
(
tmp
.
fileName
(),
archivePath
+
archivename
);
if
(
fileAdded
)
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
uped
."
,
filename
));
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
ed up
."
,
filename
));
else
Q_EMIT
error
(
i18n
(
"
\"
%1
\"
file cannot be added to backup file."
,
filename
));
...
...
pimsettingexporter/addressbook/exportaddressbookjob.cpp
View file @
68c4b895
...
...
@@ -88,7 +88,7 @@ void ExportAddressbookJob::backupResources()
const
QString
filename
=
url
.
fileName
();
const
bool
fileAdded
=
archive
()
->
addLocalFile
(
url
.
path
(),
archivePath
+
filename
);
if
(
fileAdded
)
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
uped
."
,
filename
));
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
ed up
."
,
filename
));
else
Q_EMIT
error
(
i18n
(
"
\"
%1
\"
file cannot be added to backup file."
,
filename
));
}
...
...
pimsettingexporter/alarm/exportalarmjob.cpp
View file @
68c4b895
...
...
@@ -91,7 +91,7 @@ void ExportAlarmJob::backupResources()
const
QString
filename
=
url
.
fileName
();
const
bool
fileAdded
=
archive
()
->
addLocalFile
(
url
.
path
(),
archivePath
+
filename
);
if
(
fileAdded
)
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
uped
."
,
filename
));
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
ed up
."
,
filename
));
else
Q_EMIT
error
(
i18n
(
"
\"
%1
\"
file cannot be added to backup file."
,
filename
));
}
...
...
pimsettingexporter/calendar/exportcalendarjob.cpp
View file @
68c4b895
...
...
@@ -94,7 +94,7 @@ void ExportCalendarJob::backupResources()
const
QString
filename
=
url
.
fileName
();
const
bool
fileAdded
=
archive
()
->
addLocalFile
(
url
.
path
(),
archivePath
+
filename
);
if
(
fileAdded
)
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
uped
."
,
filename
));
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
ed up
."
,
filename
));
else
Q_EMIT
error
(
i18n
(
"
\"
%1
\"
file cannot be added to backup file."
,
filename
));
}
...
...
pimsettingexporter/jot/exportjotjob.cpp
View file @
68c4b895
...
...
@@ -87,7 +87,7 @@ void ExportJotJob::backupResources()
const
QString
filename
=
url
.
fileName
();
const
bool
fileAdded
=
archive
()
->
addLocalFile
(
url
.
path
(),
archivePath
+
filename
);
if
(
fileAdded
)
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
uped
."
,
filename
));
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
ed up
."
,
filename
));
else
Q_EMIT
error
(
i18n
(
"
\"
%1
\"
file cannot be added to backup file."
,
filename
));
}
...
...
pimsettingexporter/mail/exportmailjob.cpp
View file @
68c4b895
...
...
@@ -486,7 +486,7 @@ void ExportMailJob::backupMails()
const
QString
filename
=
url
.
fileName
();
const
bool
fileAdded
=
archive
()
->
addLocalFile
(
url
.
path
(),
archivePath
+
filename
);
if
(
fileAdded
)
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
uped
."
,
filename
));
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
ed up
."
,
filename
));
else
Q_EMIT
error
(
i18n
(
"
\"
%1
\"
file cannot be added to backup file."
,
filename
));
}
...
...
pimsettingexporter/notes/exportnotesjob.cpp
View file @
68c4b895
...
...
@@ -138,7 +138,7 @@ void ExportNotesJob::backupData()
const
QString
filename
=
url
.
fileName
();
const
bool
fileAdded
=
archive
()
->
addLocalFile
(
url
.
path
(),
archivePath
+
filename
);
if
(
fileAdded
)
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
uped
."
,
filename
));
Q_EMIT
info
(
i18n
(
"
\"
%1
\"
was back
ed up
."
,
filename
));
else
Q_EMIT
error
(
i18n
(
"
\"
%1
\"
file cannot be added to backup file."
,
filename
));
}
...
...
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