5 Bacula® - The Network Backup Solution
7 Copyright (C) 2007-2007 Free Software Foundation Europe e.V.
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.
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.
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
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.
34 * Kern Sibbald, February 2007
39 #include "ui_brestore.h"
40 #include "ui_restore.h"
41 #include "ui_prerestore.h"
44 * The pre-restore dialog selects the Job/Client to be restored
45 * It really could use considerable enhancement.
47 class prerestorePage : public Pages, public Ui::prerestoreForm
55 void okButtonPushed();
56 void cancelButtonPushed();
57 void job_name_change(int index);
63 * The restore dialog is brought up once we are in the Bacula
64 * restore tree routines. It handles putting up a GUI tree
65 * representation of the files to be restored.
67 class restorePage : public Pages, public Ui::restoreForm
75 bool cwd(const char *);
78 void okButtonPushed();
79 void cancelButtonPushed();
80 void fileDoubleClicked(QTreeWidgetItem *item, int column);
81 void directoryItemChanged(QTreeWidgetItem *, QTreeWidgetItem *);
82 void upButtonPushed();
83 void unmarkButtonPushed();
84 void markButtonPushed();
85 void addDirectory(QString &);
89 QHash<QString, QTreeWidgetItem *> m_dirPaths;
90 QHash<QTreeWidgetItem *,QString> m_dirTreeItems;
94 class bRestore : public Pages, public Ui::bRestoreForm
108 #endif /* _RESTORE_H_ */