From 0967cddeae8754ec7e5887ea802b68fc64586ad3 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Sun, 22 Nov 2015 11:02:10 +0100 Subject: [PATCH] Rename method --- pimsettingexporter/core/notes/exportnotesjob.cpp | 8 ++++---- pimsettingexporter/core/notes/exportnotesjob.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pimsettingexporter/core/notes/exportnotesjob.cpp b/pimsettingexporter/core/notes/exportnotesjob.cpp index 462b5338e0..4d765c6f87 100644 --- a/pimsettingexporter/core/notes/exportnotesjob.cpp +++ b/pimsettingexporter/core/notes/exportnotesjob.cpp @@ -87,7 +87,7 @@ void ExportNotesJob::slotCheckBackupConfig() Q_EMIT jobFinished(); } -void ExportNotesJob::slotAddressbookJobTerminated() +void ExportNotesJob::slotNoteJobTerminated() { if (wasCanceled()) { Q_EMIT jobFinished(); @@ -119,14 +119,14 @@ void ExportNotesJob::slotWriteNextArchiveResource() resourceJob->setArchiveName(QStringLiteral("notes.zip")); connect(resourceJob, &ExportResourceArchiveJob::error, this, &ExportNotesJob::error); connect(resourceJob, &ExportResourceArchiveJob::info, this, &ExportNotesJob::info); - connect(resourceJob, &ExportResourceArchiveJob::terminated, this, &ExportNotesJob::slotAddressbookJobTerminated); + connect(resourceJob, &ExportResourceArchiveJob::terminated, this, &ExportNotesJob::slotNoteJobTerminated); resourceJob->start(); } } else { - QTimer::singleShot(0, this, SLOT(slotAddressbookJobTerminated())); + QTimer::singleShot(0, this, SLOT(slotNoteJobTerminated())); } } else { - QTimer::singleShot(0, this, SLOT(slotAddressbookJobTerminated())); + QTimer::singleShot(0, this, SLOT(slotNoteJobTerminated())); } } else { Q_EMIT info(i18n("Resources backup done.")); diff --git a/pimsettingexporter/core/notes/exportnotesjob.h b/pimsettingexporter/core/notes/exportnotesjob.h index e98670683d..3bac32b83a 100644 --- a/pimsettingexporter/core/notes/exportnotesjob.h +++ b/pimsettingexporter/core/notes/exportnotesjob.h @@ -33,7 +33,7 @@ public: private Q_SLOTS: void slotCheckBackupResource(); void slotCheckBackupConfig(); - void slotAddressbookJobTerminated(); + void slotNoteJobTerminated(); void slotWriteNextArchiveResource(); private: void backupConfig(); -- 2.11.4.GIT