File indexing completed on 2024-12-22 05:05:25

0001 /*
0002    SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "backupresourcefilejobbase.h"
0010 
0011 class TestBackupResourceFileJob : public BackupResourceFileJobBase
0012 {
0013     Q_OBJECT
0014 public:
0015     explicit TestBackupResourceFileJob(QObject *parent = nullptr);
0016     ~TestBackupResourceFileJob() override;
0017 
0018     [[nodiscard]] QString resourcePath(const QString &identifier) const override;
0019     void setTestPath(const QString &str);
0020 
0021 private:
0022     QString mTestPath;
0023 };