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

Create virtual method

parent 0b8b4e80
......@@ -124,7 +124,7 @@ void ExportMailJobInterface::slotCheckBackupMails()
if (checkBackupType(Utils::Mails)) {
increaseProgressDialog();
setProgressDialogLabel(i18n("Backing up Mails..."));
QTimer::singleShot(0, this, &ExportMailJobInterface::slotWriteNextArchiveResource);
exportArchiveResource();
return;
}
QTimer::singleShot(0, this, &ExportMailJobInterface::slotCheckBackupResources);
......@@ -137,6 +137,11 @@ void ExportMailJobInterface::slotMailsJobTerminated()
return;
}
mIndexIdentifier++;
exportArchiveResource();
}
void ExportMailJobInterface::exportArchiveResource()
{
QTimer::singleShot(0, this, &ExportMailJobInterface::slotWriteNextArchiveResource);
}
......
......@@ -43,6 +43,7 @@ protected:
virtual void convertCollectionIdsToRealPath(KConfigGroup &group, const QString &currentKey, const QString &prefixCollection = QString());
virtual void convertCollectionToRealPath(KConfigGroup &group, const QString &currentKey);
virtual void convertCollectionListToRealPath(KConfigGroup &group, const QString &currentKey);
virtual void exportArchiveResource();
private:
void slotCheckBackupIdentity();
void slotCheckBackupMailTransport();
......
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