]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/select/textinput.h
83fb93e05f9d907e638c192869ca0fc92fbd95b5
[bacula/bacula] / bacula / src / qt-console / select / textinput.h
1 /*
2    Bacula(R) - The Network Backup Solution
3
4    Copyright (C) 2000-2015 Kern Sibbald
5    Copyright (C) 2007-2014 Free Software Foundation Europe e.V.
6
7    The original author of Bacula is Kern Sibbald, with contributions
8    from many others, a complete list can be found in the file AUTHORS.
9
10    You may use this file and others of this release according to the
11    license defined in the LICENSE file, which includes the Affero General
12    Public License, v3.0 ("AGPLv3") and some additional permissions and
13    terms pursuant to its AGPLv3 Section 7.
14
15    This notice must be preserved when any source code is 
16    conveyed and/or propagated.
17
18    Bacula(R) is a registered trademark of Kern Sibbald.
19 */
20
21 #ifndef _TEXTENTRY_H_
22 #define _TEXTENTRY_H_
23
24 #include <QtGui>
25 #include "ui_textinput.h"
26 #include "console.h"
27
28 class textInputDialog : public QDialog, public Ui::textInputForm
29 {
30    Q_OBJECT 
31
32 public:
33    textInputDialog(Console *console, int conn);
34
35 public slots:
36    void accept();
37    void reject();
38
39 private:
40    Console *m_console;
41    int m_conn;
42 };
43
44 #endif /* _TEXTENTRY_H_ */