File indexing completed on 2024-03-24 05:49:24

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 KUPSETTINGS_H
0006 #define KUPSETTINGS_H
0007 
0008 #include <KCoreConfigSkeleton>
0009 #include <KSharedConfig>
0010 
0011 class KupSettings : public KCoreConfigSkeleton
0012 {
0013     Q_OBJECT
0014 public:
0015     explicit KupSettings(KSharedConfigPtr pConfig, QObject *pParent = nullptr);
0016 
0017     // Common enable of backup plans
0018     bool mBackupsEnabled{};
0019 
0020     // Number of backup plans configured
0021     int mNumberOfPlans{};
0022 };
0023 
0024 #endif // KUPSETTINGS_H