Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/dialogs/kbackupdlg.h
Context not available. | |||||
6 | email : mte@users.sourceforge.net | 6 | email : mte@users.sourceforge.net | ||
---|---|---|---|---|---|
7 | Javier Campos Morales <javi_c@ctv.es> | 7 | Javier Campos Morales <javi_c@ctv.es> | ||
8 | Felix Rodriguez <frodriguez@mail.wesleyan.edu> | 8 | Felix Rodriguez <frodriguez@mail.wesleyan.edu> | ||
9 | (C) 2017 by Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> | ||||
9 | ***************************************************************************/ | 10 | ***************************************************************************/ | ||
10 | 11 | | |||
11 | /*************************************************************************** | 12 | /*************************************************************************** | ||
Context not available. | |||||
21 | #define KBACKUPDLG_H | 22 | #define KBACKUPDLG_H | ||
22 | 23 | | |||
23 | #include <QDialog> | 24 | #include <QDialog> | ||
24 | #include "ui_kbackupdlgdecl.h" | 25 | | ||
26 | namespace Ui { class KBackupDlg; } | ||||
25 | 27 | | |||
26 | /** | 28 | /** | ||
27 | *@author Michael Edwardes | 29 | *@author Michael Edwardes | ||
28 | */ | 30 | */ | ||
29 | 31 | | |||
30 | 32 | class KBackupDlg : public QDialog | |||
31 | class kbackupdlgdecl : public QDialog, public Ui::kbackupdlgdecl | | |||
32 | { | 33 | { | ||
34 | Q_OBJECT | ||||
35 | Q_DISABLE_COPY(KBackupDlg) | ||||
36 | | ||||
33 | public: | 37 | public: | ||
34 | kbackupdlgdecl(QWidget *parent) : QDialog(parent) { | 38 | explicit KBackupDlg(QWidget* parent = nullptr); | ||
35 | setupUi(this); | 39 | ~KBackupDlg(); | ||
36 | } | | |||
37 | }; | | |||
38 | 40 | | |||
39 | class KBackupDlg : public kbackupdlgdecl | 41 | QString mountPoint() const; | ||
40 | { | 42 | bool mountCheckBox() const; | ||
41 | Q_OBJECT | | |||
42 | private: | | |||
43 | void readConfig(); | | |||
44 | void writeConfig(); | | |||
45 | 43 | | |||
46 | protected slots: | 44 | protected slots: | ||
47 | void chooseButtonClicked(); | 45 | void chooseButtonClicked(); | ||
48 | 46 | | |||
49 | public: | 47 | private: | ||
50 | KBackupDlg(QWidget* parent); | 48 | Ui::KBackupDlg *ui; | ||
51 | ~KBackupDlg(); | 49 | void readConfig(); | ||
50 | void writeConfig(); | ||||
52 | }; | 51 | }; | ||
53 | 52 | | |||
54 | #endif // KBACKUPDLG_H | 53 | #endif // KBACKUPDLG_H | ||
Context not available. |