]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/select/textinput.h
Backport from BEE
[bacula/bacula] / bacula / src / qt-console / select / textinput.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 _TEXTENTRY_H_
18 #define _TEXTENTRY_H_
19
20 #include <QtGui>
21 #include "ui_textinput.h"
22 #include "console.h"
23
24 class textInputDialog : public QDialog, public Ui::textInputForm
25 {
26    Q_OBJECT
27
28 public:
29    textInputDialog(Console *console, int conn);
30
31 public slots:
32    void accept();
33    void reject();
34
35 private:
36    Console *m_console;
37    int m_conn;
38 };
39
40 #endif /* _TEXTENTRY_H_ */