File indexing completed on 2024-05-19 05:06:49
0001 /* 0002 SPDX-FileCopyrightText: 2001-2003 Michael Edwardes <mte@users.sourceforge.net> 0003 SPDX-FileCopyrightText: 2001-2002 Felix Rodriguez <frodriguez@users.sourceforge.net> 0004 SPDX-FileCopyrightText: 2017 Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #ifndef KBACKUPDLG_H 0009 #define KBACKUPDLG_H 0010 0011 #include "kmm_base_dialogs_export.h" 0012 0013 #include <QDialog> 0014 0015 namespace Ui { 0016 class KBackupDlg; 0017 } 0018 0019 /** 0020 *@author Michael Edwardes 0021 */ 0022 0023 class KMM_BASE_DIALOGS_EXPORT KBackupDlg : public QDialog 0024 { 0025 Q_OBJECT 0026 Q_DISABLE_COPY(KBackupDlg) 0027 0028 public: 0029 explicit KBackupDlg(QWidget* parent = nullptr); 0030 ~KBackupDlg(); 0031 0032 QString mountPoint() const; 0033 bool mountCheckBoxChecked() const; 0034 0035 protected Q_SLOTS: 0036 void chooseButtonClicked(); 0037 0038 private: 0039 Ui::KBackupDlg *ui; 0040 void readConfig(); 0041 void writeConfig(); 0042 }; 0043 0044 #endif // KBACKUPDLG_H