]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/run/run.h
kes Reduce bconsole help to fit in 80 columns
[bacula/bacula] / bacula / src / qt-console / run / run.h
1
2 #ifndef _RUN_H_
3 #define _RUN_H_
4
5 #include <QtGui>
6 #include "ui_run.h"
7 #include "ui_runcmd.h"
8 #include "ui_estimate.h"
9 #include "ui_prune.h"
10 #include "console.h"
11
12 class runPage : public Pages, public Ui::runForm
13 {
14    Q_OBJECT 
15
16 public:
17    runPage(const QString &defJob);
18
19 public slots:
20    void okButtonPushed();
21    void cancelButtonPushed();
22    void job_name_change(int index);
23
24 private:
25    int m_conn;
26 };
27
28 class runCmdPage : public Pages, public Ui::runCmdForm
29 {
30    Q_OBJECT 
31
32 public:
33    runCmdPage(int conn);
34
35 public slots:
36    void okButtonPushed();
37    void cancelButtonPushed();
38
39 private:
40    void fill();
41    int m_conn;
42 };
43
44 class estimatePage : public Pages, public Ui::estimateForm
45 {
46    Q_OBJECT 
47
48 public:
49    estimatePage();
50
51 public slots:
52    void okButtonPushed();
53    void cancelButtonPushed();
54    void job_name_change(int index);
55
56 private:
57    int m_conn;
58    bool m_aButtonPushed;
59 };
60
61 class prunePage : public Pages, public Ui::pruneForm
62 {
63    Q_OBJECT 
64
65 public:
66    prunePage(const QString &volume, const QString &client);
67
68 public slots:
69    void okButtonPushed();
70    void cancelButtonPushed();
71    void volumeChanged();
72    void clientChanged();
73
74 private:
75    int m_conn;
76 };
77
78 #endif /* _RUN_H_ */