Commit 9231d7cd authored by Laurent Montel's avatar Laurent Montel 😁

Add debug categories for thunderbird plugin

parent ba25d6d8
......@@ -4,3 +4,4 @@ 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)
org.kde.pim.importwizard.trojitaplugin importwizard (trojita plugin)
org.kde.pim.importwizard.thunderbirdplugin importwizard (thunderbird plugin)
......@@ -6,6 +6,7 @@ set(icedoveimporter_SRCS
)
ecm_qt_declare_logging_category(icedoveimporter_SRCS HEADER thunderbirdplugin_debug.h IDENTIFIER THUNDERBIRDPLUGIN_LOG CATEGORY_NAME org.kde.pim.importwizard.thunderbirdplugin)
kcoreaddons_add_plugin(icedoveimporterplugin JSON icedoveimporter.json SOURCES
${icedoveimporter_SRCS} INSTALL_NAMESPACE importwizard)
......
......@@ -5,6 +5,7 @@ set(thunderbirdimporter_SRCS
addressbook/MorkParser.cpp
)
ecm_qt_declare_logging_category(thunderbirdimporter_SRCS HEADER thunderbirdplugin_debug.h IDENTIFIER THUNDERBIRDPLUGIN_LOG CATEGORY_NAME org.kde.pim.importwizard.thunderbirdplugin)
kcoreaddons_add_plugin(thunderbirdimporterplugin JSON thunderbirdimporter.json SOURCES
${thunderbirdimporter_SRCS} INSTALL_NAMESPACE importwizard)
......
......@@ -16,6 +16,7 @@
#include <QIODevice>
// =============================================================
// MorkParser::MorkParser
#include "thunderbirdplugin_debug.h"
MorkParser::MorkParser(int DefaultScope)
{
......@@ -291,10 +292,10 @@ bool MorkParser::parseCell()
if (!Text.isEmpty()) {
if (nowParsing_ == NPColumns) {
mColumns[ ColumnId ] = Text;
//qCDebug(IMPORTWIZARD_LOG)<<" column :"<<ColumnId<<" Text "<<Text;
qCDebug(THUNDERBIRDPLUGIN_LOG)<<" column :"<<ColumnId<<" Text "<<Text;
} else {
mValues[ ColumnId ] = Text;
//qCDebug(IMPORTWIZARD_LOG)<<" ColumnId "<<ColumnId<<" Value : "<<Text;
qCDebug(THUNDERBIRDPLUGIN_LOG)<<" ColumnId "<<ColumnId<<" Value : "<<Text;
}
}
} else {
......
......@@ -23,7 +23,7 @@
#include <KLocalizedString>
#include <KContacts/Addressee>
#include <QUrl>
//#include "importwizard_debug.h"
#include "thunderbirdplugin_debug.h"
ThunderBirdAddressBook::ThunderBirdAddressBook(const QDir &dir, ImportWizard *parent)
: LibImportWizard::AbstractAddressBook(parent),
......@@ -62,7 +62,7 @@ void ThunderBirdAddressBook::readAddressBook(const QString &filename)
if (mork.error() == FailedToOpen) {
addAddressBookImportError(i18n("Contacts file '%1' not found", filename));
}
//FIXME qCDebug(IMPORTWIZARD_LOG) << " error during read file " << filename << " Error type " << mork.error();
qCDebug(THUNDERBIRDPLUGIN_LOG) << " error during read file " << filename << " Error type " << mork.error();
return;
}
MorkTableMap *tables = mork.getTables(0x80);
......@@ -88,70 +88,70 @@ void ThunderBirdAddressBook::readAddressBook(const QString &filename)
for (MorkCells::iterator cellsIter = cells.begin(); cellsIter != endCellIter; ++cellsIter) {
const QString value = mork.getValue(cellsIter.value());
const QString column = mork.getColumn(cellsIter.key());
//FIXME qCDebug(IMPORTWIZARD_LOG) << "column :" << column << " value :" << value;
qCDebug(THUNDERBIRDPLUGIN_LOG) << "column :" << column << " value :" << value;
if (column == QLatin1String("LastModifiedDate")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("RecordKey")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("AddrCharSet")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("LastRecordKey")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("ns:addrbk:db:table:kind:pab")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("ListName")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("ListNickName")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("ListDescription")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("ListTotalAddresses")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("LowercaseListName")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("ns:addrbk:db:table:kind:deleted")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("PhotoType")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("PreferDisplayName")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("PhotoURI")) {
KContacts::Picture photo;
photo.setUrl(value);
contact.setLogo(photo);
} else if (column == QLatin1String("PhotoName")) {
//TODO: verify it
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("DbRowID")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("ns:addrbk:db:row:scope:card:all")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("ns:addrbk:db:row:scope:list:all")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("ns:addrbk:db:row:scope:data:all")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("FirstName")) {
contact.setName(value);
} else if (column == QLatin1String("LastName")) {
contact.setFamilyName(value);
} else if (column == QLatin1String("PhoneticFirstName")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("PhoneticLastName")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("DisplayName")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("NickName")) {
contact.setNickName(value);
} else if (column == QLatin1String("PrimaryEmail")) {
contact.setEmails(QStringList() << value);
} else if (column == QLatin1String("LowercasePrimaryEmail")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("SecondEmail")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("PreferMailFormat")) {
contact.insertCustom(QStringLiteral("KADDRESSBOOK"), QStringLiteral("MailPreferedFormatting"), value);
} else if (column == QLatin1String("PopularityIndex")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("AllowRemoteContent")) {
contact.insertCustom(QStringLiteral("KADDRESSBOOK"), QStringLiteral("MailAllowToRemoteContent"), value);
} else if (column == QLatin1String("WorkPhone")) {
......@@ -165,19 +165,19 @@ void ThunderBirdAddressBook::readAddressBook(const QString &filename)
} else if (column == QLatin1String("CellularNumber")) {
contact.insertPhoneNumber(KContacts::PhoneNumber(value, KContacts::PhoneNumber::Cell));
} else if (column == QLatin1String("WorkPhoneType")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("HomePhoneType")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("FaxNumberType")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("PagerNumberType")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("CellularNumberType")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("HomeAddress")) {
homeAddr.setStreet(value);
} else if (column == QLatin1String("HomeAddress2")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("HomeCity")) {
homeAddr.setLocality(value);
} else if (column == QLatin1String("HomeState")) {
......@@ -189,7 +189,7 @@ void ThunderBirdAddressBook::readAddressBook(const QString &filename)
} else if (column == QLatin1String("WorkAddress")) {
workAddr.setStreet(value);
} else if (column == QLatin1String("WorkAddress2")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("WorkCity")) {
workAddr.setLocality(value);
} else if (column == QLatin1String("WorkState")) {
......@@ -203,25 +203,25 @@ void ThunderBirdAddressBook::readAddressBook(const QString &filename)
} else if (column == QLatin1String("Department")) {
contact.setDepartment(value);
} else if (column == QLatin1String("Company")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("_AimScreenName")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("AnniversaryYear")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("AnniversaryMonth")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("AnniversaryDay")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("SpouseName")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("FamilyName")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("WebPage1")) {
KContacts::ResourceLocatorUrl url;
url.setUrl(QUrl(value));
contact.setUrl(url);
} else if (column == QLatin1String("WebPage2")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " column " << column << " found but not imported. Need to look at how to import it";
} else if (column == QLatin1String("BirthYear")) {
birthyear = value.toInt();
} else if (column == QLatin1String("BirthMonth")) {
......@@ -239,9 +239,9 @@ void ThunderBirdAddressBook::readAddressBook(const QString &filename)
} else if (column == QLatin1String("Notes")) {
contact.setNote(value);
} else {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " Columnn not implemented " << column;
qCDebug(THUNDERBIRDPLUGIN_LOG) << " Columnn not implemented " << column;
}
////FIXME qCDebug(IMPORTWIZARD_LOG)<<" value :"<<value<<" column"<<column;
//qCDebug(THUNDERBIRDPLUGIN_LOG)<<" value :"<<value<<" column"<<column;
}
if (!homeAddr.isEmpty()) {
......@@ -257,7 +257,7 @@ void ThunderBirdAddressBook::readAddressBook(const QString &filename)
}
addImportContactNote(contact, QStringLiteral("Thunderbird"));
createContact(contact);
//FIXME qCDebug(IMPORTWIZARD_LOG) << "-----------------------";
qCDebug(THUNDERBIRDPLUGIN_LOG) << "-----------------------";
}
}
}
......
......@@ -31,7 +31,7 @@
#include <QTextStream>
#include <QStringList>
#include <QFile>
//#include "importwizard_debug.h"
#include "thunderbirdplugin_debug.h"
#include <QStandardPaths>
#include <QFileInfo>
#include <QDir>
......@@ -51,7 +51,7 @@ void ThunderbirdSettings::importSettings()
{
QFile file(mFileName);
if (!file.open(QIODevice::ReadOnly)) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " We can't open file" << mFileName;
qCDebug(THUNDERBIRDPLUGIN_LOG) << " We can't open file" << mFileName;
return;
}
QTextStream stream(&file);
......@@ -83,7 +83,7 @@ void ThunderbirdSettings::importSettings()
line.startsWith(QStringLiteral("/*")) ||
line.startsWith(QStringLiteral(" */")) ||
line.startsWith(QStringLiteral(" *"))) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " unstored line :" << line;
qCDebug(THUNDERBIRDPLUGIN_LOG) << " unstored line :" << line;
}
}
......@@ -205,7 +205,7 @@ void ThunderbirdSettings::readExtensionsSettings()
addKmailConfig(QStringLiteral("AutoResizeImage"), QStringLiteral("FilterRecipientType"), QStringLiteral("DontResizeOneEmailContainsPattern"));
break;
default:
//FIXME qCDebug(IMPORTWIZARD_LOG) << " unknown FilterRecipientType: " << filterRecipients;
qCDebug(THUNDERBIRDPLUGIN_LOG) << " unknown FilterRecipientType: " << filterRecipients;
break;
}
}
......@@ -298,7 +298,7 @@ void ThunderbirdSettings::readTagSettings()
void ThunderbirdSettings::readLdapSettings()
{
////FIXME qCDebug(IMPORTWIZARD_LOG)<<" mLdapAccountList:"<<mLdapAccountList;
//qCDebug(THUNDERBIRDPLUGIN_LOG)<<" mLdapAccountList:"<<mLdapAccountList;
for (const QString &ldapAccountName : qAsConst(mLdapAccountList)) {
ldapStruct ldap;
const QString ldapDescription = QStringLiteral("%1.description").arg(ldapAccountName);
......@@ -331,7 +331,7 @@ void ThunderbirdSettings::readLdapSettings()
} else if (ldap.ldapUrl.scheme() == QLatin1String("ldap")) {
ldap.useSSL = false;
} else {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " Security not implemented :" << ldap.ldapUrl.scheme();
qCDebug(THUNDERBIRDPLUGIN_LOG) << " Security not implemented :" << ldap.ldapUrl.scheme();
}
}
ImportWizardUtil::mergeLdap(ldap);
......@@ -583,7 +583,7 @@ void ThunderbirdSettings::addAuth(QMap<QString, QVariant> &settings, const QStri
break;
case 4: //Encrypted password ???
settings.insert(argument, MailTransport::Transport::EnumAuthenticationType::LOGIN); //????
//FIXME qCDebug(IMPORTWIZARD_LOG) << " authmethod == encrypt password";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " authmethod == encrypt password";
break;
case 5: //GSSAPI
settings.insert(argument, MailTransport::Transport::EnumAuthenticationType::GSSAPI);
......@@ -592,14 +592,14 @@ void ThunderbirdSettings::addAuth(QMap<QString, QVariant> &settings, const QStri
settings.insert(argument, MailTransport::Transport::EnumAuthenticationType::NTLM);
break;
case 7: //TLS
//FIXME qCDebug(IMPORTWIZARD_LOG) << " authmethod method == TLS"; //????
qCDebug(THUNDERBIRDPLUGIN_LOG) << " authmethod method == TLS"; //????
break;
case 10: //OAuth2 verify it.
settings.insert(argument, MailTransport::Transport::EnumAuthenticationType::XOAUTH2);
//FIXME qCDebug(IMPORTWIZARD_LOG) << " authmethod method == OAuth2"; //????
qCDebug(THUNDERBIRDPLUGIN_LOG) << " authmethod method == OAuth2"; //????
break;
default:
//FIXME qCDebug(IMPORTWIZARD_LOG) << " ThunderbirdSettings::addAuth unknown :" << authMethod;
qCDebug(THUNDERBIRDPLUGIN_LOG) << " ThunderbirdSettings::addAuth unknown :" << authMethod;
break;
}
}
......@@ -662,7 +662,7 @@ void ThunderbirdSettings::readAccount()
settings.insert(QStringLiteral("Safety"), QStringLiteral("SSL"));
break;
default:
//FIXME qCDebug(IMPORTWIZARD_LOG) << " socketType " << socketType;
qCDebug(THUNDERBIRDPLUGIN_LOG) << " socketType " << socketType;
break;
}
}
......@@ -733,7 +733,7 @@ void ThunderbirdSettings::readAccount()
settings.insert(QStringLiteral("UseSSL"), true);
break;
default:
//FIXME qCDebug(IMPORTWIZARD_LOG) << " socketType " << socketType;
qCDebug(THUNDERBIRDPLUGIN_LOG) << " socketType " << socketType;
break;
}
}
......@@ -761,17 +761,17 @@ void ThunderbirdSettings::readAccount()
addToManualCheck(agentIdentifyName, true);
} else if (type == QLatin1String("none")) {
//FIXME look at if we can implement it
//FIXME qCDebug(IMPORTWIZARD_LOG) << " account type none!";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " account type none!";
} else if (type == QLatin1String("movemail")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " movemail accound found and not implemented in importthunderbird";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " movemail accound found and not implemented in importthunderbird";
} else if (type == QLatin1String("rss")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " rss resource needs to be implemented";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " rss resource needs to be implemented";
continue;
} else if (type == QLatin1String("nntp")) {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " nntp resource need to be implemented";
qCDebug(THUNDERBIRDPLUGIN_LOG) << " nntp resource need to be implemented";
continue;
} else {
//FIXME qCDebug(IMPORTWIZARD_LOG) << " type unknown : " << type;
qCDebug(THUNDERBIRDPLUGIN_LOG) << " type unknown : " << type;
continue;
}
......@@ -832,7 +832,7 @@ void ThunderbirdSettings::readTransport()
mt->setAuthenticationType(MailTransport::Transport::EnumAuthenticationType::NTLM);
break;
default:
//FIXME qCDebug(IMPORTWIZARD_LOG) << " authMethod unknown :" << authMethod;
qCDebug(THUNDERBIRDPLUGIN_LOG) << " authMethod unknown :" << authMethod;
break;
}
......@@ -848,7 +848,7 @@ void ThunderbirdSettings::readTransport()
mt->setEncryption(MailTransport::Transport::EnumEncryption::SSL);
break;
default:
//FIXME qCDebug(IMPORTWIZARD_LOG) << " trySsl unknown :" << trySsl;
qCDebug(THUNDERBIRDPLUGIN_LOG) << " trySsl unknown :" << trySsl;
break;
}
......@@ -1044,7 +1044,7 @@ void ThunderbirdSettings::insertIntoMap(const QString &line)
tag.name = mHashConfig.value(key).toString();
}
mHashTag.insert(name, tag);
//FIXME qCDebug(IMPORTWIZARD_LOG) << " tag :" << name << " tag.name" << tag.name << " color :" << tag.color;
qCDebug(THUNDERBIRDPLUGIN_LOG) << " tag :" << name << " tag.name" << tag.name << " color :" << tag.color;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment