The inheritance goes Pty -> KPtyProcess -> KProcess -> QProcess, so using processId() can be done without the deprecation wrappers.
mentioned in issue mc/saveKDE#2