]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/restore/restore.h
Start restore tree
[bacula/bacula] / bacula / src / qt-console / restore / restore.h
1 #ifndef _RESTORE_H_
2 #define _RESTORE_H_
3
4 /*
5    Bacula® - The Network Backup Solution
6
7    Copyright (C) 2007-2007 Free Software Foundation Europe e.V.
8
9    The main author of Bacula is Kern Sibbald, with contributions from
10    many others, a complete list can be found in the file AUTHORS.
11    This program is Free Software; you can redistribute it and/or
12    modify it under the terms of version two of the GNU General Public
13    License as published by the Free Software Foundation plus additions
14    that are listed in the file LICENSE.
15
16    This program is distributed in the hope that it will be useful, but
17    WITHOUT ANY WARRANTY; without even the implied warranty of
18    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19    General Public License for more details.
20
21    You should have received a copy of the GNU General Public License
22    along with this program; if not, write to the Free Software
23    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24    02110-1301, USA.
25
26    Bacula® is a registered trademark of John Walker.
27    The licensor of Bacula is the Free Software Foundation Europe
28    (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
29    Switzerland, email:ftf@fsfeurope.org.
30 */
31 /*
32  *   Version $Id$
33  *
34  *  Kern Sibbald, February 2007
35  */
36
37 #include <QtGui>
38 #include "ui_brestore.h"
39 #include "ui_restore.h"
40 #include "ui_prerestore.h"
41
42 class Console;
43
44 class prerestoreDialog : public QDialog, public Ui::prerestoreForm
45 {
46    Q_OBJECT 
47
48 public:
49    prerestoreDialog(Console *parent);
50
51 public slots:
52    void accept();
53    void reject();
54    void job_name_change(int index);
55
56 private:
57    Console *m_console;
58
59 };
60
61 class restoreDialog : public QDialog, public Ui::restoreForm
62 {
63    Q_OBJECT 
64
65 public:
66    restoreDialog(Console *parent);
67    void fillDirectory(const char *path);
68
69 public slots:
70
71 private:
72    Console *m_console;
73    QString m_fname;
74
75 };
76
77
78 class bRestore : public QWidget, public Ui::bRestoreForm
79 {
80    Q_OBJECT 
81
82 public:
83    bRestore(QStackedWidget *parent);
84
85 public slots:
86
87 private:
88
89 };
90
91
92
93 #endif /* _RESTORE_H_ */