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
P
PIM Data Exporter
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
PIM
PIM Data Exporter
Commits
93441618
Commit
93441618
authored
Nov 04, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GIT_SILENT: coding style
parent
67e985a2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
25 deletions
+23
-25
core/exportresourcearchivejob.h
core/exportresourcearchivejob.h
+0
-1
gui/dialog/synchronizeresourcedialog.h
gui/dialog/synchronizeresourcedialog.h
+0
-1
gui/pimsettingexporterwindow.cpp
gui/pimsettingexporterwindow.cpp
+14
-14
gui/pimsettingexporterwindow.h
gui/pimsettingexporterwindow.h
+9
-9
No files found.
core/exportresourcearchivejob.h
View file @
93441618
...
...
@@ -45,7 +45,6 @@ Q_SIGNALS:
void
info
(
const
QString
&
str
);
void
terminated
();
public
Q_SLOTS
:
void
slotTaskCanceled
();
...
...
gui/dialog/synchronizeresourcedialog.h
View file @
93441618
...
...
@@ -37,7 +37,6 @@ private:
void
slotSelectAll
();
void
slotUnselectAll
();
enum
DataType
{
ResourceIdentifier
=
Qt
::
UserRole
+
1
};
...
...
gui/pimsettingexporterwindow.cpp
View file @
93441618
...
...
@@ -279,9 +279,9 @@ void PimSettingExporterWindow::slotSaveLog()
void
PimSettingExporterWindow
::
slotBackupData
()
{
if
(
KMessageBox
::
warningContinueCancel
(
this
,
i18n
(
"Please quit all kdepim applications before backing up your data."
),
i18n
(
"Backup"
))
==
KMessageBox
::
Cancel
)
{
this
,
i18n
(
"Please quit all kdepim applications before backing up your data."
),
i18n
(
"Backup"
))
==
KMessageBox
::
Cancel
)
{
return
;
}
backupData
();
...
...
@@ -355,10 +355,10 @@ void PimSettingExporterWindow::slotRestoreData()
void
PimSettingExporterWindow
::
loadData
(
const
QString
&
filename
,
const
QString
&
templateFile
)
{
if
(
KMessageBox
::
warningYesNo
(
this
,
i18n
(
"Before restoring data you must close all kdepim applications. "
"Do you want to continue?"
),
i18n
(
"Backup"
))
==
KMessageBox
::
No
)
{
this
,
i18n
(
"Before restoring data you must close all kdepim applications. "
"Do you want to continue?"
),
i18n
(
"Backup"
))
==
KMessageBox
::
No
)
{
return
;
}
...
...
@@ -366,13 +366,13 @@ void PimSettingExporterWindow::loadData(const QString &filename, const QString &
QString
currentFileName
=
filename
;
if
(
currentFileName
.
isEmpty
())
{
QString
recentDirClass
;
currentFileName
=
QFileDialog
::
getOpenFileName
(
this
,
i18n
(
"Restore backup"
),
KFileWidget
::
getStartUrl
(
QUrl
(
QStringLiteral
(
"kfiledialog:///pimsettingexporter"
)),
recentDirClass
).
toLocalFile
(),
QStringLiteral
(
"%1 (*.zip)"
).
arg
(
i18n
(
"Zip File"
)));
currentFileName
=
QFileDialog
::
getOpenFileName
(
this
,
i18n
(
"Restore backup"
),
KFileWidget
::
getStartUrl
(
QUrl
(
QStringLiteral
(
"kfiledialog:///pimsettingexporter"
)),
recentDirClass
).
toLocalFile
(),
QStringLiteral
(
"%1 (*.zip)"
).
arg
(
i18n
(
"Zip File"
)));
if
(
currentFileName
.
isEmpty
())
{
return
;
}
...
...
gui/pimsettingexporterwindow.h
View file @
93441618
...
...
@@ -66,15 +66,15 @@ private:
QString
mLastArchiveFileName
;
// Name, identifier
QHash
<
QString
,
QString
>
mNeedToSyncResources
;
LogWidget
*
mLogWidget
=
nullptr
;
KRecentFilesAction
*
mRecentFilesAction
=
nullptr
;
QAction
*
mBackupAction
=
nullptr
;
QAction
*
mRestoreAction
=
nullptr
;
QAction
*
mSaveLogAction
=
nullptr
;
QAction
*
mArchiveStructureInfo
=
nullptr
;
QAction
*
mShowArchiveInformationsAction
=
nullptr
;
QAction
*
mShowArchiveInformationsAboutCurrentArchiveAction
=
nullptr
;
PimSettingsBackupRestoreUI
*
mPimSettingsBackupRestoreUI
=
nullptr
;
LogWidget
*
mLogWidget
=
nullptr
;
KRecentFilesAction
*
mRecentFilesAction
=
nullptr
;
QAction
*
mBackupAction
=
nullptr
;
QAction
*
mRestoreAction
=
nullptr
;
QAction
*
mSaveLogAction
=
nullptr
;
QAction
*
mArchiveStructureInfo
=
nullptr
;
QAction
*
mShowArchiveInformationsAction
=
nullptr
;
QAction
*
mShowArchiveInformationsAboutCurrentArchiveAction
=
nullptr
;
PimSettingsBackupRestoreUI
*
mPimSettingsBackupRestoreUI
=
nullptr
;
PimSettingsTrayIcon
*
mTrayIcon
=
nullptr
;
};
...
...
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