]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/select/select.h
Backport from BEE
[bacula/bacula] / bacula / src / qt-console / select / select.h
1 /*
2    Bacula® - The Network Backup Solution
3
4    Copyright (C) 2000-2014 Free Software Foundation Europe e.V.
5
6    The main author of Bacula is Kern Sibbald, with contributions from many
7    others, a complete list can be found in the file AUTHORS.
8
9    You may use this file and others of this release according to the
10    license defined in the LICENSE file, which includes the Affero General
11    Public License, v3.0 ("AGPLv3") and some additional permissions and
12    terms pursuant to its AGPLv3 Section 7.
13
14    Bacula® is a registered trademark of Kern Sibbald.
15 */
16
17 #ifndef _SELECT_H_
18 #define _SELECT_H_
19
20 #include <QtGui>
21 #include "ui_select.h"
22 #include "console.h"
23
24 class selectDialog : public QDialog, public Ui::selectForm
25 {
26    Q_OBJECT
27
28 public:
29    selectDialog(Console *console, int conn);
30
31 public slots:
32    void accept();
33    void reject();
34    void index_change(int index);
35
36 private:
37    Console *m_console;
38    int m_index;
39    int m_conn;
40 };
41
42 class yesnoPopUp : public QDialog
43 {
44    Q_OBJECT
45
46 public:
47    yesnoPopUp(Console *console, int conn);
48
49 };
50
51
52 #endif /* _SELECT_H_ */