]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/run/run.h
kes Extend new GUI API.
[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 "console.h"
8
9 class runDialog : public QDialog, public Ui::runForm
10 {
11    Q_OBJECT 
12
13 public:
14    runDialog(Console *console);
15
16 public slots:
17    void accept();
18    void reject();
19    void job_name_change(int index);
20
21 private:
22    Console *m_console;
23
24 };
25
26 class runCmdDialog : public QDialog, public Ui::runForm
27 {
28    Q_OBJECT 
29
30 public:
31    runCmdDialog(Console *console);
32
33 public slots:
34    void accept();
35    void reject();
36
37 private:
38    Console *m_console;
39
40 };
41
42
43 #endif /* _RUN_H_ */