]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/fileset/fileset.h
d75b112024ef207e021218163749e084b8f3148a
[bacula/bacula] / bacula / src / qt-console / fileset / fileset.h
1 #ifndef _FILESET_H_
2 #define _FILESET_H_
3 /*
4    Bacula® - The Network Backup Solution
5
6    Copyright (C) 2007-2014 Free Software Foundation Europe e.V.
7
8    The main author of Bacula is Kern Sibbald, with contributions from many
9    others, a complete list can be found in the file AUTHORS.
10
11    You may use this file and others of this release according to the
12    license defined in the LICENSE file, which includes the Affero General
13    Public License, v3.0 ("AGPLv3") and some additional permissions and
14    terms pursuant to its AGPLv3 Section 7.
15
16    Bacula® is a registered trademark of Kern Sibbald.
17 */
18 /*
19  *   Version $Id$
20  *
21  *   Dirk Bartley, March 2007
22  */
23
24 #include <QtGui>
25 #include "ui_fileset.h"
26 #include "console.h"
27 #include "pages.h"
28
29 class FileSet : public Pages, public Ui::FileSetForm
30 {
31    Q_OBJECT
32
33 public:
34    FileSet();
35    ~FileSet();
36    virtual void PgSeltreeWidgetClicked();
37    virtual void currentStackItem();
38
39 public slots:
40    void tableItemChanged(QTableWidgetItem *, QTableWidgetItem *);
41
42 private slots:
43    void populateTable();
44    void consoleShowFileSet();
45    void showJobs();
46
47 private:
48    void writeSettings();
49    void readSettings();
50    void createContextMenu();
51    QString m_currentlyselected;
52    bool m_populated;
53    bool m_checkcurwidget;
54 };
55
56 #endif /* _FILESET_H_ */