Konsole
Konsole::UnixProcessInfo Class Referenceabstract
#include <ProcessInfo.h>
Inheritance diagram for Konsole::UnixProcessInfo:
Public Member Functions | |
UnixProcessInfo (int pid, bool readEnvironment=false) | |
Public Member Functions inherited from Konsole::ProcessInfo | |
virtual | ~ProcessInfo () |
QVector< QString > | arguments (bool *ok) const |
QString | currentDir (bool *ok) const |
QMap< QString, QString > | environment (bool *ok) const |
Error | error () const |
int | foregroundPid (bool *ok) const |
QString | format (const QString &text) const |
bool | isValid () const |
QString | name (bool *ok) const |
int | parentPid (bool *ok) const |
int | pid (bool *ok) const |
void | setUserHomeDir () |
void | update () |
QString | userHomeDir () const |
int | userId (bool *ok) const |
QString | userName () const |
QString | validCurrentDir () const |
Protected Member Functions | |
virtual bool | readProcessInfo (int pid, bool readEnvironment) |
virtual void | readUserName (void) |
Protected Member Functions inherited from Konsole::ProcessInfo | |
ProcessInfo (int pid, bool readEnvironment=false) | |
void | addArgument (const QString &argument) |
void | addEnvironmentBinding (const QString &name, const QString &value) |
void | clearArguments () |
void | setCurrentDir (const QString &dir) |
void | setError (Error error) |
void | setFileError (QFile::FileError error) |
void | setForegroundPid (int pid) |
void | setName (const QString &name) |
void | setParentPid (int pid) |
void | setPid (int pid) |
void | setUserId (int uid) |
void | setUserName (const QString &name) |
Additional Inherited Members | |
Public Types inherited from Konsole::ProcessInfo | |
enum | Error { NoError, UnknownError, PermissionsError } |
Static Public Member Functions inherited from Konsole::ProcessInfo | |
static QString | localHost () |
static ProcessInfo * | newInstance (int pid, bool readEnvironment=false) |
Detailed Description
Implementation of ProcessInfo for Unix platforms which uses the /proc filesystem.
Definition at line 354 of file ProcessInfo.h.
Constructor & Destructor Documentation
|
explicit |
Constructs a new instance of UnixProcessInfo.
See ProcessInfo::newInstance()
Definition at line 367 of file ProcessInfo.cpp.
Member Function Documentation
|
protectedvirtual |
Implementation of ProcessInfo::readProcessInfo(); calls the four private methods below in turn.
Implements Konsole::ProcessInfo.
Definition at line 372 of file ProcessInfo.cpp.
|
protectedvirtual |
Implements Konsole::ProcessInfo.
Definition at line 389 of file ProcessInfo.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.