MCPcopy Create free account
hub / github.com/KDE/konsole / ProcessInfo

Method ProcessInfo

src/ProcessInfo.cpp:70–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68using namespace Konsole;
69
70ProcessInfo::ProcessInfo(int pid)
71 : _fields(ARGUMENTS) // arguments
72 // are currently always valid,
73 // they just return an empty
74 // vector / map respectively
75 // if no arguments
76 // have been explicitly set
77 , _pid(pid)
78 , _parentPid(0)
79 , _foregroundPid(0)
80 , _userId(0)
81 , _lastError(NoError)
82 , _name(QString())
83 , _userName(QString())
84 , _userHomeDir(QString())
85 , _currentDir(QString())
86 , _userNameRequired(true)
87 , _arguments(QVector<QString>())
88{
89}
90
91ProcessInfo::Error ProcessInfo::error() const
92{

Callers

nothing calls this directly

Calls 1

QStringClass · 0.50

Tested by

no test coverage detected