• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KDECore

  • kdecore
  • io
kprocess_p.h
Go to the documentation of this file.
1/*
2 This file is part of the KDE libraries
3
4 Copyright (C) 2007 Oswald Buddenhagen <ossi@kde.org>
5
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public
8 License as published by the Free Software Foundation; either
9 version 2 of the License, or (at your option) any later version.
10
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Library General Public License for more details.
15
16 You should have received a copy of the GNU Library General Public License
17 along with this library; see the file COPYING.LIB. If not, write to
18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 Boston, MA 02110-1301, USA.
20*/
21
22#ifndef KPROCESS_P_H
23#define KPROCESS_P_H
24
25#include "kprocess.h"
26
27class KProcessPrivate {
28 Q_DECLARE_PUBLIC(KProcess)
29protected:
30 KProcessPrivate() :
31 openMode(QIODevice::ReadWrite)
32 {
33 }
34 void writeAll(const QByteArray &buf, int fd);
35 void forwardStd(KProcess::ProcessChannel good, int fd);
36 void _k_forwardStdout();
37 void _k_forwardStderr();
38
39 QString prog;
40 QStringList args;
41 KProcess::OutputChannelMode outputChannelMode;
42 QIODevice::OpenMode openMode;
43
44 KProcess *q_ptr;
45};
46
47
48#endif
KProcessPrivate
Definition: kprocess_p.h:27
KProcessPrivate::KProcessPrivate
KProcessPrivate()
Definition: kprocess_p.h:30
KProcessPrivate::q_ptr
KProcess * q_ptr
Definition: kprocess_p.h:44
KProcessPrivate::args
QStringList args
Definition: kprocess_p.h:40
KProcessPrivate::openMode
QIODevice::OpenMode openMode
Definition: kprocess_p.h:42
KProcessPrivate::forwardStd
void forwardStd(KProcess::ProcessChannel good, int fd)
Definition: kprocess.cpp:74
KProcessPrivate::_k_forwardStdout
void _k_forwardStdout()
Definition: kprocess.cpp:84
KProcessPrivate::_k_forwardStderr
void _k_forwardStderr()
Definition: kprocess.cpp:93
KProcessPrivate::outputChannelMode
KProcess::OutputChannelMode outputChannelMode
Definition: kprocess_p.h:41
KProcessPrivate::prog
QString prog
Definition: kprocess_p.h:39
KProcessPrivate::writeAll
void writeAll(const QByteArray &buf, int fd)
Definition: kprocess.cpp:48
KProcess
Child process invocation, monitoring and control.
Definition: kprocess.h:45
KProcess::OutputChannelMode
OutputChannelMode
Modes in which the output channels can be opened.
Definition: kprocess.h:54
QIODevice
QStringList
QString
kprocess.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

Skip menu "KDECore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal