File indexing completed on 2024-04-28 04:21:19
0001 // SPDX-FileCopyrightText: 2003-2022 Jesper K. Pedersen <blackie@kde.org> 0002 // 0003 // SPDX-License-Identifier: GPL-2.0-or-later 0004 0005 #ifndef DATABASEBACKENDPAGE_H 0006 #define DATABASEBACKENDPAGE_H 0007 0008 #include <QWidget> 0009 0010 class QCheckBox; 0011 class QSpinBox; 0012 0013 namespace Settings 0014 { 0015 class SettingsData; 0016 0017 class DatabaseBackendPage : public QWidget 0018 { 0019 Q_OBJECT 0020 public: 0021 explicit DatabaseBackendPage(QWidget *parent); 0022 void loadSettings(Settings::SettingsData *); 0023 void saveSettings(Settings::SettingsData *); 0024 0025 private Q_SLOTS: 0026 void markDirty(); 0027 0028 private: 0029 QSpinBox *m_autosave; 0030 QSpinBox *m_backupCount; 0031 QCheckBox *m_compressBackup; 0032 QCheckBox *m_compressedIndexXML; 0033 }; 0034 0035 } 0036 0037 #endif /* DATABASEBACKENDPAGE_H */ 0038 0039 // vi:expandtab:tabstop=4 shiftwidth=4: