ProcessHandle Class | Extending Qt Creator Manual

Extending Qt Creator Manual | ProcessHandle

Extending Qt Creator Manual 4.6.0

# ProcessHandle Class

(Utils::ProcessHandle)

The ProcessHandle class is a helper class to describe a process. More...

Header: | #include <ProcessHandle>

- List of all members, including inherited members

## Public Functions

| ProcessHandle()
| ProcessHandle(qint64 pid)
bool | activate()
bool | equals(const ProcessHandle &) const
bool | isValid() const
qint64 | pid() const
void | setPid(qint64 pid)

## Detailed Description

The ProcessHandle class is a helper class to describe a process.

Encapsulates parameters of a running process, local (PID) or remote (to be done, address, port, and so on).

## Member Function Documentation

### ProcessHandle::ProcessHandle()

Default constructs an instance of ProcessHandle.

### ProcessHandle::ProcessHandle(qint64 pid)

Default constructs an instance of ProcessHandle.

### bool ProcessHandle::activate()

### bool ProcessHandle::equals(const ProcessHandle &) const

### bool ProcessHandle::isValid() const

### qint64 ProcessHandle::pid() const

See also setPid().

### void ProcessHandle::setPid(qint64 pid)

See also pid().