File indexing completed on 2024-04-21 05:46:26
0001 // SPDX-FileCopyrightText: 2020 Simon Persson <simon.persson@mykolab.com> 0002 // 0003 // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0004 0005 #ifndef BUPVERIFICATIONJOB_H 0006 #define BUPVERIFICATIONJOB_H 0007 0008 #include "backupjob.h" 0009 0010 #include <KProcess> 0011 0012 class KupDaemon; 0013 0014 class BupVerificationJob : public BackupJob 0015 { 0016 Q_OBJECT 0017 0018 public: 0019 BupVerificationJob(BackupPlan &pBackupPlan, const QString &pDestinationPath, const QString &pLogFilePath, KupDaemon *pKupDaemon); 0020 0021 protected slots: 0022 void performJob() override; 0023 void slotCheckingStarted(); 0024 void slotCheckingDone(int pExitCode, QProcess::ExitStatus pExitStatus); 0025 0026 protected: 0027 KProcess mFsckProcess; 0028 0029 }; 0030 0031 #endif // BUPVERIFICATIONJOB_H