]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/mediainfo/mediainfo.h
af5d5b8124d36390a943bb1b1ff7f1caa543d53a
[bacula/bacula] / bacula / src / qt-console / mediainfo / mediainfo.h
1 #ifndef _MEDIAINFO_H_
2 #define _MEDIAINFO_H_
3 /*
4    Bacula(R) - The Network Backup Solution
5
6    Copyright (C) 2000-2016 Kern Sibbald
7
8    The original author of Bacula is Kern Sibbald, with contributions
9    from many 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    This notice must be preserved when any source code is 
17    conveyed and/or propagated.
18
19    Bacula(R) is a registered trademark of Kern Sibbald.
20 */
21 /*
22  *
23  */
24
25 #include <QtGui>
26 #include "ui_mediainfo.h"
27 #include "console.h"
28 #include "pages.h"
29
30 class MediaInfo : public Pages, public Ui::mediaInfoForm
31 {
32    Q_OBJECT 
33
34 public:
35    MediaInfo(QTreeWidgetItem *parentWidget, QString &mediaId);
36
37 private slots:
38    void pruneVol();
39    void purgeVol();
40    void deleteVol();
41    void editVol();
42    void showInfoForJob(QTableWidgetItem * item);
43
44 private:
45    void populateForm();
46    QString m_mediaName;
47    QString m_mediaId;
48 };
49
50 #endif /* _MEDIAINFO_H_ */