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_joblist.h"
34 class JobList : public Pages, public Ui::JobListForm
39 JobList(const QString &medianame, const QString &clientname,
40 const QString &jobname, const QString &filesetname, QTreeWidgetItem *);
42 virtual void PgSeltreeWidgetClicked();
43 virtual void currentStackItem();
48 virtual void treeWidgetName(QString &);
49 void selectionChanged();
52 void consoleListFilesOnJob();
53 void consoleListJobMedia();
54 void consoleListJobTotals();
55 void consoleDeleteJob();
56 void consoleRestartJob();
57 void consolePurgeFiles();
58 void preRestoreFromJob();
59 void preRestoreFromTime();
61 void showInfoForJob(QTableWidgetItem * item=NULL);
62 void consoleCancelJob();
64 void splitterMoved(int pos, int index);
67 void createConnections();
70 void prepareFilterWidgets();
71 void fillQueryString(QString &query);
72 QSplitter *m_splitter;
79 QString m_filesetName;
84 bool m_checkCurrentWidget;
96 int m_selectedJobsCount;
97 QString m_selectedJobs;
98 QStringList m_selectedJobsList;
101 #endif /* _JOBLIST_H_ */