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
A
Akonadi Data Import Wizard
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
Akonadi Data Import Wizard
Commits
a8d52fd4
Commit
a8d52fd4
authored
Apr 18, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more category plugins
parent
aa23a947
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
11 deletions
+14
-11
importwizard.categories
importwizard.categories
+2
-1
src/plugins/geary/CMakeLists.txt
src/plugins/geary/CMakeLists.txt
+1
-0
src/plugins/geary/gearyimportdata.cpp
src/plugins/geary/gearyimportdata.cpp
+2
-2
src/plugins/opera/CMakeLists.txt
src/plugins/opera/CMakeLists.txt
+1
-0
src/plugins/opera/operaaddressbook.cpp
src/plugins/opera/operaaddressbook.cpp
+2
-2
src/plugins/opera/operasettings.cpp
src/plugins/opera/operasettings.cpp
+6
-6
No files found.
importwizard.categories
View file @
a8d52fd4
org.kde.pim.importwizard importwizard (importwizard)
org.kde.pim.importwizard.balsaplugin importwizard (balsa plugin)
org.kde.pim.importwizard.evolutionplugin importwizard (evolution v3 plugin)
org.kde.pim.importwizard.gearyplugin importwizard (geary plugin)
org.kde.pim.importwizard.operaplugin importwizard (opera plugin)
src/plugins/geary/CMakeLists.txt
View file @
a8d52fd4
...
...
@@ -4,6 +4,7 @@ set(gearyimporter_SRCS
gearysettings.cpp
)
ecm_qt_declare_logging_category
(
gearyimporter_SRCS HEADER gearyplugin_debug.h IDENTIFIER EVOLUTIONPLUGIN_LOG CATEGORY_NAME org.kde.pim.importwizard.gearyplugin
)
kcoreaddons_add_plugin
(
gearyimporterplugin JSON gearyimporter.json SOURCES
${
gearyimporter_SRCS
}
INSTALL_NAMESPACE importwizard
)
...
...
src/plugins/geary/gearyimportdata.cpp
View file @
a8d52fd4
...
...
@@ -24,7 +24,7 @@
#include "mailimporter/othermailerutil.h"
#include "importfilterinfogui.h"
#include "importwizard.h"
//#include "importwizard
_debug.h"
#include "gearyplugin
_debug.h"
#include <kpluginfactory.h>
#include <QDir>
...
...
@@ -63,7 +63,7 @@ bool GearyImportData::importSettings()
{
QDir
directory
(
mPath
);
const
QStringList
lstDir
=
directory
.
entryList
(
QDir
::
AllDirs
);
//qCDebug(IMPORTWIZARD
_LOG) << "Number of directory " << lstDir.count();
qCDebug
(
EVOLUTIONPLUGIN
_LOG
)
<<
"Number of directory "
<<
lstDir
.
count
();
const
QString
configName
=
QStringLiteral
(
"geary.ini"
);
for
(
int
i
=
0
;
i
<
lstDir
.
count
();
++
i
)
{
const
QString
fullPath
=
lstDir
.
at
(
i
)
+
QDir
::
separator
()
+
configName
;
...
...
src/plugins/opera/CMakeLists.txt
View file @
a8d52fd4
...
...
@@ -4,6 +4,7 @@ set(operaimporter_SRCS
operasettings.cpp
)
ecm_qt_declare_logging_category
(
operaimporter_SRCS HEADER operaplugin_debug.h IDENTIFIER OPERAPLUGIN_LOG CATEGORY_NAME org.kde.pim.importwizard.operaplugin
)
kcoreaddons_add_plugin
(
operaimporterplugin JSON operaimporter.json SOURCES
${
operaimporter_SRCS
}
INSTALL_NAMESPACE importwizard
)
...
...
src/plugins/opera/operaaddressbook.cpp
View file @
a8d52fd4
...
...
@@ -21,7 +21,7 @@
#include <KContacts/Addressee>
#include <QUrl>
//#include "importwizard
_debug.h"
#include "operaplugin
_debug.h"
#include <QFile>
OperaAddressBook
::
OperaAddressBook
(
const
QString
&
filename
,
ImportWizard
*
parent
)
...
...
@@ -34,7 +34,7 @@ void OperaAddressBook::importAddressBook()
{
QFile
file
(
mFileName
);
if
(
!
file
.
open
(
QIODevice
::
ReadOnly
))
{
//FIXME qCDebug(IMPORTWIZARD
_LOG) << " We can't open file" << mFileName;
qCDebug
(
OPERAPLUGIN
_LOG
)
<<
" We can't open file"
<<
mFileName
;
return
;
}
...
...
src/plugins/opera/operasettings.cpp
View file @
a8d52fd4
...
...
@@ -18,7 +18,7 @@
*/
#include "operasettings.h"
//#include "importwizard
_debug.h"
#include "operaplugin
_debug.h"
#include "mailimporter/filteropera.h"
#include <mailtransport/transportmanager.h>
...
...
@@ -116,7 +116,7 @@ void OperaSettings::readAccount(const KConfigGroup &grp)
}
else
if
(
leaveOnServer
==
0
)
{
settings
.
insert
(
QStringLiteral
(
"LeaveOnServer"
),
false
);
}
else
{
//FIXME qCDebug(IMPORTWIZARD
_LOG) << " leave on server option unknown : " << leaveOnServer;
qCDebug
(
OPERAPLUGIN
_LOG
)
<<
" leave on server option unknown : "
<<
leaveOnServer
;
}
const
int
removeMailFromSever
=
grp
.
readEntry
(
QStringLiteral
(
"Remove From Server Delay Enabled"
),
-
1
);
...
...
@@ -164,7 +164,7 @@ void OperaSettings::readAccount(const KConfigGroup &grp)
settings
.
insert
(
QStringLiteral
(
"AuthenticationMethod"
),
MailTransport
::
Transport
::
EnumAuthenticationType
::
APOP
);
//TODO: verify
break
;
default:
//FIXME qCDebug(IMPORTWIZARD
_LOG) << " unknown authentication method :" << authMethod;
qCDebug
(
OPERAPLUGIN
_LOG
)
<<
" unknown authentication method :"
<<
authMethod
;
break
;
}
...
...
@@ -173,7 +173,7 @@ void OperaSettings::readAccount(const KConfigGroup &grp)
addCheckMailOnStartup
(
agentIdentifyName
,
enableManualCheck
);
addToManualCheck
(
agentIdentifyName
,
enableManualCheck
);
}
else
{
//FIXME qCDebug(IMPORTWIZARD
_LOG) << " protocol unknown : " << incomingProtocol;
qCDebug
(
OPERAPLUGIN
_LOG
)
<<
" protocol unknown : "
<<
incomingProtocol
;
}
}
...
...
@@ -219,7 +219,7 @@ void OperaSettings::readTransport(const KConfigGroup &grp)
mt
->
setAuthenticationType
(
MailTransport
::
Transport
::
EnumAuthenticationType
::
PLAIN
);
//Don't know... Verify
break
;
default:
//FIXME qCDebug(IMPORTWIZARD
_LOG) << " authMethod unknown :" << authMethod;
qCDebug
(
OPERAPLUGIN
_LOG
)
<<
" authMethod unknown :"
<<
authMethod
;
;
}
...
...
@@ -281,7 +281,7 @@ void OperaSettings::readIdentity(const KConfigGroup &grp)
signature
.
setText
(
QString
(
sigText
));
break
;
default:
//FIXME qCDebug(IMPORTWIZARD
_LOG) << " pb with Signature is HTML " << signatureHtml;
qCDebug
(
OPERAPLUGIN
_LOG
)
<<
" pb with Signature is HTML "
<<
signatureHtml
;
break
;
}
newIdentity
->
setSignature
(
signature
);
...
...
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