File indexing completed on 2024-05-12 04:51:18
0001 /* 0002 This file is part of the KDE libraries 0003 0004 SPDX-FileCopyrightText: 2007 Oswald Buddenhagen <ossi@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.0-or-later 0007 */ 0008 0009 #ifndef KPROCESS_P_H 0010 #define KPROCESS_P_H 0011 0012 #include "k3bkprocess.h" 0013 0014 class K3bKProcessPrivate { 0015 Q_DECLARE_PUBLIC(K3bKProcess) 0016 protected: 0017 K3bKProcessPrivate() : 0018 openMode(QIODevice::ReadWrite) 0019 { 0020 } 0021 void writeAll(const QByteArray &buf, int fd); 0022 void forwardStd(::QProcess::ProcessChannel good, int fd); 0023 void _k_forwardStdout(); 0024 void _k_forwardStderr(); 0025 0026 QString prog; 0027 QStringList args; 0028 KProcess::OutputChannelMode outputChannelMode; 0029 QIODevice::OpenMode openMode; 0030 0031 K3bKProcess *q_ptr; 0032 }; 0033 0034 #endif