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

KDECore

  • sources
  • kde-4.14
  • kdelibs
  • 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 
27 class KProcessPrivate {
28  Q_DECLARE_PUBLIC(KProcess)
29 protected:
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
QIODevice::OpenMode
typedef OpenMode
QIODevice
KProcess
Child process invocation, monitoring and control.
Definition: kprocess.h:44
QByteArray
KProcessPrivate::openMode
QIODevice::OpenMode openMode
Definition: kprocess_p.h:42
KProcessPrivate::prog
QString prog
Definition: kprocess_p.h:39
KProcessPrivate
Definition: kprocess_p.h:27
kprocess.h
QString
KProcessPrivate::writeAll
void writeAll(const QByteArray &buf, int fd)
Definition: kprocess.cpp:48
KProcessPrivate::forwardStd
void forwardStd(KProcess::ProcessChannel good, int fd)
Definition: kprocess.cpp:74
KProcessPrivate::KProcessPrivate
KProcessPrivate()
Definition: kprocess_p.h:30
QStringList
KProcessPrivate::outputChannelMode
KProcess::OutputChannelMode outputChannelMode
Definition: kprocess_p.h:41
KProcessPrivate::args
QStringList args
Definition: kprocess_p.h:40
KProcessPrivate::_k_forwardStderr
void _k_forwardStderr()
Definition: kprocess.cpp:93
KProcessPrivate::q_ptr
KProcess * q_ptr
Definition: kprocess_p.h:44
KProcessPrivate::_k_forwardStdout
void _k_forwardStdout()
Definition: kprocess.cpp:84
KProcess::OutputChannelMode
OutputChannelMode
Modes in which the output channels can be opened.
Definition: kprocess.h:54
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 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 API Reference

Skip menu "kdelibs 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

Search



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