Commit e088afd1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: coding style

parent 6cafc6ab
......@@ -84,7 +84,6 @@ QString ExportAddressbookJobInterfaceImpl::resourcePath(const QString &agentIden
return url;
}
void ExportAddressbookJobInterfaceImpl::backupAddressBookResourceFile(const QString &agentIdentifier, const QString &defaultPath)
{
backupResourceFile(agentIdentifier, defaultPath);
......
......@@ -147,5 +147,3 @@ void ExportAddressbookJobInterfaceTest::exportAddressBookConfigAndResource()
file->start();
delete exportNote;
}
......@@ -131,5 +131,3 @@ void ExportAlarmJobInterfaceTest::exportAlarmConfigAndResource()
file->start();
delete exportNote;
}
......@@ -24,7 +24,6 @@ QTEST_MAIN(BackupResourceFileJobImplTest)
BackupResourceFileJobImplTest::BackupResourceFileJobImplTest(QObject *parent)
: QObject(parent)
{
}
void BackupResourceFileJobImplTest::shouldHaveDefaultValue()
......
......@@ -23,7 +23,6 @@
CompareLoggingFile::CompareLoggingFile()
{
}
void CompareLoggingFile::compare()
......
......@@ -118,7 +118,6 @@ void ExportMailJobInterfaceTestImpl::backupMailResourceFile(const QString &agent
job->start();
}
ExportMailJobInterfaceTest::ExportMailJobInterfaceTest(QObject *parent)
: QObject(parent)
{
......
......@@ -101,5 +101,3 @@ void ImportMailJobInterfaceTest::importMailConfig()
delete impl;
delete file;
}
......@@ -17,18 +17,15 @@
Boston, MA 02110-1301, USA.
*/
#include "testbackupresourcefilejob.h"
#include "resourceconvertertest.h"
TestBackupResourceFileJob::TestBackupResourceFileJob(QObject *parent)
: BackupResourceFileJobBase(parent)
{
}
TestBackupResourceFileJob::~TestBackupResourceFileJob()
{
}
QString TestBackupResourceFileJob::resourcePath(const QString &identifier) const
......@@ -37,4 +34,3 @@ QString TestBackupResourceFileJob::resourcePath(const QString &identifier) const
const QString url = converter.resourcePath(identifier);
return url;
}
......@@ -82,7 +82,6 @@ void TestImportFile::start()
file.setListFilePath(mPathConfig);
file.compare();
#ifdef REMOVE_TEMPORARY_DIR
QVERIFY(QDir(mExtractPath).removeRecursively());
#endif
......
......@@ -29,12 +29,10 @@
BackupResourceFileJobBase::BackupResourceFileJobBase(QObject *parent)
: QObject(parent)
{
}
BackupResourceFileJobBase::~BackupResourceFileJobBase()
{
}
void BackupResourceFileJobBase::start()
......
......@@ -17,7 +17,6 @@
Boston, MA 02110-1301, USA.
*/
#ifndef BACKUPRESOURCEFILEJOBBASE_H
#define BACKUPRESOURCEFILEJOBBASE_H
......@@ -36,7 +35,6 @@ public:
Q_REQUIRED_RESULT bool canStart() const;
Q_REQUIRED_RESULT QString identifier() const;
void setIdentifier(const QString &identifier);
......
......@@ -17,19 +17,16 @@
Boston, MA 02110-1301, USA.
*/
#include "backupresourcefilejobimpl.h"
#include "resourceconverterimpl.h"
BackupResourceFileJobImpl::BackupResourceFileJobImpl(QObject *parent)
: BackupResourceFileJobBase(parent)
{
}
BackupResourceFileJobImpl::~BackupResourceFileJobImpl()
{
}
QString BackupResourceFileJobImpl::resourcePath(const QString &identifier) const
......
......@@ -17,7 +17,6 @@
Boston, MA 02110-1301, USA.
*/
#ifndef BACKUPRESOURCEFILEJOBIMPL_H
#define BACKUPRESOURCEFILEJOBIMPL_H
......
......@@ -122,7 +122,6 @@ QString ExportMailJobInterfaceImpl::resourcePath(const QString &identifier) cons
return url;
}
void ExportMailJobInterfaceImpl::backupMailResourceFile(const QString &agentIdentifier, const QString &defaultPath)
{
backupResourceFile(agentIdentifier, defaultPath);
......
......@@ -40,7 +40,6 @@ QString ImportMailJobInterfaceImpl::adaptResourcePath(const KSharedConfigPtr &re
return converter.adaptResourcePath(resourceConfig, storedData);
}
void ImportMailJobInterfaceImpl::registerSpecialCollection(Akonadi::SpecialMailCollections::Type type, qint64 colId)
{
auto fetch = new Akonadi::CollectionFetchJob(Akonadi::Collection(colId), Akonadi::CollectionFetchJob::Base, this);
......
......@@ -31,7 +31,6 @@
#include <QDir>
#include <QTimer>
ImportNotesJobInterface::ImportNotesJobInterface(QObject *parent, Utils::StoredTypes typeSelected, ArchiveStorage *archiveStorage, int numberOfStep)
: AbstractImportExportJob(parent, archiveStorage, typeSelected, numberOfStep)
{
......
......@@ -35,7 +35,6 @@ ResourceConverterBase::~ResourceConverterBase()
{
}
QString ResourceConverterBase::adaptResourcePath(const KSharedConfigPtr &resourceConfig, const QString &storedData)
{
QString newUrl = ResourceConverterBase::resourcePath(resourceConfig);
......
......@@ -39,7 +39,6 @@ Akonadi::Collection::Id ResourceConverterImpl::convertFolderPathToCollectionId(c
return MailCommon::Util::convertFolderPathToCollectionId(path);
}
QString ResourceConverterImpl::installDefaultDirectory()
{
return QDir::homePath();
......
......@@ -98,7 +98,6 @@ PIMDATAEXPORTER_EXPORT Q_REQUIRED_RESULT QString storeCalendar();
PIMDATAEXPORTER_EXPORT Q_REQUIRED_RESULT QString storeAlarm();
PIMDATAEXPORTER_EXPORT Q_REQUIRED_RESULT QString storeAddressbook();
PIMDATAEXPORTER_EXPORT Q_REQUIRED_RESULT QString resourceNoteArchiveName();
PIMDATAEXPORTER_EXPORT Q_REQUIRED_RESULT QString resourceAddressbookArchiveName();
PIMDATAEXPORTER_EXPORT Q_REQUIRED_RESULT QString resourceAlarmArchiveName();
......
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