]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/storage/content.h
Backport from BEE
[bacula/bacula] / bacula / src / qt-console / storage / content.h
1 #ifndef _CONTENT_H_
2 #define _CONTENT_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 #include <QtGui>
20 #include "ui_content.h"
21 #include "console.h"
22 #include "pages.h"
23
24 class Content : public Pages, public Ui::ContentForm
25 {
26    Q_OBJECT
27
28 public:
29    Content(QString storage, QTreeWidgetItem *parentWidget);
30 //   virtual void PgSeltreeWidgetClicked();
31    virtual void currentStackItem();
32
33 public slots:
34    void treeItemChanged(QTreeWidgetItem *, QTreeWidgetItem *);
35
36    void consoleRelease();
37    void consoleUpdateSlots();
38    void consoleLabelStorage();
39    void consoleMountStorage();
40    void statusStorageWindow();
41    void consoleUnMountStorage();
42    void showMediaInfo(QTableWidgetItem * item);
43
44 private slots:
45    void populateContent();
46
47 private:
48    bool m_currentAutoChanger;
49    bool m_populated;
50    bool m_firstpopulation;
51    bool m_checkcurwidget;
52    QString m_currentStorage;
53 };
54
55 #endif /* _STORAGE_H_ */