Commit 3e7badc5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: Coding style

parent 482e340d
......@@ -92,5 +92,3 @@ void ExportAddressbookJobInterfaceTest::exportAddressBookConfig()
file->start();
delete exportNote;
}
......@@ -80,5 +80,3 @@ void ExportAlarmJobInterfaceTest::exportAlarmConfig()
file->start();
delete exportNote;
}
......@@ -91,6 +91,3 @@ void ExportCalendarsJobInterfaceTest::exportCalendarConfig()
file->start();
delete exportNote;
}
......@@ -76,7 +76,6 @@ void ExportMailJobInterfaceTestImpl::backupResources()
qDebug() << " not implement yet";
}
void ExportMailJobInterfaceTestImpl::exportResourceToArchive(const QString &archivePath, const QString &url, const QString &identifier)
{
qDebug() << " not implement yet";
......@@ -112,12 +111,8 @@ void ExportMailJobInterfaceTest::exportMailConfig()
delete exportNote;
}
QString ExportMailJobInterfaceTestImpl::convertToFullCollectionPath(const qlonglong collectionValue)
{
ResourceConverterTest converter;
return converter.convertToFullCollectionPath(collectionValue);
}
......@@ -86,5 +86,3 @@ void ExportNotesJobInterfaceTest::exportNoteConfig()
file->start();
delete exportNote;
}
......@@ -36,7 +36,6 @@ TestImportFile::TestImportFile(const QString &archivePath, QObject *parent)
TestImportFile::~TestImportFile()
{
}
void TestImportFile::start()
......
......@@ -39,7 +39,7 @@ protected:
virtual Q_REQUIRED_RESULT QString convertToFullCollectionPath(const qlonglong collectionValue) = 0;
virtual void convertCollectionListToRealPath(KConfigGroup &group, const QString &currentKey) = 0;
virtual void exportResourceToArchive(const QString &archivePath, const QString &url, const QString &identifier) = 0;
virtual Q_REQUIRED_RESULT QVector<Utils::AkonadiInstanceInfo> listOfResource() =0;
virtual Q_REQUIRED_RESULT QVector<Utils::AkonadiInstanceInfo> listOfResource() = 0;
private:
void slotCheckBackupResource();
......
......@@ -185,14 +185,12 @@ QVector<MailCommon::MailFilter *> ExportMailJobInterfaceImpl::filters()
return MailCommon::FilterManager::instance()->filters();
}
QString ExportMailJobInterfaceImpl::convertToFullCollectionPath(const qlonglong collectionValue)
{
ResourceConverterImpl converter;
return converter.convertToFullCollectionPath(collectionValue);
}
QVector<Utils::AkonadiInstanceInfo> ExportMailJobInterfaceImpl::listOfResource()
{
return Utils::listOfResource();
......
......@@ -52,7 +52,6 @@ private:
QDateTime mArchiveTime = QDateTime::currentDateTime();
int mIndexIdentifier = 0;
};
#endif // ExportMailJob_H
......@@ -115,5 +115,4 @@ void ExportNotesJobInterfaceImpl::exportResourceToArchive(const QString &archive
connect(resourceJob, &ExportResourceArchiveJob::info, this, &ExportNotesJobInterfaceImpl::info);
connect(resourceJob, &ExportResourceArchiveJob::terminated, this, &ExportNotesJobInterfaceImpl::slotNoteJobTerminated);
resourceJob->start();
}
......@@ -267,4 +267,3 @@ QVector<Utils::AkonadiInstanceInfo> Utils::listOfResource()
}
return instanceInfoList;
}
......@@ -25,7 +25,6 @@
#include "pimdataexportcore_debug.h"
class KZip;
struct ResourceFiles {
QString akonadiConfigFile;
QString akonadiResources;
......
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