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

Fix compile warning

parent 04ba0f6e
......@@ -85,6 +85,10 @@ QString ExportAddressbookJobInterfaceImpl::adaptNewResourceUrl(bool overwriteRes
QString
ExportAddressbookJobInterfaceImpl::createResource(const QString &resources, const QString &name, const QMap<QString, QVariant> &settings, bool synchronizeTree)
{
Q_UNUSED(resources);
Q_UNUSED(name);
Q_UNUSED(settings);
Q_UNUSED(synchronizeTree);
Q_UNREACHABLE();
return {};
}
......@@ -36,6 +36,7 @@ void ExportAkregatorJobInterface::start()
Akonadi::Collection::Id ExportAkregatorJobInterface::convertFolderPathToCollectionId(const QString &path)
{
Q_UNUSED(path);
Q_UNREACHABLE();
// Unusued
return -1;
......@@ -43,6 +44,9 @@ Akonadi::Collection::Id ExportAkregatorJobInterface::convertFolderPathToCollecti
QString ExportAkregatorJobInterface::adaptNewResourceUrl(bool overwriteResources, const KSharedConfig::Ptr &resourceConfig, const QString &storePath)
{
Q_UNUSED(overwriteResources);
Q_UNUSED(resourceConfig);
Q_UNUSED(storePath);
Q_UNREACHABLE();
// Unused
return {};
......@@ -51,6 +55,10 @@ QString ExportAkregatorJobInterface::adaptNewResourceUrl(bool overwriteResources
QString
ExportAkregatorJobInterface::createResource(const QString &resources, const QString &name, const QMap<QString, QVariant> &settings, bool synchronizeTree)
{
Q_UNUSED(resources);
Q_UNUSED(name);
Q_UNUSED(settings);
Q_UNUSED(synchronizeTree);
Q_UNREACHABLE();
return {};
}
......
......@@ -37,6 +37,7 @@ void ImportAkregatorJobInterface::start()
Akonadi::Collection::Id ImportAkregatorJobInterface::convertFolderPathToCollectionId(const QString &path)
{
Q_UNUSED(path);
Q_UNREACHABLE();
// Unused here.
return -1;
......@@ -45,12 +46,20 @@ Akonadi::Collection::Id ImportAkregatorJobInterface::convertFolderPathToCollecti
QString
ImportAkregatorJobInterface::createResource(const QString &resources, const QString &name, const QMap<QString, QVariant> &settings, bool synchronizeTree)
{
Q_UNUSED(resources);
Q_UNUSED(name);
Q_UNUSED(settings);
Q_UNUSED(synchronizeTree);
Q_UNREACHABLE();
return {};
}
QString ImportAkregatorJobInterface::adaptNewResourceUrl(bool overwriteResources, const KSharedConfig::Ptr &resourceConfig, const QString &storePath)
{
Q_UNUSED(overwriteResources);
Q_UNUSED(resourceConfig);
Q_UNUSED(storePath);
Q_UNREACHABLE();
// Unused
return {};
......
......@@ -69,6 +69,10 @@ QString ExportAlarmJobInterfaceImpl::adaptNewResourceUrl(bool overwriteResources
QString
ExportAlarmJobInterfaceImpl::createResource(const QString &resources, const QString &name, const QMap<QString, QVariant> &settings, bool synchronizeTree)
{
Q_UNUSED(resources);
Q_UNUSED(name);
Q_UNUSED(settings);
Q_UNUSED(synchronizeTree);
Q_UNREACHABLE();
return {};
}
......
......@@ -84,6 +84,10 @@ QString ExportCalendarJobInterfaceImpl::adaptNewResourceUrl(bool overwriteResour
QString
ExportCalendarJobInterfaceImpl::createResource(const QString &resources, const QString &name, const QMap<QString, QVariant> &settings, bool synchronizeTree)
{
Q_UNUSED(resources);
Q_UNUSED(name);
Q_UNUSED(settings);
Q_UNUSED(synchronizeTree);
Q_UNREACHABLE();
return {};
}
......@@ -122,6 +122,11 @@ QString ExportMailJobInterfaceImpl::adaptNewResourceUrl(bool overwriteResources,
QString ExportMailJobInterfaceImpl::createResource(const QString &resources, const QString &name, const QMap<QString, QVariant> &settings, bool synchronizeTree)
{
Q_UNUSED(resources);
Q_UNUSED(name);
Q_UNUSED(settings);
Q_UNUSED(synchronizeTree);
Q_UNREACHABLE();
return {};
}
......
......@@ -70,6 +70,10 @@ QString ExportNotesJobInterfaceImpl::adaptNewResourceUrl(bool overwriteResources
QString
ExportNotesJobInterfaceImpl::createResource(const QString &resources, const QString &name, const QMap<QString, QVariant> &settings, bool synchronizeTree)
{
Q_UNUSED(resources);
Q_UNUSED(name);
Q_UNUSED(settings);
Q_UNUSED(synchronizeTree);
Q_UNREACHABLE();
return {};
}
Supports Markdown
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