diff options
Diffstat (limited to 'rbutil/rbutilqt/gui/backupdialog.h')
-rw-r--r-- | rbutil/rbutilqt/gui/backupdialog.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/gui/backupdialog.h b/rbutil/rbutilqt/gui/backupdialog.h new file mode 100644 index 0000000000..cd5ea398d9 --- /dev/null +++ b/rbutil/rbutilqt/gui/backupdialog.h | |||
@@ -0,0 +1,49 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * | ||
9 | * Copyright (C) 2012 by Dominik Riebeling | ||
10 | * | ||
11 | * All files in this archive are subject to the GNU General Public License. | ||
12 | * See the file COPYING in the source tree root for full license agreement. | ||
13 | * | ||
14 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
15 | * KIND, either express or implied. | ||
16 | * | ||
17 | ****************************************************************************/ | ||
18 | |||
19 | #ifndef BACKUPDIALOG_H | ||
20 | #define BACKUPDIALOG_H | ||
21 | |||
22 | #include <QWidget> | ||
23 | #include <QDialog> | ||
24 | #include "ui_backupdialogfrm.h" | ||
25 | #include "progressloggergui.h" | ||
26 | |||
27 | class BackupSizeThread; | ||
28 | |||
29 | class BackupDialog : public QDialog | ||
30 | { | ||
31 | Q_OBJECT | ||
32 | public: | ||
33 | BackupDialog(QWidget* parent = 0); | ||
34 | |||
35 | private slots: | ||
36 | void changeBackupPath(void); | ||
37 | void updateSizeInfo(void); | ||
38 | void backup(void); | ||
39 | |||
40 | private: | ||
41 | Ui::BackupDialog ui; | ||
42 | QString m_backupName; | ||
43 | QString m_mountpoint; | ||
44 | BackupSizeThread *m_thread; | ||
45 | ProgressLoggerGui *m_logger; | ||
46 | }; | ||
47 | |||
48 | #endif | ||
49 | |||