]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/qt-console/joblist/joblist.h
This change of the regular expressions should fix any restoretree issues
[bacula/bacula] / bacula / src / qt-console / joblist / joblist.h
index 2f68096b85edf9a40fc2f722bd9ea46b90ae5220..f16fbd9e02bfa206f7dd613f9a38b41f3e6c78e8 100644 (file)
@@ -3,14 +3,14 @@
 /*
    Bacula® - The Network Backup Solution
 
-   Copyright (C) 2000-2007 Free Software Foundation Europe e.V.
+   Copyright (C) 2007-2007 Free Software Foundation Europe e.V.
 
    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.
+   License as published by the Free Software Foundation and included
+   in the file LICENSE.
 
    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -28,7 +28,7 @@
    Switzerland, email:ftf@fsfeurope.org.
 */
 /*
- *   Version $Id: joblist.h 4230 2007-02-21 20:07:37Z kerns $
+ *   Version $Id$
  *
  *   Dirk Bartley, March 2007
  */
@@ -43,7 +43,9 @@ class JobList : public Pages, public Ui::JobListForm
    Q_OBJECT 
 
 public:
-   JobList(QString &medianame, QString &clientname, QTreeWidgetItem *);
+   JobList(const QString &medianame, const QString &clientname, 
+           const QString &jobname, const QString &filesetname, QTreeWidgetItem *);
+   ~JobList();
    virtual void PgSeltreeWidgetClicked();
    virtual void currentStackItem();
    int m_resultCount;
@@ -54,27 +56,40 @@ public slots:
    void tableItemChanged(QTableWidgetItem *, QTableWidgetItem *);
 
 private slots:
-   void consoleLongListJob();
    void consoleListJobid();
    void consoleListFilesOnJob();
    void consoleListJobMedia();
    void consoleListVolumes();
+   void consoleListJobTotals();
    void consoleDeleteJob();
    void consolePurgeFiles();
    void preRestoreFromJob();
    void preRestoreFromTime();
    void showLogForJob();
+   void consoleCancelJob();
+   void graphTable();
 
 private:
    void createConnections();
    void setStatusColor(QTableWidgetItem *item, QString &field);
+   void writeSettings();
+   void readSettings();
+   QSplitter *m_splitter;
+   QString m_groupText;
+   QString m_splitText;
    QString m_mediaName;
    QString m_clientName;
+   QString m_jobName;
+   QString m_filesetName;
    QString m_currentJob;
    bool m_populated;
    bool m_checkCurrentWidget;
    int m_purgedIndex;
    int m_typeIndex;
+   int m_statusIndex;
+   int m_startIndex;
+   int m_bytesIndex;
+   int m_filesIndex;
 };
 
 #endif /* _JOBLIST_H_ */