1 /**************************************************************************
2 *   Copyright (C) 2005-2020 by Oleksandr Shneyder                         *
3 *                              <o.shneyder@phoca-gmbh.de>                 *
4 *                                                                         *
5 *   This program is free software; you can redistribute it and/or modify  *
6 *   it under the terms of the GNU General Public License as published by  *
7 *   the Free Software Foundation; either version 2 of the License, or     *
8 *   (at your option) any later version.                                   *
9 *   This program is distributed in the hope that it will be useful,       *
10 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
11 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
12 *   GNU General Public License for more details.                          *
13 *                                                                         *
14 *   You should have received a copy of the GNU General Public License     *
15 *   along with this program.  If not, see <https://www.gnu.org/licenses/>. *
16 ***************************************************************************/
17 
18 #ifndef PRINTERCMDDIALOG_H
19 #define PRINTERCMDDIALOG_H
20 
21 #include <QDialog>
22 #include "ui_printercmddialog.h"
23 /**
24 	@author Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>
25 */
26 class PrinterCmdDialog : public QDialog
27 {
28 		Q_OBJECT
29 	public:
30 		PrinterCmdDialog ( QString* cmd, bool* stdinpr,
31 		                   bool* ps, QWidget* parent=0l );
32 
33 		~PrinterCmdDialog();
34 	private:
35 		Ui::PrinterCmdDialog ui;
36 		bool* printStdIn;
37 		bool* printPs;
38 		QString* printCmd;
39 
40 	private slots:
41 		void slot_ok();
42 };
43 
44 #endif
45