File indexing completed on 2024-05-12 16:42:03
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 <QDialog> 0012 0013 namespace Ui { 0014 class KBackupDlg; 0015 } 0016 0017 /** 0018 *@author Michael Edwardes 0019 */ 0020 0021 class KBackupDlg : public QDialog 0022 { 0023 Q_OBJECT 0024 Q_DISABLE_COPY(KBackupDlg) 0025 0026 public: 0027 explicit KBackupDlg(QWidget* parent = nullptr); 0028 ~KBackupDlg(); 0029 0030 QString mountPoint() const; 0031 bool mountCheckBoxChecked() const; 0032 0033 protected Q_SLOTS: 0034 void chooseButtonClicked(); 0035 0036 private: 0037 Ui::KBackupDlg *ui; 0038 void readConfig(); 0039 void writeConfig(); 0040 }; 0041 0042 #endif // KBACKUPDLG_H