1 #ifndef _RESTORETREE_H_
2 #define _RESTORETREE_H_
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 and included
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.
32 * Version $Id: restore.h 4945 2007-05-31 01:24:28Z bartleyd2 $
34 * Kern Sibbald, February 2007
39 #include "ui_restoretree.h"
42 * A restore tree to view files in the catalog
44 class restoreTree : public Pages, public Ui::restoreTreeForm
51 virtual void currentStackItem();
54 void refreshButtonPushed();
55 void jobComboChanged(int);
56 void directoryItemChanged(QTreeWidgetItem *, QTreeWidgetItem *);
57 void fileItemChanged(QTableWidgetItem *,QTableWidgetItem *);
58 void directoryItemExpanded(QTreeWidgetItem *);
61 void populateDirectoryTree();
62 void populateJobTable();
63 void parseDirectory(QString &dir_in);
64 bool addDirectory(QString &, QString &);
69 QRegExp m_winRegExpDrive;
70 QRegExp m_winRegExpPath;
73 //QString m_jobCondition;
74 QHash<QString, QTreeWidgetItem *> m_dirPaths;
77 QString m_jobQueryPart;
82 #endif /* _RESTORETREE_H_ */