| 68 | using namespace Konsole; |
| 69 | |
| 70 | ProcessInfo::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 | |
| 91 | ProcessInfo::Error ProcessInfo::error() const |
| 92 | { |