]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/qt-console/storage/storage.h
Change copyright as per agreement with FSFE
[bacula/bacula] / bacula / src / qt-console / storage / storage.h
index 49e6c6f124d51a8de45179c50e89c0f556d83105..a747f2aed4c0bc72e69b1a646bd82b256ebdda77 100644 (file)
@@ -1,35 +1,24 @@
 #ifndef _STORAGE_H_
 #define _STORAGE_H_
 /*
-   Bacula® - The Network Backup Solution
+   Bacula(R) - The Network Backup Solution
 
-   Copyright (C) 2000-2007 Free Software Foundation Europe e.V.
+   Copyright (C) 2000-2016 Kern Sibbald
 
-   The main author of Bacula is Kern Sibbald, with contributions from
-   many others, a complete list can be found in the file AUTHORS.
-   This program is Free Software; you can redistribute it and/or
-   modify it under the terms of version two of the GNU General Public
-   License as published by the Free Software Foundation plus additions
-   that are listed in the file LICENSE.
+   The original author of Bacula is Kern Sibbald, with contributions
+   from many others, a complete list can be found in the file AUTHORS.
 
-   This program is distributed in the hope that it will be useful, but
-   WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-   General Public License for more details.
+   You may use this file and others of this release according to the
+   license defined in the LICENSE file, which includes the Affero General
+   Public License, v3.0 ("AGPLv3") and some additional permissions and
+   terms pursuant to its AGPLv3 Section 7.
 
-   You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-   02110-1301, USA.
+   This notice must be preserved when any source code is 
+   conveyed and/or propagated.
 
-   Bacula® is a registered trademark of John Walker.
-   The licensor of Bacula is the Free Software Foundation Europe
-   (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
-   Switzerland, email:ftf@fsfeurope.org.
+   Bacula(R) is a registered trademark of Kern Sibbald.
 */
 /*
- *   Version $Id: clients.h 4230 2007-02-21 20:07:37Z kerns $
- *
  *   Dirk Bartley, March 2007
  */
 
@@ -47,21 +36,35 @@ public:
    ~Storage();
    virtual void PgSeltreeWidgetClicked();
    virtual void currentStackItem();
-   virtual void treeWidgetName(QString &);
 
 public slots:
    void treeItemChanged(QTreeWidgetItem *, QTreeWidgetItem *);
 
 private slots:
    void populateTree();
-//   void showJobs();
    void consoleStatusStorage();
+   void consoleLabelStorage();
+   void consoleMountStorage();
+   void consoleUnMountStorage();
+   void consoleUpdateSlots();
+   void consoleUpdateSlotsScan();
+   void consoleRelease();
+   void statusStorageWindow();
+   void contentWindow();
 
 private:
    void createContextMenu();
-   QString m_currentlyselected;
+   void mediaList(QTreeWidgetItem *parent, const QString &storageID);
+   void settingsOpenStatus(QString& storage);
+   QString m_currentStorage;
+   bool m_currentAutoChanger;
    bool m_populated;
+   bool m_firstpopulation;
    bool m_checkcurwidget;
+   void writeExpandedSettings();
+   QTreeWidgetItem *m_topItem;
 };
 
+void table_get_selection(QTableWidget *table, QString &sel);
+
 #endif /* _STORAGE_H_ */