initial commit
This commit is contained in:
commit
9d20827c46
2469 changed files with 470994 additions and 0 deletions
48
third-party/qca/qca-gnupg/gpgproc/sprocess.h
vendored
Normal file
48
third-party/qca/qca-gnupg/gpgproc/sprocess.h
vendored
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* Copyright (C) 2003-2005 Justin Karneges <justin@affinix.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef SPROCESS_H
|
||||
#define SPROCESS_H
|
||||
|
||||
#include <QProcess>
|
||||
#include <QTimer>
|
||||
|
||||
namespace gpgQCAPlugin {
|
||||
|
||||
class SProcess : public QProcess
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
SProcess(QObject *parent = 0);
|
||||
~SProcess();
|
||||
|
||||
#ifdef Q_OS_UNIX
|
||||
void setInheritPipeList(const QList<int> &);
|
||||
|
||||
protected:
|
||||
virtual void setupChildProcess();
|
||||
|
||||
private:
|
||||
QList<int> pipeList;
|
||||
#endif
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in a new issue