4 Bacula(R) - The Network Backup Solution
6 Copyright (C) 2000-2016 Kern Sibbald
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.
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.
16 This notice must be preserved when any source code is
17 conveyed and/or propagated.
19 Bacula(R) is a registered trademark of Kern Sibbald.
22 * Dirk Bartley, March 2007
25 #if QT_VERSION >= 0x050000
30 #include "ui_storage.h"
34 class Storage : public Pages, public Ui::StorageForm
41 virtual void PgSeltreeWidgetClicked();
42 virtual void currentStackItem();
45 void treeItemChanged(QTreeWidgetItem *, QTreeWidgetItem *);
49 void consoleStatusStorage();
50 void consoleLabelStorage();
51 void consoleMountStorage();
52 void consoleUnMountStorage();
53 void consoleUpdateSlots();
54 void consoleUpdateSlotsScan();
55 void consoleRelease();
56 void statusStorageWindow();
60 void createContextMenu();
61 void mediaList(QTreeWidgetItem *parent, const QString &storageID);
62 void settingsOpenStatus(QString& storage);
63 QString m_currentStorage;
64 bool m_currentAutoChanger;
66 bool m_firstpopulation;
67 bool m_checkcurwidget;
68 void writeExpandedSettings();
69 QTreeWidgetItem *m_topItem;
72 void table_get_selection(QTableWidget *table, QString &sel);
74 #endif /* _STORAGE_H_ */