1
/**************************************************************************
2
* Copyright (C) 2005-2015 by Oleksandr Shneyder *
3
* o.shneyder@phoca-gmbh.de *
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. *
14
* You should have received a copy of the GNU General Public License *
15
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
16
***************************************************************************/
18
#ifndef PRINTPROCESS_H
19
#define PRINTPROCESS_H
26
@author Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>
28
class PrintProcess: public QObject
33
PrintProcess ( QString pdf, QString title,
34
QObject * parent=0l );
49
QString winX2goPrinter;
50
QString winDefaultPrinter;
55
void slot_processFinished ( int exitCode,
56
QProcess::ExitStatus exitStatus );
57
void slot_pdf2psError ( QProcess::ProcessError error ) ;
58
void slot_error ( QProcess::ProcessError error );